Re: Removing quantity drop down & adding quantity box.
I replaced this section near line 95 of product.tpl in the template editor (under the ...), commenting out the original replaced code as shown {* *}:
(version is 4.0.19)
{* $Id: product.tpl,v 1.96.2.29 2006/06/28 08:13:11 svowl Exp $ *}
...
{* <SELECT id="product_avail" name="amount"{if $active_modules.Product_Options ne '' && $product_options ne ''} onchange="check_options();"{/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> *}
<INPUT type="text" name=amount size="4" value="{$product.min_amount}">
When I call up the product pages though, they look the same as before. Can someone please tell me if I mussed up?
__________________
Gold 4.0.19
|