View Single Post
  #33  
Old 07-12-2006, 10:04 AM
 
banzai banzai is offline
 

Newbie
  
Join Date: Oct 2005
Posts: 9
 

Default

Quote:
Originally Posted by Dawn Howard
Works like a charm when the customer is viewing the product details! Thanks!

How can I make this happen when a customer is viewing all the products in a category?

I opened /skin1/customer/main/buy_now.tpl and 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

Code:
<input name=amount type="text" value="{$product.min_amount}" size="7" maxlength="5">
Reply With Quote