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
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Blank carts with iOS mobile devices
Author « Topic »  

Jan Andrea
Advanced Member

USA
468 Posts

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

Posted - 04/26/2020 :  15:27:41  
Hello! I upgraded to 7.2.2 last week, and since then, customers on iOS mobile devices are having trouble with the cart. They'll add items, but when they click "checkout", there's nothing in their cart. I also had one today who created an account, but then when they finished, it just cycled back to the login page. I did upload the new CSS and JS files when I did the update. I have an Android phone, so it's not something I can test myself. Any ideas?

Thank you!

http://www.sleepingbaby.net/
Using ECT 7.2.2 for php

Vince
Administrator

42756 Posts

Posted - 04/27/2020 :  00:26:29  
Hi Jan
I just tried on my iPhone and it all seemed to go ok. Maybe if there are others with iOS devices they can give it a go.

Vince

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

Jan Andrea
Advanced Member

USA
468 Posts

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

Posted - 04/27/2020 :  06:59:17  
I heard back from the login customer -- she's on a computer, so that's no help.
I've been assuming it's a cookie issue, if folks have them disabled for security purposes, but some have claimed they do allow cookies and it still happens. Any ideas?

http://www.sleepingbaby.net/
Using ECT 7.2.2 for php

Sinbad
ECT Moderator

USA
65937 Posts

Posted - 04/27/2020 :  07:29:05  
Hi Jan, I just tried your site using desktop Win/10/FFox got the popup when adding to cart clicked on the checkout and message on cart page.

There are currently no items in your shopping cart.
If you would like to get started browsing our store please click here
Continue Shopping

I clicked around a bit to make sure the url didn't switch that all seemed ok. Didn't use the login at all, by chance do you have the persistentcart parameter in the vsadmin/includes set to zero?

$persistentcart

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

Jan Andrea
Advanced Member

USA
468 Posts

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

Posted - 04/27/2020 :  07:33:01  
Hi, Sinbad! It's set to 1. Here's the whole includes.php if that helps (minus personal details like password...)

[code]
// For a description of these parameters and their useage,
please open the following URL in your browser
// https://www.ecommercetemplates.com/phphelp/ecommplus/parameters.asp
// $cartresumeopen=TRUE;
// $custdetailsresumeopen=TRUE;
$adminencoding="utf-8";
$verifyemail=TRUE;
$imgonorderdetails=1;
$imgonthankspage=TRUE;
$imgbuybutton="images/buy.gif";
$magictoolbox="MagicZoomPlus";
$forcedetailslink=TRUE;
$giantimageinpopup=TRUE;
$nopadsscompliance=TRUE;
$usefirstlastname=TRUE;
$estimateshipping=TRUE;
$nodefaultzip=true;
$taxShipping=0;
$pagebarattop=0;
$useemailfriend=false;
$enablecustomerratings=TRUE;
$ratingsonproductspage=TRUE;
$customerratinglength=1024;
$numcustomerratings=3;
$ratingsonproductspage=TRUE;
$detailreviewstarstext='<a href="#reviews">Rating: %totrating%, based on %numratings% reviews</a>';
$onlyclientratings=false;
$mobilebrowsercolumns=1;
$noprice=FALSE;
$expireaffiliate=90;
$defaultcommission=5;
$usecategoryformat=1;
$allproductsimage="";
$enableclientlogin=true;
$allowclientregistration=true;
$shippingafterproductdiscounts=true;
$nopreviousnextlinks=TRUE;
$actionaftercart=4;
$crosssellaction='related';
$alwaysemailstatus=false;
$noconfirmationemail=TRUE;
$requirecvv=TRUE;
$noshowdiscounts=false;
$emailorderstatus=11;
$loyaltypoints=1;
$loyaltypointvalue=0.05;
$loyaltypointsnowholesale=true;
$loyaltypointsnopercentdiscount=TRUE;
$dateadjust=3;
$pagebarattop=1;
$ecttabsspecials='%tabs%<ecttab title="Additions" special="related">
<ecttab title="Reviews" special="reviews">';
$termsandconditions=TRUE;
$noproductoptions=TRUE;
$usestateabbrev=TRUE;
$noproductseparator=TRUE;
$linkcartproducts=TRUE;
$defaulttrackingcarrier="usps";
$showinstock=true;
$nomailinglist=TRUE;
$emailfromname="sleeping baby productions llc";
$useaskaquestion=TRUE;
$noshowoutofstock=TRUE;
$imgprevimg="images/leftimage.gif";
$imgnextimg="images/rightimage.gif";
$imgdetailprevimg="images/leftimage.gif";
$imgdetailnextimg="images/rightimage.gif";
$htmlemails=TRUE;
$orderstatussubject = "News about your sleeping baby productions order";
$multipurchasecolumns=2;
$useaddressline2=true;
$cartrefreshseconds=0;
$usecategoryname=TRUE;
$eSubject="SBP sling order?";
$useimageincart=TRUE;
$recentlyviewed=TRUE;
$cartpageonhttps=TRUE;
$notifybackinstock=true;
$quantityupdown=2;
$optionnameaspleaseselect=TRUE;
$filterpricebands=25;
$usecsslayout=TRUE;
$detailpagelayout='navigation, productname, reviewstars, description, productimage, options,
instock, quantity, listprice, price, addtocart, previousnext, emailfriend,checkoutbutton, ';
$productpagelayout='productimage, productname, description, price,';
$usemailer='phpmailer';
$persistentcart=1;
$detailnameh1=TRUE;
$socialmediabuttons="askaquestion,emailfriend,facebook,pinterest";
$clientloginref1="/educators.php";
$nowholesalediscounts=TRUE;
$bestsellerlimit=180;[/code]

