Skip Navigation

[Resuelto] 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.

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

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 hace 6 años, 10 meses. 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)

Este tema contiene 1 respuesta, tiene 1 mensaje.

Última actualización por sigerS hace 6 años, 10 meses.

Asistido por: Christian Cox.

Autor
Mensajes
#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!

El foro ‘Types Community Support’ está cerrado y no se permiten nuevos debates ni respuestas.