Jump to content

Selecting attributes adds #value to url


Recommended Posts

I noticed it's default behaviour for presta, at least for 1.5, but it's quite problematic. When I pick a color on product page or select any attribute form the list, its value is added to page url as #/value. Now if I want to get back to previous page i.e. category, I have to click Back on browser as many times as many attributes I picked. How to fix that?

Link to comment
Share on other sites

The # is added in order to let the user copy and paste the URL, and have the same attribute selection.

 

I do not believe there is a way to disable this feature (without making any code changes).

 

I assume the code that adds the # and attributes is in product.js (findCombination() function).

Link to comment
Share on other sites

×
×
  • Create New...