Download the PHP package tig/persistent-shopping-cart-magento2 without Composer

On this page you can find all versions of the php package tig/persistent-shopping-cart-magento2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package persistent-shopping-cart-magento2

:vertical_traffic_light: :vertical_traffic_light: 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. :vertical_traffic_light: :vertical_traffic_light:

Persistent Shopping Cart for Guests

A Magento 2 module developed by TIG

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.

Installation

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.

System requirements

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.

Install using Composer

Run the following command in a terminal from within your Magento 2 root:

composer require tig/persistent-shopping-cart-magento2

Install using Git

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 .

Install manually

Download the latest release here and extract the archive within [yourmagento2root]/app/code/TIG/PersistentShoppingCart.

After Installation

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.

Configuration

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.

FAQ

Is this extension GDPR proof?

In short; Yes! For two reasons:

  1. The cookie created by this module does not contain any information which can identify an individual.
  2. The cookie will be only created once Magento 2's built-in cookie notice has been accepted.
Is a guest's Wishlist and Add to Compare also saved?

No, not yet. This might be implemented in a future release though.


All versions of persistent-shopping-cart-magento2 with dependencies

PHP Build Version
Package Version
Requires php Version ~7.0|~7.1|~7.2
ext-openssl Version *
magento/framework Version 100.*|101.*|102.*
tig/core Version 1.1.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package tig/persistent-shopping-cart-magento2 contains the following files

Loading the files please wait ....