Jump to content

Default quantities


Recommended Posts

Do you mean in the Front Office or Back Office? In the Front Office, you can change the default quantity on the product page on line 258 of product.tpl in your theme's 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 the 1 in {else}1{/if} to whatever you want the default quantity to be.

In the Back Office, you can change the default quantity on the "1. Info." tab of the product editor by changing line 1302 of admin/tabs/AdminProducts.php:

$qty = 1;



Change 1 to whatever you want the default quantity to be.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...