Developer forum
E-mail notifications
Different variants under the same product
Replies
Hi Kim
A product can have as many variants as you like. Of course, if the same product has blue, red and black when in one group and purple, pink and yellow when in another group, that is a weird scenario, and you should consider having 2 different products. But you can do it by using some logic in your template.
You can get a full introduction to variants in chapter 5 here:
http://developer.dynamicweb.com/documentation/books/dynamicweb-ecommerce-8.aspx
BR Nicolai
HI Nicolai,
I already read the chapter but thanks anyway. A more logic senario would be 2 shops (dk,de) with different variants on the same product or a customer senario where one customer see differents variants than the other depending on the customer sortiment maybe in the ERP.
To do that I don't like the template solution, I think I need to do it on provider level, but "ProductListCollectionProvider" don't seems to handle it. Do you see a way to do it on a provider level?
Hi Kim
You cannot use a product list collection provider. You can make a product template extender and render your own variant loops on that limiting to whatever makes sense in your scenario.
In 8.5 you can use assortments to limit products and variants to different sets of users.
Nicolai
Hi Nicolai,
I am excited to see and try the new assortments feature, If it is possible to make a "Data Integration", I think it can help me on this solution.
You must be logged in to post in the forum