Installation
The installation consists of adding the extension and including the TypoScript. To get a working cart you need to setup EXT:cart before.
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-products
Copied!
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_products.git
Copied!
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
. Switch to the root page of your site.
- Switch to the Template module and select Info/Modify.
- Press the link Edit the whole template record and switch to the tab Includes.
- Select Shopping Cart - Cart Products at the field Include static (from extensions):
Include TypoScript via SitePackage
This way is preferred because the configuration is under version control.
- Add
@import 'EXT:to your e.g.cart_ products/ Configuration/ Typo Script/ setup. typoscript' sitepackage/Configuration/ Typo Script/ setup. typoscript - Add
@import 'EXT:to your e.g.cart_ products/ Configuration/ Typo Script/ constants. typoscript' sitepackage/Configuration/ Typo Script/ constants. typoscript