Modified product API to work with custom product variants