netmechanics Posted August 10, 2009 Share Posted August 10, 2009 Hi there,Have been playing with Presta all day. It is excellent :-)I would like to know if there is an easy way to increase the order quantity for adding to cart to 4 digits, it is currently 3. The reason is I am selling things people will want to order up to 9999 of.Any help appreciated.Gwilym Link to comment Share on other sites More sharing options...
rocky Posted August 10, 2009 Share Posted August 10, 2009 You will need to change line 258 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" /> Change maxlength to 4 to allow quantities up to 9999. Increase size to make the text field longer. Link to comment Share on other sites More sharing options...
VIXUS Posted August 10, 2009 Share Posted August 10, 2009 or to pack your products in box that contains 100 of units and sell 999 x 100 pieces... Link to comment Share on other sites More sharing options...
netmechanics Posted August 11, 2009 Author Share Posted August 11, 2009 Thanks so much for the advice.I did the change to the product.tpl - which almost gets me to where I need to go. My next block is... - I would like Prestashop to display prices to 3 decimal places (ie $0.015) - probably quite easy in the theme templates? - In product combinations I would need the impact on price to be to 3 decimal places as well - probably more annoying as it is on the admin side?I did think of selling in units of 100 but for this instance (selling screws) I think it would be cleaner the other way.Thoughts?Gwilym Link to comment Share on other sites More sharing options...
tomcom Posted June 8, 2012 Share Posted June 8, 2012 Hi Gwilym, did you solve the issue with 3 decimal places? I am in the same situation and it seems that the number of decimal places is still not configurable in Prestashop. Thanks, Tom Link to comment Share on other sites More sharing options...
kobi44 Posted October 25, 2012 Share Posted October 25, 2012 hello i also search solution for 3 decimal places, it is possible look here: http://uk.mouser.com/ProductDetail/Texas-Instruments/CD4069UBE/?qs=sGAEpiMZZMutVWjHE%2fYQw%252b6L8ySpGowMCctOcv2NhY4%3d Link to comment Share on other sites More sharing options...
Recommended Posts