Aimeos profile change fields

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Joseph
Posts: 8
Joined: 28 Sep 2022, 07:47

Aimeos profile change fields

Post by Joseph » 28 Sep 2022, 08:05

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
Attachments
NNO.png
NNO.png (26.41 KiB) Viewed 191 times

User avatar
aimeos
Administrator
Posts: 6739
Joined: 01 Jan 1970, 00:00

Re: Aimeos profile change fields

Post by aimeos » 28 Sep 2022, 11:39

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
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Joseph
Posts: 8
Joined: 28 Sep 2022, 07:47

Re: Aimeos profile change fields

Post by Joseph » 28 Sep 2022, 12:48

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!

User avatar
aimeos
Administrator
Posts: 6739
Joined: 01 Jan 1970, 00:00

Re: Aimeos profile change fields

Post by aimeos » 29 Sep 2022, 13:17

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/
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply