Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Correct me if I'm wrong, but I believe you meant "When I'm creating a new content type". With this assumption, I believe step 3 below should help you fix the problem.
1. Create new content type "New Product"
2. Under the "Product" section in settings, set "Node is always a product" to "Always" and check all "Product Types".
3. Under Administer -> Content Management -> Categories edit each of the auto created Subproducts vocabularies and click submit. This will add the "New Product" content type to the vocabularies.
4. Now when creating a new node of content type "New Product", you will have the "Subproducts attributes" tab.
I hope this addresses the issue you are seeing. I'll change this into a feature request. Perhaps we can get the e-commerce team to auto update these vocabularies when new content types are created that utilize the Product API.
Comments
Comment #1
jantoine commentedDolittle,
This is a duplicate issue. Please see http://drupal.org/node/202526
Thanks,
Jon
Comment #2
dolittle commentedJon,
I've followed the explanation on http://drupal.org/node/202526
It works when I edit the existing "product" content type and add the attribute and subproduct.
When I'm creating a new product type with the same settings and trying to create an attribute
I don't get the "Subproducts: Product Variation" option.
Thanks
Comment #3
jantoine commentedDolittle,
Correct me if I'm wrong, but I believe you meant "When I'm creating a new content type". With this assumption, I believe step 3 below should help you fix the problem.
1. Create new content type "New Product"
2. Under the "Product" section in settings, set "Node is always a product" to "Always" and check all "Product Types".
3. Under Administer -> Content Management -> Categories edit each of the auto created Subproducts vocabularies and click submit. This will add the "New Product" content type to the vocabularies.
4. Now when creating a new node of content type "New Product", you will have the "Subproducts attributes" tab.
I hope this addresses the issue you are seeing. I'll change this into a feature request. Perhaps we can get the e-commerce team to auto update these vocabularies when new content types are created that utilize the Product API.
Cheers,
Antoine
Comment #4
dolittle commentedI think you are right.
Automating the categories when new attribute content type is created will be very helpful.
I still don't understand what "Subproducts: Attribute Tags" and "Subproducts: Attribute Forbidden Tags" means.
Thank you.