Author Topic: Cart is empty after reopen browser  (Read 685 times)

Avexa

  • Beginner
  • *
  • Posts: 15
  • Skype Name: Antimalware.cz
Cart is empty after reopen browser
« on: January 29, 2018, 00:32:48 am »
Hello,

I have discovered following thing - I go to shop -> add product to cart -> close browser -> open browser -> cart is empty. Is it correct behavior? Is is issue in my e-shop or is it virtuemart feature? Is any way how to remember items in cart for x-hours? Is any extension or so?

Thank you in advance.





Cococoder

  • Beginner
  • *
  • Posts: 19
  • A beginner
Re: Cart is empty after reopen browser
« Reply #1 on: January 29, 2018, 13:36:33 pm »
The product you added to your cart are held in a cookie on your local machine. If the cart appears empty, the first thing to verify is that cookie are not cleared when the browser closed, manually or otherwise.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 7705
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Cart is empty after reopen browser
« Reply #2 on: January 29, 2018, 13:41:48 pm »
if u had registered/logged in the cart contents are remembered

there is also an abandoned cart extension
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Avexa

  • Beginner
  • *
  • Posts: 15
  • Skype Name: Antimalware.cz
Re: Cart is empty after reopen browser
« Reply #3 on: January 29, 2018, 20:08:21 pm »
And if am I not logged, no cart cortent is held? Isnt an issue? I would expect that cart will held content at least one session...but in my case nothing is held after browser is closed and then opened.

I have found any abandoned cart extensions, but please do you know, if they are able to hold content in session? Thank you in advance.

if u had registered/logged in the cart contents are remembered

there is also an abandoned cart extension

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26809
  • Always on vacation
    • Jenkin Hill Internet
Re: Cart is empty after reopen browser
« Reply #4 on: January 29, 2018, 23:20:54 pm »
I have tested this already, unless you clear cookies the cart content is retained on simply closing the browser and re-opening it, even if a couple of days later.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM3.2.14.9808 on Joomla 3.8.8 PHP 7.0.30

Testing VM3.2.15.9840 on J3.8.8

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9561
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Cart is empty after reopen browser
« Reply #5 on: January 30, 2018, 23:46:50 pm »
It is not a cookie! It is one time stored in the session table. And when you are registered, it is stored in the cart table.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

anantmaks

  • Beginner
  • *
  • Posts: 30
  • Indian Software Engineer
Re: Cart is empty after reopen browser
« Reply #6 on: February 07, 2018, 09:35:38 am »
If allowed can I bring your attention to one of the topics I mentioned here:

https://forum.virtuemart.net/index.php?topic=139343.msg489483#msg489483

Also, to my knowledge, some worldwide trusted e-commerce like Magento and others also keeps cart data for guest users in their database, that helps them to build achieve additional functionalities of the abandoned cart. Why VirtueMart is only keeping it and taking it from the session.
Anant Garg
Ghaziabad, India

webkul

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 110
    • eCommerce On Salesforce
Re: Cart is empty after reopen browser
« Reply #7 on: February 07, 2018, 09:42:03 am »
Hi,

Please have a look at our  Virtuemart Abandoned Cart,  https://store.webkul.com/Joomla-Virtuemart-Abandoned-Cart.html

Some of the features are:
Send auto-reminders about abandoned carts.
Use Virtuemart coupons only.
Virtuemart coupon applied to the cart will only be applicable to that cart.
Any change in the cart will remove the Virtuemart coupon from the cart.
Different email templetes for different stages like first-time email templete, reminder emil templete and Virtuemart coupon emil templete.
Track all abandoned carts of store users.
Easily create and edit email templates.

Avexa

  • Beginner
  • *
  • Posts: 15
  • Skype Name: Antimalware.cz
Re: Cart is empty after reopen browser
« Reply #8 on: March 12, 2018, 23:38:59 pm »
Hello, I have already bought VM Abandoned Cart..but it doesnt solve my issue I guess, cart is still empty after reopen browser. Or is any way how to remmember the cart longer then in session?  Or cart is remembered only in logged users? There is many people who put items to cart afternoon and finish order on evening for example...

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9561
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Cart is empty after reopen browser
« Reply #9 on: March 19, 2018, 08:12:01 am »
The cart is stored as long the session lasts. That means, you could also increase the sessiontime to a day or so and then carts for guests are "automatically stored". But so long there exists no method, which uses a cookie to get an already stored cart. A non registered user should just register to get get such features.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/