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 buttons not working
Author    Topic »  

charmarsh
Ecommerce Template Expert

USA
980 Posts

Posted - 09/14/2026 :  09:37:30  
Add to cart buttons not working.

dbdave
ECT Moderator

USA
10752 Posts

Posted - 09/14/2026 :  09:55:00  
Did you recently update?
Most often this is simply the ectcart.js file have not been updated, or is not connected to your pages.

Thanks,
David

charmarsh
Ecommerce Template Expert

USA
980 Posts

Posted - 09/14/2026 :  09:55:24  
no. nothing new.

charmarsh
Ecommerce Template Expert

USA
980 Posts

Posted - 09/14/2026 :  09:57:55  
no did not make any changes recently

Edited by - charmarsh on 09/14/2026 09:59:55

dbdave
ECT Moderator

USA
10752 Posts

Posted - 09/14/2026 :  10:54:24  
I checked the site in your profile and it worked for me.. Is this a different site?
Thanks,
David

charmarsh
Ecommerce Template Expert

USA
980 Posts

Posted - 09/14/2026 :  11:01:10  
Yes, it is: www.theairbeddoctor.com

Thank you

charmarsh
Ecommerce Template Expert

USA
980 Posts

Posted - 09/14/2026 :  11:19:13  
it looks to me like the css file is linked. can you take a look and see what else may be the issue please?

dbdave
ECT Moderator

USA
10752 Posts

Posted - 09/14/2026 :  11:23:50  
Just an FYI - You can see javascript errors on the page, by hitting that button and hit F12 (or right click > inspect) to view the browsers console.
You have the following error - Uncaught ReferenceError: gtag is not defined

Go to your admin Main Settings > Google reCaptcha + Analytics 4 and check what you have set there.
Make sure it's for this site - remove the credentials if they are for another site.
That should fix it.

David

charmarsh
Ecommerce Template Expert

USA
980 Posts

Posted - 09/14/2026 :  11:27:58  
Thanks Dave, i removed the site tag and all is working now. yay.

I still need to put in a tag for our adwords tracking.

Edited by - charmarsh on 09/14/2026 11:30:34

dbdave
ECT Moderator

USA
10752 Posts

Posted - 09/14/2026 :  15:36:38  
Check the tag to be sure it's for that website, and correct, and try to renter it after that.
David
     Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000