Hello, thanks but not what I needed.
The Add to Cart HTML link does indeed add to cart, BUT it then takes you directly to the cart and doesn't allow you to stay on the current page. If you look at my code above, I have used the HTML link inside the code. The code was copied from another post as suggested by one of the HS support crew. The code works perfectly BUT the cart module doesn't refresh. I have tried modifying the code using various calls to update the cart, all they do is send the user straight to checkout.
The feature I am looking for is the same as a normal "add to cart" button action from the product listing, where the user clicks "add to cart" (in this instance it is an image rather than a button), and the product gets added to the cart with a quantity of 1, and the cart shows it has been added. It is only required for one product and there are no variables other than the set quantity of 1.
Is this possible?