We have set up multiple sets of variantoptions in ecom with separate dropdowns for each set on the product page (one for size, one for colour etc.).
How can we make the product variant info update (reload with the right info) when one of the dropdown variants is selected.
Developer forum
E-mail notifications
Multiple set of e-com variants and updated info
Per Søgaard
Posted on 23/11/2011 09:19:17
Replies
Per Søgaard
Posted on 28/11/2011 09:31:43
Moved to Ecommerce because of lack of feedback
Imar Spaanjaars
Posted on 28/11/2011 09:52:00
Hi per,
I think you can just issue a new GET request for the same page with the selected variant options in the query string. This would reload the page and display the correct info of that variant. IIRC, you need to pass a query string parameter called VariantId with a dot separated path of options (e.g. VO2.VO7)
Hope this helps,
Imar
I think you can just issue a new GET request for the same page with the selected variant options in the query string. This would reload the page and display the correct info of that variant. IIRC, you need to pass a query string parameter called VariantId with a dot separated path of options (e.g. VO2.VO7)
Hope this helps,
Imar
Per Søgaard
Posted on 09/12/2011 15:21:10
Is this purely frontend template or?
Do i need a javascripts or?
Thought this was "out of the box and easy to use" dynamicweb functionality ;-)
Do i need a javascripts or?
Thought this was "out of the box and easy to use" dynamicweb functionality ;-)
Regin Madsen
Posted on 09/12/2011 15:37:06
Hi Per,
Youre welcome to give me a call (40947686) or send a mail (rjm@e-kompagniet.dk) Iwe done what youre looking for on a number of shops.
If you do not use Imars approach You need to use a bit of JS in order to make the dropdownboxes include the correct variants.
/Regin Jæger Madsen
Youre welcome to give me a call (40947686) or send a mail (rjm@e-kompagniet.dk) Iwe done what youre looking for on a number of shops.
If you do not use Imars approach You need to use a bit of JS in order to make the dropdownboxes include the correct variants.
/Regin Jæger Madsen
You must be logged in to post in the forum