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 »  

c_srishti
Starting Member

USA
4 Posts

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

Posted - 12/06/2022 :  09:53:33  
Hello,
I have Version 7.3.8 of ECT, ASP version.

After putting items in cart if we go back and look at the pictures of several other items, the cart gets emptied.

There is no link in the Checkout screen of the items, so the person cannot click on the item and revisit it before final checkout. Most carts have this feature.

I think I am still eligible to download the latest version of ECT. Could you point me to where I can download it?
Thank you
Srishti

Vince
Administrator

42474 Posts

Posted - 12/06/2022 :  11:05:37  
Hi Srishti
Are you swapping between the www. and non-www. version of the URL? Or maybe between the HTTPS and HTTP version? That can cause the cart to empty so if that seems to be the case then please let us know.

You can pick up the latest updater at any time here...
https://www.ecommercetemplates.com/updaters.asp

Vince

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

kelleymoore
Ecommerce Template Expert

USA
986 Posts

Posted - 12/06/2022 :  13:47:16  
I'm having this issue with customer's using Apple iPhones

Kelley

dbdave
ECT Moderator

USA
10288 Posts

Posted - 12/06/2022 :  14:57:56  
Hi Kelley, I checked the link in your profile and if that's the website with the issue, I checked the site and I do see a problem.
It's possible to view your site with four variations of the URL.
http
https
www
non-www

The site loads in all four scenarios. You need to setup a redirect that forces users to one version of your sites address.
We know you want the https, but you need to choose if you want the www or not as well.
If a user loads a cart on www and ends up on the non-www version of your site after adding to cart, just like the original poster, once you make it back to the cart, your items are gone.
Check my post in this thread here https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=106851
I expect this will fix your issue.

David

Edited by - dbdave on 12/06/2022 15:01:59

kelleymoore
Ecommerce Template Expert

USA
986 Posts

Posted - 12/07/2022 :  04:03:34  
Hi Dave,

This is something that I've had issues with for years (both the http to https and www to non-www)! I have asked for help multiple times and my host has told me to do various things, all of which I assumed would be the correct thing to do.

Thank you for your input. I added this between the rewrite tags in my existing web.config file:

<rules>
<rule name="Redirect to https" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" />
</rule>
</rules>

Hope that does the trick! This is the whole file now:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<directoryBrowse enabled="false" />
<urlCompression doStaticCompression="true" doDynamicCompression="true" />
<security>
<requestFiltering>
<fileExtensions>
<add fileExtension=".pl" allowed="false" />
</fileExtensions>
</requestFiltering>
</security>
<defaultDocument>
<files>
<add value="index.asp" />
</files>
</defaultDocument>
<rewrite>
<rules>
<rule name="Redirect to https" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" />
</rule>
</rules>
</rewrite>
<httpErrors errorMode="Custom">
<remove statusCode="401" subStatusCode="-1" />
<error statusCode="401" subStatusCode="-1" prefixLanguageFilePath="" path="/error.asp" responseMode="ExecuteURL" />
<remove statusCode="403" subStatusCode="-1" />
<error statusCode="403" subStatusCode="-1" prefixLanguageFilePath="" path="/error.asp" responseMode="ExecuteURL" />
<remove statusCode="404" subStatusCode="-1" />
<error statusCode="404" subStatusCode="-1" prefixLanguageFilePath="" path="/error.asp" responseMode="ExecuteURL" />
<remove statusCode="405" subStatusCode="-1" />
<error statusCode="405" subStatusCode="-1" prefixLanguageFilePath="" path="error.asp" responseMode="File" />
<remove statusCode="406" subStatusCode="-1" />
<error statusCode="406" subStatusCode="-1" prefixLanguageFilePath="" path="error.asp" responseMode="File" />
<remove statusCode="412" subStatusCode="-1" />
<error statusCode="412" subStatusCode="-1" prefixLanguageFilePath="" path="error.asp" responseMode="File" />
<remove statusCode="501" subStatusCode="-1" />
<error statusCode="501" subStatusCode="-1" prefixLanguageFilePath="" path="error.asp" responseMode="File" />
<remove statusCode="502" subStatusCode="-1" />
<error statusCode="502" subStatusCode="-1" prefixLanguageFilePath="" path="error.asp" responseMode="File" />
<remove statusCode="500" subStatusCode="-1" />
<error statusCode="500" subStatusCode="-1" prefixLanguageFilePath="" path="/error.asp" responseMode="ExecuteURL" />
</httpErrors>
</system.webServer>
</configuration>

Thanks so much for your help!

Kelley

