Author Topic: Restoring Cart after logging out  (Read 577 times)

anonunder

  • Beginner
  • *
  • Posts: 19
  • A beginner
Restoring Cart after logging out
« on: April 18, 2018, 11:20:59 am »
I saw many topics about this problem, and it is an old VM and Joomla 1.5 or 2.0.

I am using the latest version of both, how can I restore cart after logging out?

Thanks.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27462
  • Always on vacation
    • Jenkin Hill Internet
Re: Restoring Cart after logging out
« Reply #1 on: April 18, 2018, 11:28:11 am »
Just log back in. The cart is stored in the cart table, ###_virtuemart_carts
See hjere:  http://forum.virtuemart.net/index.php?topic=139375.msg489698#msg489698
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 VM 3.4.3.10057 on Joomla 3.9.10 PHP 7.0.33
Testing VM 3.5.0.10097 on Joomla 3.9.10

anonunder

  • Beginner
  • *
  • Posts: 19
  • A beginner
Re: Restoring Cart after logging out
« Reply #2 on: April 18, 2018, 11:29:29 am »
I logged back in and the cart is empty...

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27462
  • Always on vacation
    • Jenkin Hill Internet
Re: Restoring Cart after logging out
« Reply #3 on: April 18, 2018, 11:47:37 am »
Works fine for me with J3.8.6 VM3.2.14 PHP7.0.29 and default templates using basic shopper credentials. Try again & check your db to see if the cart is stored in the ###_virtuemart_carts table.
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 VM 3.4.3.10057 on Joomla 3.9.10 PHP 7.0.33
Testing VM 3.5.0.10097 on Joomla 3.9.10

anonunder

  • Beginner
  • *
  • Posts: 19
  • A beginner
Re: Restoring Cart after logging out
« Reply #4 on: April 18, 2018, 13:41:28 pm »
It is stored. I have like 40 data in that table. But, still, when I log out, the cart is empty after logging in again..

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27462
  • Always on vacation
    • Jenkin Hill Internet
Re: Restoring Cart after logging out
« Reply #5 on: April 18, 2018, 16:00:16 pm »
Using default templates?
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 VM 3.4.3.10057 on Joomla 3.9.10 PHP 7.0.33
Testing VM 3.5.0.10097 on Joomla 3.9.10