News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Cart module clear after deconnexion

Started by berges, November 26, 2021, 14:22:36 PM

Previous topic - Next topic

berges

Hello
i have a problem with cart module
https://www.loom.com/share/1f7d49fe2e8e4527bddf03bba39212b3
user add some product
user deonnect
user reconnect cart is empty ...
i try to disable all plugins nothing more
i try to change template no more ...
VirtueMart 3.8.8 10472
any idea ?

Jumbo!

That looks like JavaScript issue. Post the site link so we can review it.


Jumbo!

Quote from: berges on November 26, 2021, 17:44:34 PM
thanks for helping you can see here
https://www.maisondelapresse-rabastens.fr/catalogue

No, there is no JS error on your site.

I tried to test by log-in into your site, but I could not create an account as new user registration is presently disabled on your site.

berges

here you can test
i create an acconut for you
virtuetest
virtuetest
thanks

pinochico

is problem with cache

Don't use cache for e-commerce website
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

berges

i didn't use any cache (no joomla cache, no gzip, no jch) where did you see it ? maybe a cache on hoster ?

Jörgen

#7
Have You disabled the Joomla cache plugin ?
Check for cache from host.
Jörgen
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

pinochico

If you disable Joomla cache, then VM still use cache - then we use plugin OPC stop browser cache
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

GJC Web Design

The VM cache does not affect the cart/checkout .. only views like category
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

berges


pinochico

Ok, I see video.

So If I understand right - the normal (standard) is
- login
- add something to cart
- logout
- login
- see the same before logout in the cart

That is standard what we want from e-commerce solution, isn't it? :)

But your shop is not function as standard == cart is empty after second login.

I don't know exactly right, but I think in new version VM (from version then cart remember products after logout/login) the info about cart is saved in DB (not in session).
You have to check if really saved in DB and exist BD table - first option

So if is right what wrote Jumbo:
QuoteI tried to test by log-in into your site, but I could not create an account as new user registration is presently disabled on your site.

then logic you don't have DB table for saving cart to user == then you can't load full cart with all product's after logout.

I think - logic will be enable registration on site, that do you mean?
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

berges

sorry i am not agree, if you have a account try any e commerce
1 login
2 add product in cart
3 log out
4 login
=> last cart is loaded, old version of virtuemart works like this, in my cas nothing was write in bd table ...

pinochico

I'm sorry, I don't think you understand my English and I don't understand yours :)
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

berges

lol, y try to fhight with beguinner level
but in fact on old vrtuemart that work you can create a cart as a logged user, deconnect it, relogging and your cart is here not empty ... nothing was save in bd table .. i try to find any option in configuration but nothing ...