Advise to change Cartajax.php

27.01.2024 15:39
#1
Luwak
Joomshopping forum user no avatar
Name: Peter
23.01.2024
Posts: 6
Quote
Advise to change Cartajax.php

Row 197-198:

From
$products[$key]->_tmp_var_top_buttons .= '<span class="ca_qty_input">'.\JText::_('JSHOP_QUANTITY') .
': <input type="text" size="2" value="' . $value . '" name="quantity" class="input-mini" /></span>';

To
$products[$key]->_tmp_var_top_buttons .= '<span class="ca_qty_input">'.\JText::_('JSHOP_QUANTITY') .
': <input type="number" min="0" size="2" value="' . $value . '" name="quantity" class="input-mini" /></span>';

With this change you get a +/- button in the field.

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.