Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-ASP 7.0 Questions
 cart empty
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

venacity
Starting Member

17 Posts

Posted - March 16 2014 :  17:06:33  Show Profile  Reply with Quote
We are getting a cart empty when checking out with the Chrome or Firefox browsers. It seems to be working fine in IE and Safari.

Any idea why?

Thanks

g3nnin
VP-CART Super User

209 Posts

Posted - March 17 2014 :  13:59:07  Show Profile  Reply with Quote
Hi,

Have you checked that xmysite in shop$config.asp files are already set correctly? These files should be located in "config" and "admin/config" folders.

Hope this helps!
Go to Top of Page

venacity
Starting Member

17 Posts

Posted - March 17 2014 :  15:32:12  Show Profile  Reply with Quote
both files have this entry: const xmysite="https://www.thepartsplaceinc.com/shop"

Is this correct? It works fine for IE and Safari.

Thanks
Go to Top of Page

manilow
VP-CART New User

France
134 Posts

Posted - March 18 2014 :  10:16:04  Show Profile  Visit manilow's Homepage  Reply with Quote
Hi Venacity,

Did you check your cookie settings in your browsers?

When cookies aren''t accepted, the session values cannot be saved. Any ordered item will not be saved in the shopping cart.

Kind regards,

Erik
www.aquathermia.com
Go to Top of Page

venacity
Starting Member

17 Posts

Posted - March 18 2014 :  12:22:52  Show Profile  Reply with Quote
Yes, just confirmed that the browser is set to accept cookies.

Can you try on your end to see it you can add an item to the cart then "check out" or "I agree to the shipping terms" using Chrome. Does it clear your shopping cart? The site is www.thepartsplaceinc.com

Thanks
Jeff
Go to Top of Page

manilow
VP-CART New User

France
134 Posts

Posted - March 19 2014 :  05:51:35  Show Profile  Visit manilow's Homepage  Reply with Quote
Jeff,

I checked in Firefox and Chrome. Both worked fine at least until shopcreateorder.asp.

Delete your browser''s cache memory; it may sometimes display older page versions.

Regards,

Erik
www.aquathermia.com
Go to Top of Page

venacity
Starting Member

17 Posts

Posted - March 19 2014 :  09:29:41  Show Profile  Reply with Quote
Erik, that did not work either, I cleared the cache on both browsers and tried other PCs. No Luck.

Go to Top of Page

serjtankian
VP-CART Super User

Armenia
378 Posts

Posted - March 21 2014 :  11:52:17  Show Profile  Visit serjtankian's Homepage  Reply with Quote
strange, mostly it''s related with browser cookies, or could be you have disabled cookies on your browser






*serj*
Go to Top of Page

support
Administrator

4679 Posts

Posted - March 22 2014 :  00:53:54  Show Profile  Visit support's Homepage  Reply with Quote
Hi venacity,

We have received your helpdesk ticket about this. However, we have tried your provided steps, and we are still unable to replicate the issue using Firefox and Chrome browser.

Perhaps the guys in forum here can share some hands for a test on their site if any of you can replicate or not?

Thanks
VPASP ADMIN
Go to Top of Page

carfin
VP-CART Expert

United Kingdom
948 Posts

Posted - March 24 2014 :  04:40:36  Show Profile  Reply with Quote
Hi venacity,

what page on your site is causing the problem?

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

venacity
Starting Member

17 Posts

Posted - March 24 2014 :  09:51:22  Show Profile  Reply with Quote
Hi Carfin,

Adding an item to the shopping cart will take you to the view cart page (shopaddtocart.asp). Then if you press the checkout or the "I agree to shipping terms" it takes you to the shoperror.asp page with the message "shopping cart is empty". this only happens with Firefox or chrome. works fine in ie and safari. Also not everyone is reporting this issue. it seems to only happen with certain people. We also notice that if you press the home button prior to adding an item to the cart this does not happen either. very strange!!

Any help would be greatly appreciated.

Thanks
Go to Top of Page

manilow
VP-CART New User

France
134 Posts

Posted - March 25 2014 :  04:34:18  Show Profile  Visit manilow's Homepage  Reply with Quote
Venacity,

I''d suggest to check the session variables on every page in different browsers to see the possible differences.

To do so, insert the following sub routine in your shop$db.asp file (anywhere, at the end) :

''Display all values saved in session variables
Sub displaySessionVariables
htmlWrite "<! Session Variables - " & Session.Contents.Count & vbcrlf
dim item, itemloop
For Each item in Session.Contents
If IsArray(Session(item)) then
For itemloop = LBound(Session(item)) to UBound(Session(item))
htmlWrite item & " " & itemloop & " : " ''& Session(item)(itemloop)
Next
Else
htmlWrite item & " : " & Session.Contents(item)
End If
Next
htmlWrite "-->" & vbcrlf
end sub


Then call displaySessionVariables at the very start of the shop$db.asp file. (after file includes).


When displaying a new page on your web site, check the source code; the sessions variables will show at the top of it. Compare with different browsers to see if there are any differences. Try on local server first.

I hope this will help you further.

Kind regards,

Erik
www.aquathermia.com


Go to Top of Page

carfin
VP-CART Expert

United Kingdom
948 Posts

Posted - March 26 2014 :  05:17:19  Show Profile  Reply with Quote
Hi venacity,

I have tried with IE, Firefox and Chrome browsers and cannot replicate the empty cart issue.
Were you logged in to your admin panel at the same time? This can cause conflict with the cart cookies. Could you make sure that you have logged out of your admin pages, and also log out of the website too in any browsers that you were using. Then start Chrome again, go to your site, don''t log in and then add an item to the cart.

Sorry I can''t be of any more help.

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

diegomilito
VP-CART Expert

Argentina
779 Posts

Posted - April 19 2014 :  03:55:17  Show Profile  Reply with Quote
i found out this fix http://helpnotes.vpasp.com/kb/574-Troubleshooting/964-Cart-is-empty-after-being-transferred-from-HTTP-to-HTTPS-part-of-the-shopping-cart/ would that useful im not sure but at least can try
diego
Go to Top of Page

venacity
Starting Member

17 Posts

Posted - April 22 2014 :  09:48:50  Show Profile  Reply with Quote
This is was resolved. the empty cart was caused by the transition from http to https. We addressed this be making the entire site https. Thanks to everyone who posted!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00