I want to get rid of the drop down quantity box so that the default added to the cart is 1 item. Following instructions in another post I tried replacing
Code:
Quote:
<select name=amount>
{if $product.min_amount le 1}
{assign var="start_quantity" value=1}
{else}
{assign var="start_quantity" value=$product.min_amount}
{/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>
|
with
Code:
Quote:
<input type="hidden" name="amount" value="1">
|
Unfortunately this didn't work. The drop down box stayed although whatever quantity you selected only one item would be added to the cart. Can anyone suggest a resolution?
Thanks!