Re: Changing quantity selectbox amount for individual product
Make sure to set a default value of 1 by adding value="1" to the code like shown below...
<input type="text" name="amount" size="3" value="1">
{* hide dropdown selectbox
<SELECT id="product_avail" name="amount" {if $active_modules.Product_Options ne '' && $product_options ne ''} onchange="check_options();"{/if}>
{section name=quantity loop=$mq start=$start_quantity}
<OPTION value="{%quantity.index%}" {if $smarty.get.quantity eq %quantity.index%}selected{/if}>{%quantity.index%}</OPTION>
{/section}
</SELECT>
*}
__________________
xcart v4.1.2 [unix]
|