Skip Navigation

[Résolu] Customizing the Add to Cart button

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem: I would like to add the Add to Cart button to my site, but it seems to add a maximum quantity value to the input field.

Solution: In this case, the inventory of available Products was determining the max value.

This support ticket is created Il y a 6 années et 10 mois. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

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

Dernière mise à jour par sigerS Il y a 6 années et 10 mois.

Assisté par: Christian Cox.

Auteur
Publications
#607145

I added [wpv-woo-buy-or-select show_quantity_in_button='yes']

In the frontend this is giving the following HTML;
<input type="number" id="quantity_5a5f3f903e0b1" class="input-text qty text" step="1" min="1" max="2" name="quantity" value="1" title="Aantal" size="4" pattern="[0-9]*" inputmode="numeric">

Where can I change the max="2"? And I miss the little arrows on the right, to increase the amount to add in the Cart.

Thank you!

#607171

I found out that this was because there where only 2 products in stock.. I am sorry!

Le forum ‘Types Community Support’ est fermé à de nouveaux sujets et réponses.