m8r-lhgra4 Posted August 17, 2014 Share Posted August 17, 2014 how to disable url change (addition of #attribute-value-name) when selecting product attribute version 1.6.0.9 I've followed some of the previous posts' solution and comment out the following from product.js for (i in attributesCombinations) for (a in tab_attributes) if (attributesCombinations[i]['id_attribute'] == tab_attributes[a]) request += '/'+attributesCombinations[i]['group']+'-'+attributesCombinations[i]['attribute']; request = request.replace(request.substring(0, 1), '#/'); but i'm unable to change attribute value after this. the value always jump back to the default value. Link to comment Share on other sites More sharing options...
goodluck11 Posted November 3, 2015 Share Posted November 3, 2015 Hi friend read this topic: https://www.prestashop.com/forums/topic/421965-url-superamigables-acortar-urls/ Link to comment Share on other sites More sharing options...
zeisei Posted February 18, 2016 Share Posted February 18, 2016 Did someone solved the addition of '#/' in the end of product url for PS1.6. With Url Canonical redirect, if the customer selects an attribute other than thte default, it then redirects and reloads the product page and customer cannot select an atttribute other than the default one!!!! Link to comment Share on other sites More sharing options...
goodluck11 Posted February 22, 2016 Share Posted February 22, 2016 Did someone solved the addition of '#/' in the end of product url for PS1.6. With Url Canonical redirect, if the customer selects an attribute other than thte default, it then redirects and reloads the product page and customer cannot select an atttribute other than the default one!!!! did you've solved the problem? It happened to me the same but the code of the other topic resolve my problem Link to comment Share on other sites More sharing options...
daniel69 Posted February 11, 2017 Share Posted February 11, 2017 Goodluck11, please help me about it, because I apprentice, what code and what file I need to change, please can you give more details. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now