🚦 🚦 After careful consideration, we have decided that we will not actively maintain the persistent shopping cart extension anymore. We do however invite all developers to fork and improve the module. 🚦 🚦
Extends the core Magento 2 Persistent Shopping Cart with Cookies/Sessions for Guests by saving the session's Shopping Cart data to a cookie within the guest's browser.
Whenever a guest (a user without a registered account) returns to your webshop, the shopping cart is updated with the data saved in the cookie. If a guest creates an account, the saved data will be saved to Magento 2's core Persistent Shopping Cart session.
For more information, go to TIG.nl.
The easiest way to install this Magento 2 extension is by using composer. If you don't know how to use Composer or can't install Composer, you can either install it by using Git or manually.
Persistent Shopping Cart for Magento 2 has been tested on recent releases of Magento 2.1(.16), 2.2(.7) and 2.3(.0).
For maximum compatibility we recommend using PHP 7.0 or higher. Compatibility with PHP 5.6 and lower has not been tested and will not be supported.
Run the following command in a terminal from within your Magento 2 root:
composer require tig/persistent-shopping-cart-magento2
First make sure you've created the following folder structure within your Magento 2 root: app/code/TIG/PersistentShoppingCart
.
Execute the following command from within the PersistentShoppingCart
directory:
git clone https://github.com/tig-nl/persistentshoppingcart-magento2.git .
Download the latest release here and extract the archive within [yourmagento2root]/app/code/TIG/PersistentShoppingCart
.
To enable the module within Magento 2, you need to run php -f bin/magento setup:upgrade
.
If in production mode, don't forget to run php -f bin/magento setup:di:compile
and php -f bin/magento setup:static-content:deploy
after enabling the module.
The module can be enabled from within the Magento 2 backend: Stores > Configuration > TIG > Persistent Shopping Cart for Guests > Enable Persistence for Guests.
This extension extends Magento 2's core Persistant Shopping Cart functionality with features for guests. Make sure Stores > Configuration > Customers > Persistent Shopping Cart > Enable Persistence is set to Yes and on the same page Persist Shopping Cart is set to Yes.
In short; Yes! For two reasons:
- The cookie created by this module does not contain any information which can identify an individual.
- The cookie will be only created once Magento 2's built-in cookie notice has been accepted.
No, not yet. This might be implemented in a future release though.