DavidX
Ecommerce Template Expert
937 Posts |
Posted - 06/25/2021 : 12:33:29
When customers come into our store we use the login buttons in the Client Login area of the Admin. I updated to 7.4.0 a few days ago and, at some point since then, the login buttons stopped working. When I press one, it opens the shopcart in a second window as expected but the login button is showing as opposed to "logged in as...". I've tried it using Chrome and Edge as well as two different computers with the same results. Any ideas?
|
dbdave
ECT Moderator
USA
10507 Posts |
Posted - 06/25/2021 : 14:10:38
|
DavidX
Ecommerce Template Expert
937 Posts |
Posted - 06/25/2021 : 14:39:53
Interesting. It's always worked before but, after looking at your link and opening up the cart.asp, I see this:
<head> <script type="text/javascript" src="/js/ectcart.js"></script> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- #BeginEditable "doctitle" --> <title>Nostalgia Zone - Shopping Cart</title> <!-- #EndEditable --> <link href="css/ectcart.css" rel="stylesheet" type="text/css"> <meta http-equiv="Content-Language" content="en"> <meta name="viewport" content="width=device-width; initial-scale=1.0" /> <link href="style.css" rel="stylesheet" type="text/css" /> </head>
Would I get rid of these lines:
<script type="text/javascript" src="/js/ectcart.js"></script> <link href="css/ectcart.css" rel="stylesheet" type="text/css"> <link href="style.css" rel="stylesheet" type="text/css" />
and replace them with the two you pointed to?
|
dbdave
ECT Moderator
USA
10507 Posts |
Posted - 06/25/2021 : 14:46:59
Those should be there, but when you applied the update, did you replace the js file with the new one from the update package? That would be the most likely problem... You have not updated that file.
David
|
DavidX
Ecommerce Template Expert
937 Posts |
Posted - 06/25/2021 : 15:02:13
Just to make sure I just applied the update again and made sure the js folder was included but nothing changed.
|
dbdave
ECT Moderator
USA
10507 Posts |
Posted - 06/25/2021 : 15:32:27
Just to be sure, open the page in your browser, and view source. Then click the links for the js and css files and make sure they open, and check the dates in the ectcart.js and ectcart.css files to be sure they are the latest.
If you want to post a URL ( or message me one) I can take a look at the site.
Thanks, David
|
DavidX
Ecommerce Template Expert
937 Posts |
Posted - 06/25/2021 : 15:36:51
They opened up for me but here's the link incase there's anything I may have missed:
https://www.nostalgiazone.com/cart.asp
Dates are all current
|
dbdave
ECT Moderator
USA
10507 Posts |
Posted - 06/26/2021 : 07:58:44
Hi, both the login to account, and create new account open in a modal window as expected for me. Is that not happening for you? If no, post back with the browser you are using.
Thanks, David
|
DavidX
Ecommerce Template Expert
937 Posts |
Posted - 06/26/2021 : 08:32:07
Creating and logging in work as expected. The issue is that, when in the admin looking at a list of customers, we normally click on the login button next to any one of them and it will open a new window with that customers account logged in. The way it going now, it opens the new window but it’s not logged in which forces us to do it manually by having to ask the customer to login to it or give us their login info. It’s a bit awkward.
|
dbdave
ECT Moderator
USA
10507 Posts |
Posted - 06/26/2021 : 17:28:10
Hi, sorry I wasn't fully understanding the issue. Yes, with the latest update, this may be a problem, but it's my understanding that if the admin is on https and the site (front end is) as well, it should work. If the admin is not logged in under https, I don't think it will work with the latest update.
Is the admin logged in under https?
David
|
DavidX
Ecommerce Template Expert
937 Posts |
Posted - 06/27/2021 : 08:35:16
If, by being logged into https you mean the admin address includes “https”, the answer is yes. I just tried it again to double check with the same result.
|
dbdave
ECT Moderator
USA
10507 Posts |
Posted - 06/27/2021 : 13:25:24
Hi, I'll message Vince and see if he can comment on this. My understanding is there were some changes, it it will continue to work if everything is under https, but I may be off on that. I'm sure Vince can clarify.
David
|
Vince
Administrator
42983 Posts |
Posted - 06/28/2021 : 01:28:37
|
DavidX
Ecommerce Template Expert
937 Posts |
Posted - 06/28/2021 : 12:54:18
That did the trick! Thanks to both of you for your help!
|
|
|