Adding quantity increment button under the product picture in the listing

This topic has 6 replies, 2 voices, and was last updated 5 years, 6 months ago ago by Olga Barlow

  • Avatar: Ravi
    Ravi
    Participant
    June 9, 2020 at 18:37

    We are looking for adding quantity incrementer button to be added on each of the products that is listed in the webpage.we are not talking about the product page. But the landing page. How can we add that? if you go to this site, we would need quantity button below each product that is being displayed. In that way user can add the items to the cart from here rather than going into the product page specifically. Basically looking to add the quantity button above ‘Add to cart’ button.

    5 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    June 9, 2020 at 23:44

    Hello,

    We don’t have such option in our theme. You can try to implement this using WooCommerce snippet https://docs.woocommerce.com/document/overridelooptemplateandshowquantitiesnexttoaddtocart-buttons/

    Regards

    Avatar: Ravi
    Ravi
    Participant
    June 10, 2020 at 13:55

    getting the error when clicking the link provided “Oops! That page can’t be found.”

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    June 10, 2020 at 15:22
    Avatar: Ravi
    Ravi
    Participant
    June 12, 2020 at 03:48

    Thank you. This worked and we were able to add the quantity incrementer the products in the listing page. How ever, now when we click Add to cart, the page refreshes. Any idea how we can add the product to cart without refresh?

    It didnt refresh earlier(before adding the code)

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    June 12, 2020 at 11:52

    Hello,

    That code adds to cart without Ajax, that’s why it refreshes the page. If you want to add to cart with Ajax it requires additional customization because we don’t have ready to use solution at this moment. You can submit additional customization request here.

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘Adding quantity increment button under the product picture in the listing’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.