http://www.sleepingbaby.net/
Using ECT 7.2.2 for php

Edited by - Jan Andrea on 04/28/2020 18:26:55

Vince
Administrator

42756 Posts

Posted - 04/28/2020 :  03:36:24  
Hi Jan
It took a while to get this but I see what is happening now and it is the cache problem. For instance I added an item to cart, went to the cart page and all was ok, but that was the first time viewing the cart. Then I added another item and when viewing the cart, could only see the first. This was until I did a <Ctrl>+F5 to clear the cache and now I can see both. In the headers you can see the max-age of 600 set...
http://tools.seobook.com/server-header-checker/?url=https%3A%2F%2Fwww.sleepingbaby.net%2Fcart.php&useragent=8&protocol=11
Can you have a word with your host to see if there is anything they can do about that. You don't want a cache like that on a dynamic site, it should be zero.
Sometimes these changes can be made through your hosting control panel.

Vince

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

Jan Andrea
Advanced Member

USA
468 Posts

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

Posted - 04/28/2020 :  18:26:33  
Thank you! I'm trying to find out from my host if that's something I can change -- hope so!

http://www.sleepingbaby.net/
Using ECT 7.2.2 for php

Jan Andrea
Advanced Member

USA
468 Posts

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

Posted - 04/28/2020 :  19:08:19  
So, it's not something I can change in the control panel. I could turn off caching in the .htaccess file, but apparently it's all or nothing :/ This is what support said:

[quote]So unfortunately I am not finding anything to just target the single file. A possible a work around though could be to place the file in its own sub-directory with the .htaccess code with the no cache code; however I am not sure how your software would agree, so may be work consulting your developer.[/quote]

I don't imagine I can put cart.php in its own directory and still have everything work correctly, no?

http://www.sleepingbaby.net/
Using ECT 7.2.2 for php

Marshall
Ecommerce Template Guru

USA
1909 Posts

Posted - 04/28/2020 :  21:05:25  
Jan,

Putting the cart.php in a different folder will create a whole new set of problems. Regardless, being that the site overall is dynamically generated, you really do not want it cached. Yes, you can cache images and CSS files with little to no problems, but generally speaking, caching is not good for this type of website.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

Jan Andrea
Advanced Member

USA
468 Posts

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

Posted - 04/29/2020 :  07:42:07  
It seems to be all or nothing, unfortunately. Load times are already a bit pokey with https, and I have to imagine that not caching images, CSS, JS, etc. would make it a lot worse. In the meantime, can I suggest to folks that they hard refresh if they're on a computer? I don't know what the equivalent on a mobile device is, but I can find out.

http://www.sleepingbaby.net/
Using ECT 7.2.2 for php

Vince
Administrator

42756 Posts

Posted - 04/30/2020 :  04:15:17  
quote:
can I suggest to folks that they hard refresh if they're on a computer
Errrrr, no.

But seriously, I think this wouldn't be a great idea. A lot of people just wouldn't do it and a lot would do it the wrong way.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000