charmarsh
Ecommerce Template Expert
USA
950 Posts |
Posted - 10/01/2022 : 09:00:56
AFTER UPGRADE ADD TO CART Buttons are NOT WORKING!!
Need assistance ASAP!
Thank you!
www.manageyourweight.com
Edited by - charmarsh on 10/01/2022 09:01:31
|
dbdave
ECT Moderator
USA
10443 Posts |
Posted - 10/01/2022 : 09:17:27
Edited by - dbdave on 10/01/2022 09:18:31
|
charmarsh
Ecommerce Template Expert
USA
950 Posts |
Posted - 10/01/2022 : 09:18:44
No, My customers are calling about this issue they cannot order anything! I just checked and uploaded again the js and it is the new one. Please take a look.
|
charmarsh
Ecommerce Template Expert
USA
950 Posts |
Posted - 10/01/2022 : 09:38:29
I added this script to the head of proddetail.php but still does not work!
<script src="/js/ectcart.js"></script>
also added: <link rel="stylesheet" type="text/css" href="/css/ectcart.css">
still does not work!!
Edited by - charmarsh on 10/01/2022 10:05:46
|
midvalleydrifter001
Ecommerce Template Expert
USA
934 Posts |
Posted - 10/01/2022 : 11:09:00
What version did you update to?
7.4.10
or
7.5.3
|
charmarsh
Ecommerce Template Expert
USA
950 Posts |
Posted - 10/01/2022 : 11:10:47
7.4.10
|
midvalleydrifter001
Ecommerce Template Expert
USA
934 Posts |
Posted - 10/01/2022 : 11:46:03
Ok... then you have the correct ectcart.js and ectcart.css files.
I'm sure someone will have an answer here soon.
|
charmarsh
Ecommerce Template Expert
USA
950 Posts |
Posted - 10/01/2022 : 11:46:46
I'm considering reverting back to previous version to get my site back up and working unless I can resolve this issue within an hour or so.
|
charmarsh
Ecommerce Template Expert
USA
950 Posts |
Posted - 10/01/2022 : 11:49:51
Thanks.
So I see my pages already have those file links. I am flummoxed.
|
charmarsh
Ecommerce Template Expert
USA
950 Posts |
Posted - 10/01/2022 : 12:38:44
The login logout is stuck logged in and cannot log out. Also not working.
|
charmarsh
Ecommerce Template Expert
USA
950 Posts |
Posted - 10/01/2022 : 14:22:12
Add to Cart Buttons still not working. Cannot figure it out.
|
dbdave
ECT Moderator
USA
10443 Posts |
Posted - 10/01/2022 : 15:15:53
Hi, I received your message - the file at js/ectcart.js has not been updated - you need to copy the ectcart.js file from the updater to the js folder so the file is updated. Viewing the file on your site, I see Last Modified: 2022-02-25 David
|
charmarsh
Ecommerce Template Expert
USA
950 Posts |
Posted - 10/01/2022 : 15:21:46
Weird. It shows that latest date to me as 6/13/2022.
But When I read the file it does say 2/25/22. I will download a fresh updater and check that file date.
Edited by - charmarsh on 10/01/2022 15:36:41
|
charmarsh
Ecommerce Template Expert
USA
950 Posts |
Posted - 10/01/2022 : 15:43:05
I downloaded another updater but the js file still says it was last updated 2/25/22. I don't know whats going on. Can you send me the latest js file?
|
charmarsh
Ecommerce Template Expert
USA
950 Posts |
Posted - 10/01/2022 : 15:50:09
I downloaded the 7.5.3 version and opened the js file. This one says modified 2022-09-01 - Can I use this js file with my 7.4.10 version? Or is there another file you can send me?
|
dbdave
ECT Moderator
USA
10443 Posts |
Posted - 10/01/2022 : 16:33:45
Ok, sorry, but I believe you have a different javascript error - I see it in the console.
Uncaught ReferenceError: gtag is not defined
It seems to be an issue with the google tag the function gtag is not being found. So this is either some custom code you have or something that is not setup correctly. I do not use the newer google site tag, so I can't be sure.
Hope this points you in the right direction.
David
|
dbdave
ECT Moderator
USA
10443 Posts |
Posted - 10/01/2022 : 16:43:18
Just looking closer at this - see if you have anything set in your includes for - googletagid and if so, just comment that out (add two slashes in front of that line //) and see if the site works for now. Once Vince comes along, I expect he can shed some light on the issue.
David
|
charmarsh
Ecommerce Template Expert
USA
950 Posts |
Posted - 10/01/2022 : 16:47:34
You found it. I Fixed it.
It was the new Google G4 Analytics tag that I added to the Store Settings. Which was one of the main reasons I upgraded. I thought I followed the instructions of of 11/10/21. https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=114351
But obviously something went wrong. I deleted the info from the store settings.
Thank you for successfully troubleshooting this issue. Is there anything more you can tell me about the Google Analytics 4 error?
Edited by - charmarsh on 10/01/2022 16:50:26
|
dbdave
ECT Moderator
USA
10443 Posts |
Posted - 10/01/2022 : 16:49:27
Hi, thanks for posting back. I haven't used it so it's best if someone who has knowledge of this post up with more info.
Thanks, David
|
Vince
Administrator
42815 Posts |
Posted - 10/02/2022 : 03:19:48
|
charmarsh
Ecommerce Template Expert
USA
950 Posts |
Posted - 10/03/2022 : 09:38:45
Hi Vince, "Then if you have the incectstyle.asp file included in your site you don't need to do anything else as the tracking code is included automatically."
Vince, I have the php version incectstyle.php is included but it threw errors. Does it only work with the asp version?
|
|