Add to cart – call to action button using ajax
-
Hello,
I see from your demos that you have many banners around which has add to cart buttons and i am wondering if there is a possibility to add a class etc. to the button so it works as other add to cart buttons using ajax?
Or do we just need to use the traditional add to cart URL?
Brgds
Rune
Hello,
Please provide the page URL where you see these banners. Banners do not have Add to cart buttons. Only products have. Seems you mean different product grid design.
Best Regards
Hello,
Have a look at the big green carousel on your default demo, from what i can see it is an Woodmart Slide and it has a add to cart button (not working in the demo) but my question was if it is possible to make em work.
As with my old theme i just had to add a css and product ID to the button and ajax was working to add item to cart.
Rune
Hello,
Yes, you can do it in the same way with our theme too. Actually, just copy the HTML code of the button from the shop page products grid and use it in any place.
Kind Regards