Author Topic: shopping cart lifetime  (Read 3535 times)

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3360
  • VirtueMart Version: 3.8.8
Re: shopping cart lifetime
« Reply #15 on: October 19, 2020, 17:12:16 pm »
It is not a bug it is based on session lifetime and keeping "cart" alive

Sessions expire when browser is closed or website is exited - the session expires and cart is empty.

For registered logged in customers, cart details are stored in a carts table - if the customer does not complete an order and later logs into their account - the details of the last non completed cart are loaded

If the customer wants to save a cart for later use maybe you can invoke some cart saver functionality outside of that already provided for by core VM and registered logged in customers
regards
A

Joomla 3.9.23
php 7.3

ermes

  • Jr. Member
  • **
  • Posts: 92
Re: shopping cart lifetime
« Reply #16 on: October 19, 2020, 17:41:09 pm »
Perhaps I have not explained myself well: the cart is emptied only if at the time of login you select the "Remember me" option and close the browser without logging out. In all other cases the cart remains full.
If I disable the "System - Remember Me" plugin everything works correctly.

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 895
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: shopping cart lifetime
« Reply #17 on: October 19, 2020, 18:33:01 pm »
bug?
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

ermes

  • Jr. Member
  • **
  • Posts: 92
Re: shopping cart lifetime
« Reply #18 on: October 19, 2020, 18:53:24 pm »
Sure!

ermes

  • Jr. Member
  • **
  • Posts: 92
Re: shopping cart lifetime
« Reply #19 on: October 19, 2020, 19:04:03 pm »
How can i report this bug?

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 895
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: shopping cart lifetime
« Reply #20 on: October 19, 2020, 20:41:26 pm »
My VM hasn't "Remember me" option :D

Are you sure, that your VM has this option?
Isn't this option part of the Joomla login module or other applications, what do you think?
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

kess

  • Beginner
  • *
  • Posts: 12
  • Currently using VM3.8.4.10 on Joomla3.9.22 PHP 7.2
Re: shopping cart lifetime
« Reply #21 on: October 20, 2020, 08:05:42 am »
Hello
I tried and confirm what Ermes discovered.

In fact, using the joomla login module with the remember plug in active, it is possible for a registered user to log in the first time and by checking the remmeber checkbox, then for 60 days the cookie allows access without having to log in again.

in this case, any abandoned carts are lost on the next return to the site.

I would say that in a btob it is normal to use the joomla module login

ermes

  • Jr. Member
  • **
  • Posts: 92
Re: shopping cart lifetime
« Reply #22 on: November 02, 2020, 09:57:07 am »
So do you confirm the bug? Will there be a bugfix in the next versions? I would like to give an answer to my clients.

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3360
  • VirtueMart Version: 3.8.8
Re: shopping cart lifetime
« Reply #23 on: November 02, 2020, 11:12:14 am »
I am not sure it is a VM bug - just a consequence of using remember me and the differing functional aspects.

Remember me is login logic - the other is VM cart session life time.

I stopped showing the "remember me"  by overriding the layout of the Joomla login module
regards
A

Joomla 3.9.23
php 7.3

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 895
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: shopping cart lifetime
« Reply #24 on: November 02, 2020, 11:22:05 am »
Postulate:
Everything that does not behave as the customer imagines / needs it / thinks on the e-shop is a bug and it is necessary to fix it for free and create a new version of VirtueMart and preferably immediately.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

ermes

  • Jr. Member
  • **
  • Posts: 92
Re: shopping cart lifetime
« Reply #25 on: November 02, 2020, 16:54:16 pm »
How can i report the bug? With a pm to Milbo?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10026
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: shopping cart lifetime
« Reply #26 on: November 02, 2020, 17:40:20 pm »
Max reads these post as well -- there is also dev and bug board -   http://forum.virtuemart.net/index.php?board=127.0
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

ermes

  • Jr. Member
  • **
  • Posts: 92
Re: shopping cart lifetime
« Reply #27 on: November 02, 2020, 18:30:56 pm »
I have posted the bug in dev and bug board

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10087
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: shopping cart lifetime
« Reply #28 on: November 05, 2020, 16:06:32 pm »
I would say it is a strange bug, which is imho from joomla. Looks like joomla does you not login, if "remember me" is used. I need to investigate that
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

ermes

  • Jr. Member
  • **
  • Posts: 92
Re: shopping cart lifetime
« Reply #29 on: December 07, 2020, 10:43:22 am »
Hi Milbo, there are news on this bug?