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
Author « Topic »  

kpfund
Starting Member

20 Posts

Posted - 01/06/2022 :  11:07:52  
I have updated MAPGA with the new version of ECT, and am having the same issue as March a couple years ago: https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=112579

I looked up the thread to see what the fix was, and didn't see what the actual fix was...
Thanks!

-Kurt

Phil
ECT Moderator

United Kingdom
7426 Posts

Posted - 01/07/2022 :  06:35:40  
Hi Kurt,
Have you uploaded the js folder from the updater files to the server?



*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

kpfund
Starting Member

20 Posts

Posted - 01/10/2022 :  07:36:03  
I did.
More than once, just in case.
When I view the source and look at the version the site is using, this is in the comments at the top of the js file: * Last Modified: 2021-12-09
We are using ect on other sites and are not having the same issue.

The file is called like this: <script type="text/javascript" src="/js/ectcart.js" async defer></script>
I have tried it without the async and defer tags as well.

Phil
ECT Moderator

United Kingdom
7426 Posts

Posted - 01/10/2022 :  07:53:15  
Hi Kurt,

There have been massive improvements to the WordPress installation since your last version and these have all been added to the latest updater.
So what you're going to have to do is go here - https://www.ecommercetemplates.com/wordpress/
and under the heading "Updating from the Old to New ECT WordPress Integration" follow the steps outlined there.

This will bring you completely up to date and further software updates will be seamless.

If you have any problems during this process just post on here and we'll do our best to help you out.



*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Edited by - Phil on 01/10/2022 07:53:50

kpfund
Starting Member

20 Posts

Posted - 01/10/2022 :  10:51:15  
While the site is a wordpress site, the ECT installation is probably the dreamweaver version - the site has been using this since forever.
It is currently running 7.4.6 of the ect software.
Are you asking us to abandon the old page structure and recode to use shortcodes instead?

Vince
Administrator

41216 Posts

Posted - 01/10/2022 :  13:54:12  
quote:
Are you asking us to abandon the old page structure and recode to use shortcodes instead?
This makes it much easier to integrate with WordPress for anyone setting up a site now, but this should work as it is.

quote:
The file is called like this: <script type="text/javascript" src="/js/ectcart.js" async defer></script>
I have tried it without the async and defer tags as well.
It looks to me like it is the "async defer" that is causing this. Can you try removing that again and then let us know so I can check it again.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

kpfund
Starting Member

20 Posts

Posted - 01/11/2022 :  06:05:58  
I have made that update.

If you like, I can give you ftp credentials.
Contact me at kurt.pfund AT easterassociates DOT com.

Vince
Administrator

41216 Posts

Posted - 01/12/2022 :  04:06:49  
Hi Kurt
That seems to be working for me now. Can you do a <Ctrl>+F5 to refresh the page and see if you still have a problem.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

kpfund
Starting Member

20 Posts

Posted - 01/12/2022 :  06:33:18  
Are you sure?
I seeing the same thing...
Here is a link to a screenshot: https://www.mapga.org/wp-content/uploads/2022/01/Screenshot-2022-01-12-at-09-31-25-MAPGA-Shopping-Cart.png

Phil
ECT Moderator

United Kingdom
7426 Posts

Posted - 01/12/2022 :  06:41:53  
Hi Vince,
I've tried two different browsers and I'm still seeing the problem



*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

1818charlie
ECT Moderator

United Kingdom
1018 Posts

Posted - 01/12/2022 :  06:43:14  
The cart appears to be working fine from my end. Have you carried out a hot refresh ?



Steve
Bolton Lancashire

Edited by - 1818charlie on 01/12/2022 06:49:31

kpfund
Starting Member

20 Posts

Posted - 01/12/2022 :  10:47:30  
I have.
The cart actually works fine.
What is happening is in the dropdown menu on page - immediately after you make a selection, the selection option changes to undefined and the price on page does not update:

Server side, everything is fine - the submit submits the correct information.
It looks like the client side code(javascript) is unable to find the html element that has been changed.
This sounds like the page is not reading the new javascript file, but no matter how many times I reload the new code or refresh the page or view it on a different computer, it is still the same!

It is confusing users - but only the ones that pay attention!

It is probably something dumb as @#$^, but I have no idea what the issue is.

kpfund
Starting Member

20 Posts

Posted - 01/12/2022 :  10:56:08  
Okay, it was even dumber than @#$^.

There was an extra javascript include in the footer file.
That was pointing to old version of the file (lost in the directory tree) which must have been overwriting the new copy.
Last time it was fixed, it had the async defer instructions which caused the new file to load last, but for some reason the new file will not wait patiently.

Good grief!
Sorry for the headache!

kpfund
Starting Member

20 Posts

Posted - 01/12/2022 :  11:05:55  
BTW, the WordPress improvements look really nice.
We will probably implement that next time we give the site a facelift.
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2021 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000