Skip to content

TYPO3 e-commerce extension for professional, ultra fast online shops, complex B2B applications and #gigacommerce

License

Notifications You must be signed in to change notification settings

oren-zohar/aimeos-typo3

 
 

Repository files navigation

Aimeos logo

Aimeos TYPO3 extension

Total Downloads Scrutinizer Code Quality License

⭐ 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.

Aimeos TYPO3 demo

Table of content

Installation

This document is for the latest Aimeos TYPO3 21.10 release and later.

  • LTS release: 21.10 (TYPO3 10/11 LTS)

Composer

Note: composer 2.1+ is required!

The latest version can be installed via composer too. 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

In order to tell install TYPO3, you have to execute

composer create-project typo3/cms-base-distribution myshop

This will install TYPO3 into the ./myshop/ directory.

Then, change to the ./mshop/ directory and install the Aimeos extension for TYPO3 with:

composer req aimeos/aimeos-typo3:~21.10

This will install stable TYPO3 version and the latest Aimeos TYPO3 extension. If you want a more or less working installation out of the box for new installations, you should install the Bootstrap package too:

composer req bk2k/bootstrap-package

TER extension

If you want to install Aimeos into your existing TYPO3 installation, the Aimeos extension from the TER is recommended. You can download and install it directly from the Extension Manager of your TYPO3 instance.

For new TYPO3 installations, there's 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.

TYPO3 setup

Setup TYPO3 as normal 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.

Database setup

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',
            ],
            // ...
        ],
    ],
],

Security

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'
    ]

Composer

TYPO3 11

When using TYPO3 11, you have to run these commands from your installation directory:

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.

TYPO3 10

For TYPO3 10, these commands are required:

php ./vendor/bin/typo3 extension:activate scheduler
php ./vendor/bin/typo3 extension:activate aimeos

TER Extension

  • Log into the TYPO3 back end
  • Click on ''Admin Tools::Extension Manager'' in the left navigation
  • Click the icon with the little plus sign left from the Aimeos list entry (looks like a lego brick)

Install Aimeos TYPO3 extension

Afterwards, you have to execute the update script of the extension to create the required database structure:

Execute update script

Site setup

TYPO3 10+ requires a site configuration which you have to add in "Site Management" > "Sites" available in the left navigation.

Page setup

The page setup for an Aimeos web shop is easy if you import the example page tree for TYPO3 10/11:

Note: The Aimeos layout expects Bootstrap providing the grid layout!

Go to the import view

  • In Web::Page, root page (the one with the globe)
  • Right click on the globe
  • Move the cursor to "Branch actions"
  • In the sub-menu, click on "Import from .t3d"

Go to the import view

Upload the page tree file

  • In the page import dialog
  • Select the "Upload" tab (2nd one)
  • Click on the "Select" dialog
  • Choose the file you've downloaded
  • Press the "Upload files" button

Upload the page tree file

Import the page tree

  • In Import / Export view
  • Select the uploaded file from the drop-down menu
  • Click on the "Preview" button
  • The pages that will be imported are shown below
  • Click on the "Import" button that has appeared
  • Confirm to import the pages

Import the uploaded page tree file

Now you have a new page "Shop" in your page tree including all required sub-pages.

SEO-friendly URLs

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

License

The Aimeos TYPO3 extension is licensed under the terms of the GPL Open Source license and is available for free.

Links

About

TYPO3 e-commerce extension for professional, ultra fast online shops, complex B2B applications and #gigacommerce

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 42.6%
  • PHP 37.3%
  • JavaScript 19.4%
  • HTML 0.7%