Home Forums WoodMart support forum Add to cart – call to action button using ajax

Add to cart – call to action button using ajax

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #124680

    metuza
    Participant

    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

    #124750

    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

    #124766

    metuza
    Participant

    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

    #124800

    Artem Temos
    Keymaster

    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

Viewing 4 posts - 1 through 4 (of 4 total)