Hi,

Is there a tutorial on how to use subproducts?

I've tried for hours and just can't get it to work.

Thanks

Comments

jantoine’s picture

Status: Active » Closed (duplicate)

Dolittle,

This is a duplicate issue. Please see http://drupal.org/node/202526

Thanks,

Jon

dolittle’s picture

Jon,

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

jantoine’s picture

Category: support » feature
Status: Closed (duplicate) » Active

Dolittle,

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

dolittle’s picture

I 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.