I'm not very clear on what the difference between product.product and product.template is. Am I correct in saying that product.product is created from a product.template?
It seems to me that product.product is a 'child' (so to speak) of product.template. Do changes in product.template fields propogate to its children? Does any change to product.product propogate to product.template?
When you create a product from the menu, what you inmediatelly see is the product template.
If you go to the tab "variant", you will see all products variant related to that product (variants = product.product, yes product.product is a children of product.template).
By default when you create a product.template, a default variant with some of the template values is created.
John, you are right that product.product is a child of product.template. Changes in product.template fields does propagate to its children (all products that has the same template). Changes to product.product does not propagate to product.template.
You inherit product.template if you want the property you are adding to affect a group of product variants (product.product). You inherit the product.product if you want the property that you are adding to affect only one product variants (meaning each product variant can have different value).
Note that I did not put changing in the above paragraph because once a field is defined in product.template, it better stays there (and vv).
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 12/12/14, 8:08 PM|
|Seen: 1812 times|
|Last updated: 11/30/15, 2:18 AM|