TYPO3/Install Aimeos/Configure TYPO3

From Aimeos documentation

< TYPO3‎ | Install Aimeos

<languages/>

<translate>

Use content from remote

To get a better user experience, you should serve your content (product images, downloads, etc.) from another domain or sub-domain. The best results are achieved by using a content delivery network (CDN).

Since 2019.x, adding the domain or sub-domain must be done in the ./Resources/Private/Config/resource.php configuration of your project specifc Aimeos TYPO3 extension:

  1. <?php
  2. return [
  3. 	'fs' => [
  4. 		'baseurl' => 'https://your-domain/uploads/tx_aimeos',
  5. 	],
  6. ];

Before 2019.x, configuring a remote domain is done via TypoScript in the setup section:

Aimeos-typo3-typoscript-setup.png

  1. plugin.tx_aimeos.settings.client.html.common.content.baseurl = https://your-domain/uploads/tx_aimeos/

Setup login

When customers buy the first time in your shop, a new user account will be automatically created for them. If they order a second time, they can login first with their e-mail address and the password that has been sent to their e-mail address. In this case, they don't have to enter their address again and the delivery and payment options are preselected if the Autofill basket plugin is enabled. Should customers decide reenter their data instead of log in, the order is assigned to their accounts based on their e-mail address.

If you are using the Aimeos page tree or the pre-configured distribution, the settings are already configured in the TypoScript that has been added, but should be adapted to your needs. Otherwise, to enable customers to login, you need to add these TypoScript to your installation:

  1. plugin.tx_aimeos.settings.client.html.email.from-name = Your company name
  2. plugin.tx_aimeos.settings.client.html.email.from-email = youremail@yourcompany.tld
  3.  
  4. plugin.tx_aimeos.settings.mshop.customer.manager.typo3.pid-default = <page ID of user sysfolder>
  5. config.typolinkLinkAccessRestrictedPages = <ID of the login page>
  6. config.typolinkLinkAccessRestrictedPages_addParams = &return_url=###RETURN_URL###

If you forget to add the first two settings, most mail servers won't send the e-mails to the recipients. The last three configurations are important so customers will be able to login and are redirected to the login page if access to a page is restricted.

The last action is to add a login form to your site. TYPO3 already contains a "form" plugin (type "login"), which only needs to be placed on a page. The two important settings are the storage PID and the redirect mode, which should be based on the GET/POST parameters.

Aimeos-typo3-login-storage.png
Aimeos-typo3-login-redirect.png


<< Previous: Setup the pages | Next: Configure scheduler tasks >> </translate>