Scubasjl Posted March 17, 2009 Share Posted March 17, 2009 Wondering if their is a way to make the Quantity number on the front-end for a product to show up as 0 instead of 1? Link to comment Share on other sites More sharing options...
Dave Egerton Posted March 17, 2009 Share Posted March 17, 2009 not quite sure what you are trying to do here but...remember that you can on product>> combinations if you set Quantity: 0 (this will override the Quantity set on the product main screen that displayed to users ) but they will no longer be able to buy the product as stock level is set to zero?Do you want to show zero as qty available? Link to comment Share on other sites More sharing options...
Scubasjl Posted March 17, 2009 Author Share Posted March 17, 2009 What I would like to do is, make the front-end quantity number 0, so that customers no to change it. Which I am also using quantity and out of stock. So that products have a limit. Link to comment Share on other sites More sharing options...
rocky Posted March 18, 2009 Share Posted March 18, 2009 If you want to change the default quantity wanted, change line 200 of product.tpl in your theme directory from: <input type="text" name="qty" id="quantity_wanted" class="text" value="{if isset($quantityBackup)}{$quantityBackup|intval}{else}1{/if}" size="2" maxlength="3" /> to: <input type="text" name="qty" id="quantity_wanted" class="text" value="{if isset($quantityBackup)}{$quantityBackup|intval}{else}0{/if}" size="2" maxlength="3" /> Link to comment Share on other sites More sharing options...
Scubasjl Posted March 28, 2009 Author Share Posted March 28, 2009 Thank you very much for finding that information for me. Gladly appreciate it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now