Persistent Shopping Cart

Inhaltsverzeichnis

Introduction

The persistent shopping cart is an add-on module that allows the shopping cart to be retained over a longer period of time (e.g. several days). PepperShop can bind the shopping cart content either to a customer login or to a visitor session. Either the customer logs in with the same device, or they use the same login data.

Module Configuration

Figure 2: Module ConfigurationThe installation is described in chapter 5.

General

  • Activate the module

Restoration Based on Login

  • Restoration based on login means that the shop remembers the shopping cart content based on the login and leaves it unchanged until the customer’s next login.
  • Enter up to how many seconds the shopping cart should be restored. Pre-filled are 604800 (= 7 days). We recommend no value over half a year here.

Restoration Based on Cookie

  • Restoration based on cookie1 means that the browser remembers the shopping cart content and can restore it.
  • Enter up to how many seconds the shopping cart can be restored. Pre-filled are 604800 (= 7 days). We recommend no value over one month here.

Functionality

Restoration Based on Login

The shopping cart content is saved when:

  • Logout
  • Forced logout (this can occur if someone logs in with the same access data, even though a session with this login is already running)
  • Session expiration

The shopping cart content is restored when:

  • Logging in and no active order yet

The shopping cart content is saved when:

  • Session expiration

The shopping cart content is restored when:

  • A new session is assigned

    • either based on the old session
    • or from the saved orders

Shopping Cart Content is Reset

As soon as an order is completely completed, the entire shopping cart content is also reset.

When the configured shopping cart lifetime expires, which you have already specified in seconds in the module configuration, the shopping cart is also reset.

Installation

System Requirements

To use the Persistent Shopping Cart module, a PepperShop Standard or Connect version 6.0 is required.

Copy and Upload Files

The Persistent Shopping Cart module consists of two directories that must be copied into your installed PepperShop. First, extract the provided ZIP archive. The following directories are included, shown here with the target directories

{shopdir}/shop/module/persistenter_warenkorb
{shopdir}/shop/Admin/module/persistenter_warenkorb

The files can be easily uploaded to the web server via FTP or SCP. The placeholder {shopdir} stands for the shop directory on the web server, where among other things the file index.php together with README.txt can be found.

Module Installation in PepperShop

Figure 3: Module Installation in Shop AdministrationTo install the module in PepperShop, go to the shop administration of your own PepperShop and select the menu item ‘Modules’ > ‘Module Management’. Here you see on the left side (not installed modules) the entry ‘persistent shopping cart’. Now select this entry and click on the ‘Install’ button below. If all tests have passed positively, you can confirm the follow-up page and see the module now installed displayed on the right side. The module ‘Persistent Shopping Cart’ is now technically installed.

Chapter 2 describes the commissioning of the module.

Further Help

Do you have questions or need assistance? Do you have special requirements or desire a custom solution for your system? Our support team is happy to help. Support services are charged based on time and material at CHF 195.- / hour. Here is how to reach us:

Other Useful Pages


  1. Cookies are files from websites that are stored on your computer. These store information such as access data, preferred languages or in this case shopping cart contents ↩︎

🌶️
🔥
🌶️