Hi there. URL in private content…
You’ll see I have created ‘add to cart’ links using ?add-to-cart=
Clicking these links works fine BUT, it also forces a reload of the page and moves to the top in the browser window. Also if you click a button within the second or third accordion section, the accordion is subsequently reset, which is potentially annoying for the user.
It would be much better if the link worked in the same way as the ADD TO CART buttons in the ‘Featured products’ on the home page. There is a progress bar and a tick, and seemingly no reload of the page.
How would i achieve this?
Thanks in advance.