View Single Post
  #1  
Old 02-02-2006, 10:01 AM
  dalmuti's Avatar 
dalmuti dalmuti is offline
 

eXpert
  
Join Date: Oct 2004
Location: Kansas
Posts: 343
 

Default 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
__________________
Louise

Studio 57 Designs - X-Cart Customization
Providing X-Cart Services since 2004
Hottest Blog Directory - Submit Your Blog for a Free Listing
Reply With Quote