I would like the product link to change depending on the color variant I choose
-
I would like the product link to change depending on the color variant I choose on the product. I know that you can create linked variations, but then it takes the customer to a separate product. I would like it not to take the customer to a separate product, but only to change the link (without refreshing the page), e.g. add: “?attribute_pa_colour-ramy=ram-gold” or something like that.
How do I do this?
Hello,
By default, WooCommerce does not update the product URL when selecting variations. It handles variations dynamically without changing the link.
What you’re asking (changing the URL without page reload) is not a built-in feature in WoodMart or WooCommerce. It requires customizations, and this is beyond our limitations and support policy.
Best Regards,