• Hi there

    I’m using Divi 2.0 (elegant theme) and it’s not supporting wocommerce’s AJAX add to cart buttons on product archive pages…

    Here Works with default theme: https://xeuq.com/shop/

    Here doesn’t work with Divi 2.0: https://imperator56.ru/menu1/

    I was going to open a support ticket at Elegant themes support center but then found an existing thread where developers say that this is not supported in Divi theme but they will consider this “feature” in the future updates (doh, as always)

    Anyone having the same issue with Elegant Themes?

    Any solutions to that?

    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter irmscher9

    (@irmscher9)

    Ok, found a solution,

    Just place that piece of code to your functions.php:

    add_action( ‘woocommerce_after_shop_loop_item_title’, ‘woocommerce_template_loop_add_to_cart’ );

    Thanks! ??

    Yes, but did you find a solution for adding it to number of items ?
    It’s still 0 and you need to go to cart page to see the real number of products… ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Elegant Theme (divi 2.0) not supporting wocommerce AJAX add to cart buttons’ is closed to new replies.