URL not changing when selecting a product varient

When selecting different product variants for my out-of-stock product the URL does not change. In order to trigger the back in stock automation on Omnisend for out of stock products, the variant URL’s must change. I’m wondering if there is a way to make it so that the URL changes when clicking on different out of stock variants. I’m on the Brooklyn theme.

Hello @AymanIhiri ,

I understand what you need but this option isn’t available in any of the themes.
If the app you are using needs a page reload on change of variant when variant is out of stock they have configured it.

btw still if you need an idea to do it:
Check the existing JS code of variant change.
Reach the point where it returns the value and reload the page when the product is out of stock.

Thanks