Skip Navigation

[Remonté au deuxième échelon] WooCommerce Views add to cart quantity not working

This support ticket is created Il y a 4 années et 9 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Beda Il y a 4 années et 9 mois.

Assisté par: Nigel.

Auteur
Publications
#1531485

I am trying to:

On lien caché we have a view that displays woocommerce products, however the add to cart button is only adding a quantity of 1 at a time to the cart, even if a different quantity is entered in the quantity box.

We're using this shortcode:

[wpv-woo-buy-or-select show_variation_options="yes" show_quantity_in_button="yes"]

Link to a page where the issue can be seen: lien caché
(note we have hidden the quantity input box until this bug is resolved to avoid user confusion, so you'll need to inspect:

div.mwproducts .product .productcart div.quantity

and disable the display: none rule we've added.

This bug has been reported 15 days ago by another user here (https://toolset.com/forums/topic/woocommerce-views-quantity-field-not-working/), however there hasn't been a response recently so I am reporting the issue myself.

I can also replicate this on a stock-standard WordPress site with just WooCommerce and the Toolset plugins installed.

#1531569

Yes, the issue is known and reported.
I've added your voice to the issue too and will ask if we can prioritize it.

We also have an erratum for it here https://toolset.com/errata/impossible-to-add-more-than-one-item-to-cart-on-the-shop-page-if-styled-with-woocommerce-views/