Installation

The installation consists of adding the extension and including the TypoScript. To get a working cart you need to process further steps which are descriped in the quick start.

Install the extension

Depending on your needs you have three options to install the extension.

Installation using composer

The recommended way to install the extension is by using Composer.

In your composer-based TYPO3 project root, just do

composer require extcode/cart

Installation from TYPO3 Extension Repository (TER)

Download and install the extension with the extension manager module.

Latest version from git

You can get the latest version from git by using the git command

git clone git@github.com:extcode/cart.git

Include TypoScript

The extension ships some TypoScript code which needs to be included. There are two valid ways to do this:

Include TypoScript via TYPO3 backend

  1. Switch to the root page of your site.

  2. Switch to the Template module and select Info/Modify.

  3. Press the link Edit the whole template record and switch to the tab Includes.

  4. Select Shopping Cart - Cart at the field Include static (from extensions):

Include TypoScript via SitePackage

This way is preferred because the configuration is under version control.

  1. Add @import 'EXT:cart/Configuration/TypoScript/setup.typoscript' to your sitepackage/Configuration/TypoScript/setup.typoscript

  2. Add @import 'EXT:cart/Configuration/TypoScript/constants.typoscript' to your sitepackage/Configuration/TypoScript/constants.typoscript