Home Forums WoodMart support forum ADD to Cart Action and Load More Button Issue

ADD to Cart Action and Load More Button Issue

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #192936

    Katsuki23
    Participant

    Theme Version 4.6.0
    WooCommerce 4.1.0
    WordPress 5.4.1
    Caching and all minify settings are disabled.

    Issue 1: On the Shop Page, if I enable “LOAD MORE PRODUCT” and click on it, no new products are loaded and get an AJAX ERROR on console with no details

    Issue 2: On Shop Page, ADD TO CART doesn’t open the CART WIDGET, it only shows me a notification below about item added to cart

    Issue 3: On Product Page, ADD TO CART doesn’t work, I only see the processing animation, on Console I get an error.

    Uncaught ReferenceError: wc_add_to_cart_params is not defined
    at Object.success (functions.js?ver=4.6.0:4196)
    at i (jquery.js?ver=1.12.4-wp:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
    at x (jquery.js?ver=1.12.4-wp:4)
    at XMLHttpRequest.c (jquery.js?ver=1.12.4-wp:4)

    Issue 4: On FrontPage, using Product Grid, ADD TO CART button adds item to cart but no notification is shown, it just refreshes the page

    Issue 5: Delete item on cart using side widget doesn’t work. I have to delete the item on CHECKOUT CART to remove them properly.

    Question: Is it possible to add a FILTER to show ON SALE Products and another filter to show IN STOCK products?

    #192970

    Artem Temos
    Keymaster

    Hello,

    It seems that you disabled AJAX add to cart option for WooCommerce and enabled shopping cart redirect after adding to cart. Fix both options in WooCommerce settings.
    As for the shopping cart widget, you need to enable it for your shopping cart element in your header. Find it in Dashboard -> WoodMart -> Header builder.

    Kind Regards

    #192993

    Katsuki23
    Participant

    As I mentioned on my post, I have those settings enabled because yours weren’t working. Please go ahead and change anything to make it work properly. It worked fine before I update the theme and woocommerce to the latest version.

    #193023

    Artem Temos
    Keymaster

    Please, deactivate all external plugins and turn off these options so we can see the problems you described in your first post.

    Thank you in advance.

    #193121

    Katsuki23
    Participant

    It seems issue 2,3,4 and 5 has been fixed after I reuploaded the theme. The only issue now is #1. Also my question about the shop filter.

    #193122

    Artem Temos
    Keymaster

    Hi,

    Could you please send us a link to your website where we can see this issue?

    Kind Regards

    #193139

    Katsuki23
    Participant

    Provided on the private content

    #193142

    Artem Temos
    Keymaster

    Please, disable all external plugins and send us your FTP access.

    #193144

    Katsuki23
    Participant

    hmm. actually it seems after disabling all plugins and re-enabling them, the load more started working again.

    Ok, so finally, my question about the filters. Is there a way using the theme filters to show product on sale and/product in stock only?

    #193148

    Artem Temos
    Keymaster

    Unfortunately, our theme doesn’t have filters for stock and sale products.

    #193149

    Katsuki23
    Participant

    Issue with LOAD MORE Buttons seems to be related to the plugin EWWW Image Optimizer.

    #193179

    Artem Temos
    Keymaster

    Seems that this plugin somehow influences the AJAX request. Sorry, but we didn’t declare our theme fully compatible with this plugin.

    #193181

    Katsuki23
    Participant

    Thanks for checking. I guess I’ll work around it.

    #193182

    Artem Temos
    Keymaster

    You are welcome. Contact us if you will have any other questions.

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

The topic ‘ADD to Cart Action and Load More Button Issue’ is closed to new replies.