Jump to content

Default Front-End Quantity Number


Recommended Posts

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

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

  • 2 weeks later...

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...