Home › Forums › WoodMart support forum › ADD to Cart Action and Load More Button Issue
ADD to Cart Action and Load More Button Issue
- This topic has 13 replies, 2 voices, and was last updated 4 years, 7 months ago by Artem Temos.
-
AuthorPosts
-
May 7, 2020 at 1:11 am #192936
Katsuki23ParticipantTheme 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?
May 7, 2020 at 6:19 am #192970
Artem TemosKeymasterHello,
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
May 7, 2020 at 7:06 am #192993
Katsuki23ParticipantAs 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.
May 7, 2020 at 8:33 am #193023
Artem TemosKeymasterPlease, 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.
May 7, 2020 at 12:28 pm #193121
Katsuki23ParticipantIt 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.
May 7, 2020 at 1:00 pm #193122
Artem TemosKeymasterHi,
Could you please send us a link to your website where we can see this issue?
Kind Regards
May 7, 2020 at 1:02 pm #193139
Katsuki23ParticipantProvided on the private content
May 7, 2020 at 1:05 pm #193142
Artem TemosKeymasterPlease, disable all external plugins and send us your FTP access.
May 7, 2020 at 1:14 pm #193144
Katsuki23Participanthmm. 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?
May 7, 2020 at 1:18 pm #193148
Artem TemosKeymasterUnfortunately, our theme doesn’t have filters for stock and sale products.
May 7, 2020 at 1:20 pm #193149
Katsuki23ParticipantIssue with LOAD MORE Buttons seems to be related to the plugin EWWW Image Optimizer.
May 7, 2020 at 2:54 pm #193179
Artem TemosKeymasterSeems that this plugin somehow influences the AJAX request. Sorry, but we didn’t declare our theme fully compatible with this plugin.
May 7, 2020 at 2:55 pm #193181
Katsuki23ParticipantThanks for checking. I guess I’ll work around it.
May 7, 2020 at 2:55 pm #193182
Artem TemosKeymasterYou are welcome. Contact us if you will have any other questions.
-
AuthorPosts
The topic ‘ADD to Cart Action and Load More Button Issue’ is closed to new replies.
- You must be logged in to create new topics. Login / Register