soleymani4212
New member
- Oct 1, 2025
- 3
- 0
- 1
The extension is installed on Joomla Z.x + VirtueMart Z.x. Installation occurs through the extension manager as a standard package for Joomla.
After installing the package, the plugins are automatically added and activated. If this doesn't happen, enable them manually, open the lagcartusave plugin (type vmpayment), and specify "Cart retention period in days." By default, the value is set to 10 days.
To uninstall, delete the lagcartusave PACKAGE, it will remove all 3 plugins installed in the package.
For "GUESTS," i.e., unregistered users. Upon login, the plugin checks whether the cart is empty, searches the user's browser COOKIE for a "Saved Cart ID," and if it exists and the #__lagcartusave database contains such a record, it loads the cart.
When a "REGISTERED" user logs in, the plugin checks if the cart is empty using the USER ID in #__lagcartusave, searches for the cart associated with this user, and loads it.
I've tried to cover all possible user login and logout scenarios, adding to cart, logging in under different accounts on the same browser, and so on, but I think that based on your feedback and comments, we'll be able to fine-tune the plugin's algorithm for different user interactions on the site.
After installing the package, the plugins are automatically added and activated. If this doesn't happen, enable them manually, open the lagcartusave plugin (type vmpayment), and specify "Cart retention period in days." By default, the value is set to 10 days.
To uninstall, delete the lagcartusave PACKAGE, it will remove all 3 plugins installed in the package.
Technical information:
When a user adds items to their cart or edits their cart, the cart data is saved in a separate table in the #__lagcartusave database. The saved cart ID is stored in a cookie on the user's computer. For registered users, the user_id is additionally assigned to #__lagcartusave, linking the cart to a specific user.For "GUESTS," i.e., unregistered users. Upon login, the plugin checks whether the cart is empty, searches the user's browser COOKIE for a "Saved Cart ID," and if it exists and the #__lagcartusave database contains such a record, it loads the cart.
When a "REGISTERED" user logs in, the plugin checks if the cart is empty using the USER ID in #__lagcartusave, searches for the cart associated with this user, and loads it.
I've tried to cover all possible user login and logout scenarios, adding to cart, logging in under different accounts on the same browser, and so on, but I think that based on your feedback and comments, we'll be able to fine-tune the plugin's algorithm for different user interactions on the site.