Javascript Error - Help Needed
Hello,
We are getting a javascript error if a product has options (no options - no error). I've made changes to the product.tpl template but cannot seem to determine how to fix this error:
Line: 809
Char: 2
Error: 'avail' is undefined
That error relates to the line below.
if((mq > 0 && avail > mq) || is_unlimit == 'Y')
avail = mq;
Has anyone seen this error before or give me a pointer where to look?
Thanks,
Louise
|