Jump to content

Anchor points colliding with product´s attributes


simberak

Recommended Posts

Hello,

on my site I have a button, which after a clicking gets you quickly to a top of the page through the anchor point. The problem is, when you are on product page and click on it, you will get to the top of the page, and it add "#" to the url of the product. And because the presta uses # for specifiing attributes of products in url, than on that product dissaepers the add to cart button and error message is shown: This combination does not exist for this product. Please select another combination.

Do you have any idea how to have the anchor for this jumping to the top of a site and also not ruin the url which then colides with product attributes and combinations?

I now it exist a "name" instead of "id", but it is not supported in HTML5, they say it is obsolete :)

Thanks,

Daniel

 

Link to comment
Share on other sites

  • 1 month later...

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