Has anyone tried this with 4.0.13? Looking at the 2 changes:
1. products.tpl
I changed this:
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>
to this:
Code:
<input name=amount type="text" value="{$product.min_amount}" size="6" maxlength="4">
That appears to work no probs. BUT...
2. form_validation.tpl
I replaced the entire contents of this file with the suggestion in zilker's post of Sun Feb 13, 2005
The problem...
Whenever I now submit the form to 'add to cart', I get the Jscript error "document.orderform.minamount.value' is null or not an object.
Has anyone else had any luck making this mod on 4.0.13?
Cheers,
JB