help with dkey saved variations in modal product details
-
I’m seeing a problem with dkeys in saved variations when using the modal product details code snippet. For an example, see any of the items on https://singermanpost.com/product-cat/dangle-earrings/page/4/
In each case, there’s a saved variation for “ear wires” that appears correctly if you strip the “modal=true” parameter from the URL. However, in the modal, it only appears if you change the first option from earrings to necklace and back to earrings.
At first glance it looks like the solution is too hook the
onComplete
colorBox callback to something like this:$("form.foxyshop_product").each(function() { updateVariations($(this)); });
and I’ve tried to do that on the page linked above, but I’m not having any luck (I get
updateVariations is not defined
errors in the console).Any chance of a pointer in the right direction?
- The topic ‘help with dkey saved variations in modal product details’ is closed to new replies.