Jump to content

Link to anchor in product page let add to cart button dissapear


Recommended Posts

Hi,

 

When I use a anchor link in from my sort description on the product page to the long description below the add to card button is no longer available. Instead of the button I get a message that the product is no longer available in this version. 

 

I found a article that this was a sort of a bug an that it was fixed 

http://forge.prestashop.com/browse/PSCSX-6235

 

Question; how can I install this fix, do I have to update something?

 

Thanks,

 

Peter

www.arcticheat.nl

Link to comment
Share on other sites

To your first post

The safest approach is to update your store to the latest version, as this bug is fixed in the 1.6.1 branch and not knowing your shop version and the code in the link you gave might be different than yours. 

 

If you want to just apply the fix, make the changes as seen on: https://github.com/PrestaShop/PrestaShop/pull/3458/files

The red line needs to be replaced with the green ones. 

Link to comment
Share on other sites

  • 4 months later...

Hi,

 

I'm currently facing the same problem as @pickingpete. I set up some anchors in my product page, nothing fancy, but when I click on it I can't add product to the cart anymore.

I'm using Prestashop 1.6.1.3 and product.js file is up to date with the fix mentionned above.

Seems like something with checkUrl() is going wrong.

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...