Hi Stuart,
I've been searching for this answer... Your code works!
Can you tell me if there's something different I need to do for v4.1.9 with the buy_now.tpl? I still need to remove the quantity drop down box. I found the section for buy_now.tpl, but in my v4.1.9 it's a little different than previously posted:
{if $product.min_amount le 1}
{assign var="start_quantity" value=1}
{else}
{assign var="start_quantity" value=$product.min_amount}
{/if}
{if $config.General.unlimited_products eq "Y"}
{math equation="x+y" assign="mq" x=$mq y=$start_quantity}
{/if}
<select name="amount">
{section name=quantity loop=$mq start=$start_quantity}
<option value="{%quantity.index%}"{if $smarty.get.quantity eq %quantity.index%} selected="selected"{/if}>{%quantity.index%}</option>
{/section}
</select>
...when I try to comment this out and add <input name=amount type="text" value="{$product.min_amount}" size="2" maxlength="2">
Nothing changes. Any suggestions?
Thank you,
Christine
Quote:
Originally Posted by stuartn
in product template
<tr>
<td width="30%">{$lng.lbl_quantity}</td>
<td><input type="text" name="amount" size="2" maxlength="2" value="{$product.min_amount}"/></td>
</tr>
|