Stars: 204
Forks: 733
Pull Requests: 76
Issues: 128
Watchers: 12
Last Updated: 2023-09-14 09:33:21
TYPO3 e-commerce extension for ultra fast online shops, scalable marketplaces, complex B2B applications and #gigacommerce
License: GNU General Public License v3.0
Languages: PHP, HTML, CSS, JavaScript
⭐ Star us on GitHub — it motivates us a lot!
Aimeos is THE professional, full-featured and high performance e-commerce extension for TYPO3! You can install it in your existing TYPO3 web site within 5 minutes and can adapt, extend, overwrite and customize anything to your needs.
This document is for the latest Aimeos TYPO3 22.10 release and later.
Note: composer 2.1+ is required!
The latest TYPO3 version can be installed via composer. This is especially useful, if you want to create new TYPO3 installations automatically or play with the latest code. You need to install the composer package first, if it isn't already available:
php -r "readfile('https://getcomposer.org/installer');" | php -- --filename=composer
To install the TYPO3 base distribution first, execute this command:
composer create-project typo3/cms-base-distribution myshop
# or install a specific TYPO3 version:
composer create-project "typo3/cms-base-distribution:^12" myshop
It will install TYPO3 into the ./myshop/
directory. Change into the directory and install TYPO3 as usual:
cd ./myshop
touch public/FIRST_INSTALL
Open the TYPO3 URL in your browser and follow the setup steps. Afterwards, install the Aimeos extension using:
composer req -W aimeos/aimeos-typo3:~23.7
If composer complains that one or more packages can't be installed because the required minimum stability isn't met, add this to your composer.json
:
"minimum-stability": "dev",
"prefer-stable": true,
If you want a more or less working installation out of the box for new installations, you can install the Bootstrap package too:
composer req bk2k/bootstrap-package
Note: Remember to create a root page and a root template, which includes the Bootstrap package templates! (See also below.)
Finally, depending on your TYPO3 version, run the following commands from your installation directory:
For TYPO3 11:
php ./vendor/bin/typo3 extension:setup
php ./vendor/bin/typo3 aimeos:setup --option=setup/default/demo:1
If you don't want to add the Aimeos demo data, you should remove --option=setup/default/demo:1
from the Aimeos setup command.
For TYPO3 10:
php ./vendor/bin/typo3 extension:activate scheduler
php ./vendor/bin/typo3 extension:activate aimeos
If you experience any errors with the database, please check the Database Setup section below.
Please keep on reading below the "TER Extension" installation section!
Note: Installation instructions for TYPO3 with ddev
or Colima
can be found here:
TYPO3 with ddev or colima
If you want to install Aimeos into a traditionally installed TYPO3 ("legacy installation"), the Aimeos extension from the TER is recommended. You can download and install it directly from the Extension Manager of your TYPO3 instance.
Afterwards, you have to execute the update script of the extension to create the required database structure:
For new TYPO3 installations, there is a 1-click Aimeos distribution available, too. Choose the Aimeos distribution from the list of available distributions in the Extension Manager and you will get a completely set up shop system including demo data for a quick start.
Setup TYPO3 by creating a FIRST_INSTALL
file in the ./public
directory:
touch public/FIRST_INSTALL
Open the URL of your installation in the browser and follow the steps in the TYPO3 setup scripts.
If you use MySQL < 5.7.8, you have to use utf8
and utf8_unicode_ci
instead because those MySQL versions can't handle the long indexes created by utf8mb4
(up to four bytes per character) and you will get errors like
1071 Specified key was too long; max key length is 767 bytes
To avoid that, change your database settings in your ./typo3conf/LocalConfiguration.php
to:
'DB' => [
'Connections' => [
'Default' => [
'tableoptions' => [
'charset' => 'utf8',
'collate' => 'utf8_unicode_ci',
],
// ...
],
],
],
Since TYPO3 9.5.14+ implements SameSite cookie handling and restricts when browsers send cookies to your site. This is a problem when customers are redirected from external payment provider domain. Then, there's no session available on the confirmation page. To circumvent that problem, you need to set the configuration option cookieSameSite
to none
in your ./typo3conf/LocalConfiguration.php
:
'FE' => [
'cookieSameSite' => 'none'
]
TYPO3 10+ requires a site configuration which you have to add in "Site Management" > "Sites" available in the left navigation. When creating a root page (a page with a globe icon), a basic site configuration is automatically created (see below at Go to the Import View).
The page setup for an Aimeos web shop is easy, if you import the example page tree for TYPO3 10/11. You can download the version you need from here:
Note: The Aimeos layout expects Bootstrap providing the grid layout!
In order to upload and install the file, follow the following steps:
Note: It is recommended to import the Aimeos page tree to a page that is defined as "root page". To create a root page, simply create a new page and, in the "Edit page properties", activate the "Use as Root Page" option under "Behaviour". The icon of the root page will change to a globe. This will also create a basic site configuration. Don't forget to also create a typoscript root template and include the bootstrap templates with it!
Now you have a new page "Shop" in your page tree including all required sub-pages.
TYPO3 9.5 and later can create SEO friendly URLs if you add the rules to the site config: https://aimeos.org/docs/latest/typo3/setup/#seo-urls
The Aimeos TYPO3 extension is licensed under the terms of the GPL Open Source license and is available for free.