View Single Post
  #7  
Old 12-27-2005, 10:34 AM
  Debra's Avatar 
Debra Debra is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 44
 

Default

Just an update, the code I was looking for was in buy_now.tpl. This will replace that annoying drop down box in the subcatagories template. I replaced:

Code:
<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 this:

Code:
<input type="text" name=amount size="4" value="{$product.min_amount}">

Now I have a box to input the quantity instead of that drop down box! Works so far, it's good!
__________________
X-Cart version 4.0.14
Reply With Quote