Page 1 of 1

Aimeos profile change fields

Posted: 28 Sep 2022, 08:05
by Joseph
Hello,

we've been setting up a shop with typo3 and aimeos for our internal team and as such, we don't need some fields in the aimeos profile plugin when creating an account, but others that are not listed instead, as well as removing the delivery address part entirely.
As such, we were wondering whether it is possible to change the fields that are saved on the forms as well as in the database.

As seen in attachments.

typo3-version: 11.5.10
php-version: 8.1.2
aimeos-version: 22.7.1

Re: Aimeos profile change fields

Posted: 28 Sep 2022, 11:39
by aimeos
To add new fields to the database, please read this article:
https://aimeos.org/docs/latest/models/extend-managers/

How to overwrite the templates is described here:
https://aimeos.org/docs/latest/frontend ... templates/

Account Profile component:
https://aimeos.org/docs/latest/frontend ... s/#profile

Re: Aimeos profile change fields

Posted: 28 Sep 2022, 12:48
by Joseph
Hey, first of all thanks for answering.

we've tried the following in our extension constants:

Code: Select all

plugin.tx_aimeos.settings.client.html.account.profile.body = fileadmin/templates/frontend/account/profile/body
plugin.tx_aimeos.settings.client.html.account.profile.template-body = fileadmin/templates/client/html/account/profile/body.php
we've tried it with

Code: Select all

plugin.tx_aimeos
and without, with .php and without, it doesn't really seem to affect the frontend.

Thanks for the help and best regards!

Re: Aimeos profile change fields

Posted: 29 Sep 2022, 13:17
by aimeos
That doesn't work. Instead, create a new Aimeos extension for TYPO3 and store you copied templates there:
- https://aimeos.org/docs/latest/frontend ... templates/