maze Posted July 23, 2009 Share Posted July 23, 2009 Hey,I want to have a "Quantity" field above the "Add to cart" button on the product-listing pages. So far I've copy-pasted the following from product.tpl into product-list.tpl <!-- quantity wanted --> quantity == 0) || $virtual} style="display:none;"{/if}> {l s='Quantity :'} <input type="text" name="qty" id="quantity_wanted" class="text" value="{if isset($quantityBackup)}{$quantityBackup|intval}{else}1{/if}" size="2" maxlength="3" /> <!-- +- knapper indsaettes her --> <!-- end of quantity wanted --> and this shows the Quantity field correctly. But of course I must do something to make the "Add to cart" button react on this field. I've tried to copy-paste some more code from product.tpl and I've tried to add the parameter "qty" to the call of cart.php, but with no luck...Any ideas...? Link to comment Share on other sites More sharing options...
bart119 Posted August 4, 2009 Share Posted August 4, 2009 I am also interested in this modification. Link to comment Share on other sites More sharing options...
ningu Posted September 30, 2009 Share Posted September 30, 2009 See following post Link to comment Share on other sites More sharing options...
Recommended Posts