UPDATE:
Just found this in a file named web.configBAK:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<directoryBrowse enabled="false" />
<urlCompression doStaticCompression="true" doDynamicCompression="true" />
<security>
<requestFiltering>
<fileExtensions>
<add fileExtension=".pl" allowed="false" />
</fileExtensions>
</requestFiltering>
</security>
<defaultDocument>
<files>
<add value="index.asp" />
</files>
</defaultDocument>
<rewrite>
<rules>
<!--# Redirect to HTTPS-->
<rule name="Imported Rule 1">
<match url="(.*)" ignoreCase="false" />
<conditions>
<!--## Redirect HTTP to HTTPS-->
<!--# Only trigger rule if a non-ssl port is being used-->
<add input="{SERVER_PORT}" pattern="443" ignoreCase="false" negate="true" />
</conditions>
<action type="Redirect" redirectType="Permanent" url="https:mydomain.com/{R:1}" />
</rule>
<rule name="Redirects to domain" patternSyntax="ECMAScript" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAny">
<add input="{HTTP_HOST}" pattern="^www.mydomain.com$" />
</conditions>
<action type="Redirect" url="https://mydomain.com/{R:0}" />
</rule>
</rules>
</rewrite>
<httpErrors errorMode="Detailed">
<remove statusCode="401" subStatusCode="-1" />
<error statusCode="401" subStatusCode="-1" prefixLanguageFilePath="C:\home\mydomain.com\wwwroot" path="error.asp" responseMode="File" />
<remove statusCode="403" subStatusCode="-1" />
<error statusCode="403" subStatusCode="-1" prefixLanguageFilePath="C:\home\mydomain.com\wwwroot" path="error.asp" responseMode="File" />
<remove statusCode="405" subStatusCode="-1" />
<error statusCode="405" subStatusCode="-1" prefixLanguageFilePath="C:\home\mydomain.com\wwwroot" path="error.asp" responseMode="File" />
<remove statusCode="406" subStatusCode="-1" />
<error statusCode="406" subStatusCode="-1" prefixLanguageFilePath="C:\home\mydomain.com\wwwroot" path="error.asp" responseMode="File" />
<remove statusCode="412" subStatusCode="-1" />
<error statusCode="412" subStatusCode="-1" prefixLanguageFilePath="C:\home\mydomain.com\wwwroot" path="error.asp" responseMode="File" />
<remove statusCode="500" subStatusCode="-1" />
<error statusCode="500" subStatusCode="-1" prefixLanguageFilePath="" path="/error.asp" responseMode="ExecuteURL" />
<remove statusCode="501" subStatusCode="-1" />
<error statusCode="501" subStatusCode="-1" prefixLanguageFilePath="C:\home\mydomain.com\wwwroot" path="error.asp" responseMode="File" />
<remove statusCode="502" subStatusCode="-1" />
<error statusCode="502" subStatusCode="-1" prefixLanguageFilePath="C:\home\mydomain.com\wwwroot" path="error.asp" responseMode="File" />
<remove statusCode="404" subStatusCode="-1" />
<error statusCode="404" subStatusCode="-1" prefixLanguageFilePath="" path="/error.asp" responseMode="ExecuteURL" />
</httpErrors>
</system.webServer>
</configuration>

Edited by - kelleymoore on 12/07/2022 09:47:55

dbdave
ECT Moderator

USA
10288 Posts

Posted - 12/07/2022 :  09:02:42  
Hi Kelley, there is still an issue of the www and non-www

For me, I don't have that covered in my web.config file as in my hosting control panel (plesk in this case) there is a place to mark that I want to use the www version of the url, so it's covered there.
Does your control panel use plesk perhaps?
If not, I will see if I can get updated web.config details to handle it for you.

I do see you fixed the http vs https issue.

Thanks,
David

kelleymoore
Ecommerce Template Expert

USA
986 Posts

Posted - 12/07/2022 :  09:45:26  
I host with Hostek. I'll check, but I don't think there's a way for me to check anything in the CP, as they have done something before for me at my request, previously.

1 down; 1 to go.

Kelley

c_srishti
Starting Member

USA
4 Posts

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

Posted - 12/07/2022 :  16:53:19  
thank you Dave! that really worked perfectly!!! Really appreciate it!

The other thing was:
On the checkout, if the buyer puts a whole bunch a items in the cart from all over the site, and they are now on the checkout, but they want to click on an item to reconsider that item... the items in the cart are not links to the product pages. How can I make them clickable as links to each individual product? I think that is a pretty standard thing in shopping carts...

I hope this makes sense...
best Wishes
Srishti

dbdave
ECT Moderator

USA
10288 Posts

Posted - 12/07/2022 :  17:14:06  
Hi Srishti, sure, that's easy.
Keep in mind there are quite a number of parameters you can set to make your store operate just the way you want.
There is a link to the ASP and PHP parameters on the left in the "how it works" menu.
asp parameters are here https://www.ecommercetemplates.com/help/ecommplus/parameters.asp

In this case, you want the following parameter

linkcartproducts=TRUE

Open up your vsadmin/includes.asp file on your computer and check to see if that parameter exists (search for linkcartproducts) and if it is, change it to TRUE, and if it's not there, just add it in the list somewhere.
Upload the changed file to the server and you should be set.

Thanks,
David

Edited by - dbdave on 12/07/2022 17:15:17

kelleymoore
Ecommerce Template Expert

USA
986 Posts

Posted - 12/09/2022 :  09:18:57  
Dave,

Hostek gave me a link to add a <rules> tag code to the web.config file to change from www to non-www or vice versa. I think I need to check all possible internal absolute URLs to make sure they are all uniform. However, what about any existing external links that may be coming into our site? I think there is probably a mixture of both from over the years.

I just figured out that I had the www. in the URL in my main settings. Fixed it.

Kelley

Edited by - kelleymoore on 12/09/2022 10:52:11

dbdave
ECT Moderator

USA
10288 Posts

Posted - 12/09/2022 :  12:33:15  
Hi Kelley, that's why you want to have a redirect in place as this way, no matter what these old links are, the user, once landing on your site, will be on a consistent version of the URL.
Most often it's https and www

Thanks,
David

kelleymoore
Ecommerce Template Expert

USA
986 Posts

Posted - 12/10/2022 :  03:53:58  
Dave,

Thank you so much for your guidance with this! I think I've figured it out and it's working fine now.

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