Home › Forums › WoodMart support forum › Quantity not working from the product grid
Quantity not working from the product grid
- This topic has 19 replies, 2 voices, and was last updated 11 months, 3 weeks ago by Hung Pham.
-
AuthorPosts
-
December 12, 2023 at 9:37 pm #521035
yasmeenParticipantThe quantity buttons in the product grid aren’t working properly. When the customer increases the quantity to more than 1 and then clicks “add to cart”, only 1 item is being added to the cart.
If they go to the single product page and increase the amount there then click “add to cart”, it works just fine. They can also increase the quantity when they’re in the cart so it looks like the quantity buttons are broken only on the product grid page. Weirdly enough, it’s only broken on some of our products. Is this a bug and how can we fix it?
December 12, 2023 at 9:47 pm #521038
yasmeenParticipantUpdate: it looks like this is a bug dependent on the current cart status.
If the cart is empty, increasing the quantity from the product grid and then clicking “add to cart” will only add 1 item to the cart. If the cart is not empty, increasing the quantity from the product grid and then clicking “add to cart” will add the correct number of items to the grid.
This isn’t related to the product being added. We tested it by trying to add 2 of product A to an empty cart and only 1 was added. Then we went back to the product grid and again increased the quantity to 2 for product A and then clicked “add to cart” and now the cart has a total of 3 of product A: 1 from the first addition and 2 from the second addition.
This must be a bug in the theme. Please help
December 13, 2023 at 2:51 pm #521263
Hung PhamKeymasterHi yasmeen,
Thanks for reaching to us.
You should deactivate all plugins (except WoodMart Core, Elementor and WooCommerce Plugins) and then reactivate them one by one. This makes it very easy to isolate the plugin causing problems.
Regards,
December 13, 2023 at 5:42 pm #521347
yasmeenParticipantWe deactivated all of the plugins except Elementor, WooCommerce, and WoodMart Core and the issue persists.
December 14, 2023 at 8:49 am #521457
Hung PhamKeymasterHi yasmeen,
Thanks for details.
Please send temporary wp-admin info (wp-admin URL, username, password) to Private Content area.
This will allow me to thoroughly investigate and address your concerns in a more efficient manner.
Regards,
December 14, 2023 at 9:35 pm #521776
yasmeenParticipantTemporary WP Admin information is attached
December 15, 2023 at 7:11 pm #522079
Hung PhamKeymasterHi yasmeen,
Thanks for details.
Quantity now worked for the first product as well, please double check.
Regards,
December 15, 2023 at 7:18 pm #522081
yasmeenParticipantHi,
It looks like it’s working now, thank you! What did you do to fix it? We would like to be able to fix it ourselves if it ever happens again.
Regards,
December 16, 2023 at 8:01 am #522137
Hung PhamKeymasterHi yasmeen,
You should deactivate all plugins (except Required Plugins) and then reactivate them one by one. This makes it very easy to isolate the plugin causing problems or can make it works again, sometimes it caused by plugins conflict.
If you have a quick minute we always appreciate a 5-star rating on our theme!
https://themeforest.net/item/woodmart-woocommerce-wordpress-theme/reviews/20264492
Your feedback is the motivation to improve our work and services.
Regards,
December 18, 2023 at 11:46 pm #522739
yasmeenParticipantHello,
It’s not working again. Tried deactivating plugins (doesn’t work when only Elementor, Woodmart, and WooCommerce are active) and reactivating them and it’s still not working.
December 19, 2023 at 7:45 am #522774
Hung PhamKeymasterHi yasmeen,
Your site is in maintenance mode and wp-admin credential is incorrect so I can’t check the issues, please check again.
Regards,
December 19, 2023 at 5:11 pm #523018
yasmeenParticipantWe have updated the credentials
December 20, 2023 at 6:22 am #523132
Hung PhamKeymasterHi yasmeen,
Thanks for details.
The problem caused by ‘Payment Plugins for PayPal WooCommerce‘ plugin. I deactivated and quantity worked again.
Regards,
December 20, 2023 at 5:05 pm #523408
yasmeenParticipantHi,
Just tried it and it’s still not working even with that plugin deactivated. The problem is the quantity is not working when the cart is empty. If there is nothing in the cart and you try to add 2+ of a product from the shop page, it only adds 1.
December 21, 2023 at 8:49 am #523551
Hung PhamKeymasterHi yasmeen,
I’ve passed this topic to one of our developers, and I will let you know once get an answer.
Regards,
December 21, 2023 at 12:07 pm #523625
Hung PhamKeymasterHi yasmeen,
I’ve fixed your issue. Please check your site again.
Regards,
December 21, 2023 at 5:37 pm #523783
yasmeenParticipantHi,
Seems to be working for now. Can you please let us know how you fixed it? We’d like to be able to fix it ourselves if it happens in the future. Did you have to modify any code?
December 22, 2023 at 6:28 pm #524091
Hung PhamKeymasterHi yasmeen,
Navigate to Theme Settings > Performance > JS and enable
Quantity on products grid
script https://prnt.sc/o-qPZ74nZcaeIf you have a quick minute we always appreciate a 5-star rating on our theme!
https://themeforest.net/item/woodmart-woocommerce-wordpress-theme/reviews/20264492
Your feedback is the motivation to improve our work and services.
Regards,
December 22, 2023 at 6:54 pm #524100
yasmeenParticipantFantastic, thank you very much for the fix!
December 23, 2023 at 6:48 am #524170
Hung PhamKeymasterHi yasmeen,
Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!
If you have a quick minute we always appreciate a 5-star rating on our theme!
https://themeforest.net/item/woodmart-woocommerce-wordpress-theme/reviews/20264492
Your feedback is the motivation to improve our work and services.
Regards,
-
AuthorPosts
The topic ‘Quantity not working from the product grid’ is closed to new replies.
- You must be logged in to create new topics. Login / Register