Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Add to cart after upgrade. js problem?
Author « Topic »  

timgreen
Advanced Member

108 Posts

Pre-sales questions only
(More Details...)

Posted - 03/11/2019 :  08:43:09  
Hi

Just upgraded an old site to ECT PHP version 6.9.6. Added the js folder.

I am getting this error in the console and the add to basket buttons aren't working:
Uncaught ReferenceError: subformid is not defined at HTMLInputElement.onclick (products.php?cat=4:411)

I have cleared the hosting cache and local caches.

Any other ideas on what I can check?

Thanks
Tim

Andy
ECT Moderator

95440 Posts

Posted - 03/11/2019 :  08:49:06  
Hi Tim

Can you let us know the URL so we can take a look?

Do you definitely have this line before the closing </head> tag of your store pages

<script type="text/javascript" src="js/ectcart.js"></script>

Andy

Please feel free to review / rate our software

timgreen
Advanced Member

108 Posts

Pre-sales questions only
(More Details...)

Posted - 03/11/2019 :  08:55:27  
Sorry, my fault. I hadn't pushed the updated store pages to live server.

All good now, thanks for your speedy response!

Tim
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000