Jump to content

Combinations URL won't update when changing variation


Recommended Posts

Hi. Don't know why, but URL variations, doesn't change in product page when changing selected attributes.

No errors found in Chrome debugging. Which file is responsible for updating the URL when changing attributes variation?

Thank you.
Ps: the product is added to the cart correctly, with the chosen variants.

Link to comment
Share on other sites

Website is not online, but in maintenance mode. I'm cloning the entire website to another subdomain for testing purposes. I noticed no <label> tag around radio buttons . Could this be the lack, which does not take information to generate the url?

Link to comment
Share on other sites

Solved. In template product.tpl I changed:

 {block name='product_refresh'}
                                    <input class="product-refresh ps-hidden-by-js" name="refresh" type="submit" data-url-update="false"
                                           value="{l s='Refresh' d='Shop.Theme.Actions'}">
                                {/block}

to

 					{block name='product_refresh'}
                    	 <input class="product-refresh ps-hidden-by-js" name="refresh" type="submit" value="{l s='Refresh' d='Shop.Theme.Actions'}">
                    {/block}

There was a "data-url-update="false", dunno why. Does anyone know what that value is for?

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...