View Single Post
  #5  
Old 10-05-2005, 11:26 AM
 
dprice.sf dprice.sf is offline
 

Advanced Member
  
Join Date: May 2005
Posts: 66
 

Default

Quote:
Originally Posted by shan
hi,

its something like this

Code:
{section name=quantity loop=$mq start=$start_quantity step=5}

i added the step value to change the increment

you could also change the start value so that i begins with say 5 instead of 1

made the change as you suggested - but nothing has changed

the code i changed was in /customer/main/buy_now.tpl and is below

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 step=5} <OPTION value="{%quantity.index%}" {if $smarty.get.quantity eq %quantity.index%}selected{/if}>{%quantity.index%}</OPTION> {/section} </SELECT>


that was what you were talking about - right?
__________________
Version 4.0.14
Reply With Quote