VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Twototango on June 15, 2016, 11:43:57 AM

Title: Save Cart Function not loading earlier cart
Post by: Twototango on June 15, 2016, 11:43:57 AM
Hi All,

In a recent site I made VM3's inbuild 'Save Cart Function' (autosave cart) does not automatically load the users earlier added items into the cart on re-login.
Only after doing a page refresh (or choosing another page from the menu) it will load the items.

How do I prevent this behaviour?
I would like to have the items load immediately after login.

The site is setup with a login home page, to restrict access to registered customers only (wholesaler). I use Joomla own login module to give access.

Site is: http://www.campsencampswebshop.com/

It uses Joomla 3.5.1 and VM 3.16

Thank you reading,

Jack Lenders
Twototango Design
Title: Re: Save Cart Function not loading earlier cart
Post by: GJC Web Design on June 15, 2016, 12:33:40 PM
redirect them to a welcome page and then they have to refresh to see the cart?
refresh the page after login by something in the url and detect and JS refresh?
Title: Re: Save Cart Function not loading earlier cart
Post by: Twototango on June 20, 2016, 17:20:04 PM
I thought maybe there's a solution within the confines of the VM package.
Thanks GJC, I'll give your suggestion a try... that should fix the problem the easiest way ;-)

Jack