View Single Post
  #30  
Old 10-13-2005, 04:03 PM
 
tron tron is offline
 

Advanced Member
  
Join Date: Jun 2003
Location: Oslo
Posts: 46
 

Default

[quote="maerik"][quote="Steele"]
Quote:
Originally Posted by Jon
You can edit out the quantity areas of your templates and instead use:

<input type="hidden" name="amount" value="1">

WORKS.

I replaced this code:

Code:
<SELECT id="product_avail" name="amount"{if $active_modules.Product_Options ne '' && $product_options ne ''} onchange="check_wholesale(this.value);"{/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 this:

Code:
<input type="hidden" name="amount" value="1">

and deleted this to delete the "Quantity" before the box.
Code:
<TR><TD height="25" width="30%">{$lng.lbl_quantity}{if $product.min_amount gt 1} <FONT class="ProductDetailsTitle">{$lng.txt_need_min_amount} {$product.min_amount} {$lng.lbl_items}</FONT>{/if}</TD>
Reply With Quote