-
AuthorPosts
-
November 24, 2019 at 11:09 pm #1159708
Hi there,
Have installed the theme update a few days ago and am now facing the problem, that the shopping cart remains empty when adding an item to the cart from my cellphone. Desktop version is working properly.
Already checked:
Deactivated all plugins one by one. Error remains.
Changed theme to “Twenty Nineteen”. Problem solved.
Therefore I’d assume that it is some issue on the Enfold Theme. Either a bug in the update or some settings I need to change after the update.Any ideas? Would highly appreciate to get your advice!
Thank you!
November 25, 2019 at 4:11 pm #1159893Hey rob,
Which phone and browser are you using?
Best regards,
VictoriaNovember 25, 2019 at 7:23 pm #1160000Hi Victoria,
I am using Firefox 70.0.1 and an Iphone SE (and browser Safari) with latest software version. What my customer is using is not yet confirmed.
ThanksNovember 25, 2019 at 7:26 pm #1160002Hy partner is using an Android phone with Firefox as browser. On his cell phone it also does work. Seems to be an IPhone problem?
November 25, 2019 at 10:06 pm #1160054My customer just confirmed that she hat used an Iphone, too, when facing the empty shopping cart…
November 27, 2019 at 3:05 pm #1160651Hi rob,
I am able to add a product on my iphone SE to the cart and when I go to the cart the product is there.
Best regards,
Victoria- This reply was modified 4 years, 11 months ago by Yigit. Reason: Deleted screenshots
November 27, 2019 at 9:51 pm #1160809Hi Victoria,
Just tried again. On my cell phone it still does not work. And as I said – when switching to a standard template the problem disappears. How can we solve this?
Thanks!November 28, 2019 at 4:18 pm #1161018Hi rob,
I will ask my colleagues to check. I cannot reproduce the issue on my phone.
Best regards,
VictoriaNovember 28, 2019 at 5:43 pm #1161063I’d appreciate that!
November 28, 2019 at 5:43 pm #1161064And please let me know if I can be of further help when searching for the reason…
November 29, 2019 at 6:46 pm #1161305Hi Victoria,
Do your colleagues have any idea? Christmas business is around the corner and I am a little bit worried…
Thank you!December 2, 2019 at 12:10 pm #1161815Hi,
Sorry for the delay. We are able to reproduce the issue on Internet Explorer and it seems to be related to the privacy cookies, but we are not entirely sure. The cart only works properly when the privacy cookies are accepted first. Please try to set the Enfold > Privacy & Cookies > Default Cookies Behavior to the first option so that the required cookies are silently stored on load. Let us know if it changes anything.
Best regards,
IsmaelDecember 2, 2019 at 7:02 pm #1161975Hi Ismael,
Just tried (and kept these settings for the moment) and yes – the cart is not empty anymore. Neither when testing with Internet Explorer nor on my IPhone SE with Safari.
I before had set the third option (“User must accept and must opt in, only essential cookies selected”). May you please confirm if I understood the meaning of this option wrong or if there really is a bug? I thought that by setting this one only essential cookies are preselected in the consent message bar – and that these cookies are also set by the website. All not essential cookies are turned off unless the visitor explicitly turns them on through the consent message bar.
Thank you for your support!!!!
Best regardsDecember 5, 2019 at 7:24 am #1162818Hi,
Thank you for the update.
The privacy option should not be affecting the shop processes, so this is an unintended behavior and can be considered as a bug. Do you really need to set the cookie behavior to the third option? If so, please try to edit the js > avia-snippet-cookieconsent.js file, remove this code around line 439:
remove_all_cookies( keep_cookies );
Set the settings back to the third option, then check the page. Let us know if it changes anything.
Best regards,
IsmaelDecember 5, 2019 at 7:17 pm #1163130Hi Ismael,
I will gladly try to change this file. But may you please help me with the path where I can find this file?
Thank you!December 5, 2019 at 7:27 pm #1163137Just got it… Whoever might want to follow this – the path of this file is wp-content/themes/enfold/js
Unfortunately the error is back again. I’ll keep the settings as mentioned above for the next half day so that you can check out yourselves and then will switch back to the first option unless I get other instructions from your side.
Thank you!
December 9, 2019 at 4:24 am #1163958Hi,
Thank you for the update.
We haven’t found the issue yet. Please set the cookie behavior to the first option for now so that the cookies are silently accepted on page load.
Best regards,
IsmaelDecember 9, 2019 at 9:05 pm #1164183Hi Ismael,
Thanks for your message. Had turned back to first option already on Friday. Please let me know when I should try something else.
Thanks!December 10, 2019 at 3:25 pm #1164452Hi,
Could you please replace /enfold/js/avia-snippet-cookieconsent.js file with – https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_6_3/avia-snippet-cookieconsent.js in Appearance > Editor and check if that helps?
Please make sure to disable “Javascript file merging and compression” in Enfold theme options > Performance, save, flush cache and enable it once again.Fix will be included in upcoming version :)
Cheers!
YigitDecember 10, 2019 at 8:51 pm #1164622Hi Yigit,
I have copied the code into the /enfold/js/avia-snippet-cookieconsent.js file and uploaded with FTP.
What do you mean with Appearance => Editor??? Sorry – but I use the german version of the theme and have absolutely no clue where to find this. Hope this is just a different way of uploading the file instead of via FTP…
Next step I have checked theme options > performance > “Javascript file merging and compression” (in German “Zusammenführen und Komprimieren von Javascipt-Dateien). Had been “active” (“Aktivieren – Zusammenführen und Komprimieren aller Theme-JavaScript-Dateien”. But as requested I have deactivated this (“Deaktivieren – keine Zusammenführung und Komprimierung von Javascript-Dateien”).
Next step I have flushed my browser cache.
Next step I have reactivated a.m. “Javascript file merging and compression” .
Tested on my Iphone with Safari + latest version of Firefox/Chrome/Edge on my desktop device. It is working properly on all of them.
Thank you for solving this!
Just one final question: I have exchanged the file in the Enfold theme path – not in the child theme. But as you will replace this file with the upcoming update this probably has been the correct way. Is this right????
Thank you!
December 10, 2019 at 10:50 pm #1164652 -
AuthorPosts
- The topic ‘Shopping Cart empty on mobile version’ is closed to new replies.