xtendacom Posted April 5, 2009 Share Posted April 5, 2009 Hi all, I was wondering if anyone knew how to override the setting that only allows 3 digits for quantity when placing an order some items we sell are not sold as bundles but have quantities 1000 and above. currently the highest number i can get is 999Thanks Link to comment Share on other sites More sharing options...
rocky Posted April 6, 2009 Share Posted April 6, 2009 Have a look at line 200 of product.tpl in your theme directory: <input type="text" name="qty" id="quantity_wanted" class="text" value="{if isset($quantityBackup)}{$quantityBackup|intval}{else}1{/if}" size="2" maxlength="3" /> At the end, change the maxlength attribute from 3 to 4 to allow quantities up to 9999. You can increase the length of the text field by increasing the size attribute. Link to comment Share on other sites More sharing options...
xtendacom Posted April 6, 2009 Author Share Posted April 6, 2009 Great !!Thank you very much! Link to comment Share on other sites More sharing options...
Recommended Posts