0

I have a custom product type that I created in my local dev environment and I'm trying to export it into a feature.

However, I can't seem to find where the product type is stored in the Features module UI. I found the permissions (Product: View Own Custom Products) and the field instances (commerce_product-custom-commerce_license_role) but I don't see the product type itself.

Instead, when I enable the feature on production, I get the following error message:

Warning in features rebuild of custom_module. No module defines permission "view any commerce_product entity of bundle custom_product_type_machinename".

When I export to production, the product type is not created. Where are the Commerce product types in the Features UI?

1 Answer 1

2

As it turns out, product type export is not supported in the core Commerce module. Instead, you need to install the Commerce Features module.

1
  • Hah, beat me to it yourself. ; ) Oct 14, 2014 at 2:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.