Coder Social home page Coder Social logo

john-guerra / aimeos-typo3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aimeos/aimeos-typo3

0.0 2.0 0.0 3.67 MB

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

Home Page: https://aimeos.org/TYPO3

License: GNU General Public License v3.0

PHP 63.69% HTML 1.19% JavaScript 10.68% CSS 24.44%

aimeos-typo3's Introduction

Aimeos logo

Aimeos TYPO3 extension

โญ Star us on GitHub โ€” it helps!

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 18.10 release and later.

  • Beta release: 19.1 (TYPO3 7/8/9 LTS)
  • LTS release: 18.10 (TYPO3 7/8/9 LTS)

TYPO3 extension repository

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.

Composer

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 composer what it should install, you have to create a basic composer.json file in the directory of you VHost. It should look similar to this one:

{
    "name": "vendor/mysite",
    "description" : "My new TYPO3 web site",
    "require": {
        "typo3/cms": "~8.7",
        "aimeos/aimeos-typo3": "~18.10"
    },
    "extra": {
        "typo3/cms": {
            "cms-package-dir": "{$vendor-dir}/typo3/cms",
            "web-dir": "public"
        }
    },
    "scripts": {
        "post-install-cmd": [
            "Aimeos\\Aimeos\\Custom\\Composer::install"
        ],
        "post-update-cmd": [
            "Aimeos\\Aimeos\\Custom\\Composer::install"
        ]
    }
}

It will install TYPO3 and the latest Aimeos TYPO3 extension in the ./public/ directory. Afterwards, the Aimeos composer script will be executed which copies some required files and adds a link to the Aimeos extensions placed in the ./ext/ directory. To start installation, execute composer on the command line in the directory where your composer.json is stored:

composer update

TYPO3 setup

Database setup

Starting with Aimeos 18.10 and TYPO3 9.5, it's possible to define the charset and collation for newly created MySQL tables. In case you want to use a NoSQL data store like ElasticSearch for Aimeos products, you need to use a binary collation utf8mb4_bin in your typo3conf/LocalConfiguration.php file before the tables are created:

'DB' => [
    'Connections' => [
        'Default' => [
            'tableoptions' => [
                'charset' => 'utf8mb4',
                'collate' => 'utf8mb4_bin',
            ],
            // ...
        ],
    ],
],

Caution: If you use MySQL < 5.7, you have to use utf8 and utf8_bin 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:

'DB' => [
    'Connections' => [
        'Default' => [
            'tableoptions' => [
                'charset' => 'utf8',
                'collate' => 'utf8_bin',
            ],
            // ...
        ],
    ],
],

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)

Caution: Install the RealURL extension before the Aimeos extension to get nice looking URLs. Otherwise, RealURL doesn't rewrite the parameters even if you install RealURL afterwards!

Install Aimeos TYPO3 extension

Database

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

Execute update script

Page setup

The page setup for an Aimeos web shop is easy if you import the standard page tree for TYPO3 8.7/9.5 into your TYPO3 installation.

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 uploaded page tree file

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

License

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

Links

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.