Login Username and Emailadresse

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)
Shopmister
Posts: 72
Joined: 15 Jan 2021, 11:02

Login Username and Emailadresse

Post by Shopmister » 24 Oct 2021, 08:00

Hey (AImeos 21.7.2) and (typo3 10.4.17)
I have the problem that Aimeos seems to handle the emailadress a bit confusing with database:
1) Aimeos seems to use the "Username"- field, from typo3 for the emailadress and not the possible emailadressfield, that make a view things:
2) If i register with femanager extension with username and emailadress:
a) The Aimeos backendmodul shows me as emailadress the username
b) the typo3 listmodul/website user/username shows me the username in username field, thats right.
c) the content element for Rechnugnsadresse/paymant and the delivery adress shows me no emailadress in the field
d) The checkout shows me at emailadressfield the right emailadress
e) the scheduler works fine with right emailadress
3) If i right in the Content Element for Rechnungsadrese/paymant and the delivery adress thats empty, a emailadress. It shows at all view AImeos Backendmodule, typo3 listmodul the usernamefield the emailadress now too.

Its a problem for an nondeveloper like me, to have these confusing emailadress is using the username field. that make only problems, and its difficult to extend or something. I need an normal username as an username too btw :)

Thanks :)

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

Re: Login Username and Emailadresse

Post by aimeos » 25 Oct 2021, 12:20

The Aimeos admin backend is a bit misleading here if the host application (TYPO3 in this case) separates between account name and e-mail address. We've now changed that in dev-master to show both values separately.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Shopmister
Posts: 72
Joined: 15 Jan 2021, 11:02

Re: Login Username and Emailadresse

Post by Shopmister » 26 Oct 2021, 11:09

The Aimeos admin backend is a bit misleading here if the host application (TYPO3 in this case) separates between account name and e-mail address. We've now changed that in dev-master to show both values separately.
Okay nice. The devmaster only avaible about composer right? I have none. And i know the last two normal versions: 20.10.1 and 21.7.3 have one problem or more. The problem i know is that it dosent loading anymore the pictures from products in backend and frontend anymore. In frontend only the name is there as text Only the demoproductpictures. And the next version i can use will coming in november around 15th like always :).

You thought about the different using from frontend paymant adress/delivery formular and backend and checkout too? Atm i think one use one the emailadress field by typo3 and one the username. because the in checkout the irght emailadress is always used :).

Btw if i register with the femanager, it shows in aimeos backend if the frontend user not write manually in paymant/deliveryadress the delivery adress from afghanistan.In the aimeos CE the paymant adress frontend are filled the registrated country in, and the checkout same.
For this thing, the backend have the problem and both frontends works fine :). If you dont integrated that easy too, in your dev master :)

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

Re: Login Username and Emailadresse

Post by aimeos » 27 Oct 2021, 13:04

Shopmister wrote: 26 Oct 2021, 11:09 20.10.1 and 21.7.3 have one problem or more. The problem i know is that it dosent loading anymore the pictures from products in backend and frontend anymore. In frontend only the name is there as text Only the demoproductpictures.
Can you check your browser console for errors?
Also keep in mind that in 21.10.x there's a strict Content Security Policy for the Aimeos backend to prevent XSS attacks and images from other domains aren't loaded if you don't adapt the CSP rules.
Shopmister wrote: 26 Oct 2021, 11:09 Btw if i register with the femanager, it shows in aimeos backend if the frontend user not write manually in paymant/deliveryadress the delivery adress from afghanistan.In the aimeos CE the paymant adress frontend are filled the registrated country in, and the checkout same.
Seems like femanager doesn't fill the "fe_users.static_info_country" column.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Shopmister
Posts: 72
Joined: 15 Jan 2021, 11:02

Re: Login Username and Emailadresse

Post by Shopmister » 04 Nov 2021, 08:08

First of all. The Extensionsfolder is Empty in the last two aimeos Versions here:
https://extensions.typo3.org/extension/aimeos/
i did took now the templates from earlier versions. Change nothing, maybe somewhere are the templates now but where?
Or are these path now the only one for templates?
\Resources\Libraries\aimeos\ai-client-html\client\html\templates
Can you check your browser console for errors?
Also keep in mind that in 21.10.x there's a strict Content Security Policy for the Aimeos backend to prevent XSS attacks and images from other domains aren't loaded if you don't adapt the CSP rules.
Whats these csp rules. i have no idea. But here all in browserconsole/console: (the most things new for this version)
downloadable font: download failed (font-family: "Roboto Condensed" style:normal weight:400 stretch:100 src index:2): status=2147746065 source: https://randomdomain.de/typo3conf/ext/g ... ular.woff2
downloadable font: download failed (font-family: "Roboto Condensed" style:normal weight:700 stretch:100 src index:2): status=2147746065 source: https://randomdomain.de/typo3conf/ext/g ... -700.woff2
downloadable font: download failed (font-family: "bootstrap-icons" style:normal weight:400 stretch:100 src index:0): status=2147746065 source: https://randomdomain.de/typo3conf/ext/g ... cons.woff2
downloadable font: download failed (font-family: "Roboto Condensed" style:normal weight:700 stretch:100 src index:3): status=2147746065 source: https://randomdomain.de/typo3conf/ext/g ... n-700.woff
downloadable font: download failed (font-family: "Roboto Condensed" style:normal weight:400 stretch:100 src index:3): status=2147746065 source: https://randomdomain.de/typo3conf/ext/g ... gular.woff
downloadable font: download failed (font-family: "Roboto Condensed" style:normal weight:700 stretch:100 src index:4): status=2147746065 source: https://randomdomain.de/typo3conf/ext/g ... in-700.ttf
downloadable font: no supported format found (font-family: "Roboto Condensed" style:normal weight:700 stretch:100 src index:6) source: (end of source list)
downloadable font: download failed (font-family: "Roboto Condensed" style:normal weight:400 stretch:100 src index:4): status=2147746065 source: https://randomdomain.de/typo3conf/ext/g ... egular.ttf
downloadable font: no supported format found (font-family: "Roboto Condensed" style:normal weight:400 stretch:100 src index:6) source: (end of source list)
GEThttps://randomdomain.de/typo3conf/ext/ground/Resources/Public/Css/Extensions/fonts/roboto-condensed-v19-latin/roboto-condensed-v19-latin-regular.woff2
[HTTP/2 404 Not Found 16ms]

GEThttps://randomdomain.de/typo3conf/ext/ground/Resources/Public/Css/Extensions/fonts/bootstrap-icons.woff2
[HTTP/2 404 Not Found 15ms]

GEThttps://randomdomain.de/typo3conf/ext/ground/Resources/Public/Css/Extensions/fonts/roboto-condensed-v19-latin/roboto-condensed-v19-latin-700.woff2
[HTTP/2 404 Not Found 20ms]

downloadable font: download failed (font-family: "Roboto Condensed" style:normal weight:400 stretch:100 src index:2): status=2147746065 source: https://randomdomain.de/typo3conf/ext/g ... ular.woff2
downloadable font: download failed (font-family: "bootstrap-icons" style:normal weight:400 stretch:100 src index:0): status=2147746065 source: https://randomdomain.de/typo3conf/ext/g ... cons.woff2
downloadable font: download failed (font-family: "Roboto Condensed" style:normal weight:700 stretch:100 src index:2): status=2147746065 source: https://randomdomain.de/typo3conf/ext/g ... -700.woff2
GEThttps://randomdomain.de/typo3conf/ext/ground/Resources/Public/Css/Extensions/fonts/roboto-condensed-v19-latin/roboto-condensed-v19-latin-regular.woff
[HTTP/2 404 Not Found 14ms]

GEThttps://randomdomain.de/typo3conf/ext/ground/Resources/Public/Css/Extensions/fonts/roboto-condensed-v19-latin/roboto-condensed-v19-latin-700.woff
[HTTP/2 404 Not Found 55ms]

downloadable font: download failed (font-family: "Roboto Condensed" style:normal weight:400 stretch:100 src index:3): status=2147746065 source: https://randomdomain.de/typo3conf/ext/g ... gular.woff
downloadable font: download failed (font-family: "Roboto Condensed" style:normal weight:700 stretch:100 src index:3): status=2147746065 source: https://randomdomain.de/typo3conf/ext/g ... n-700.woff
GEThttps://randomdomain.de/typo3conf/ext/ground/Resources/Public/Css/Extensions/fonts/roboto-condensed-v19-latin/roboto-condensed-v19-latin-regular.ttf
[HTTP/2 404 Not Found 16ms]

GEThttps://randomdomain.de/typo3conf/ext/ground/Resources/Public/Css/Extensions/fonts/roboto-condensed-v19-latin/roboto-condensed-v19-latin-700.ttf
[HTTP/2 404 Not Found 30ms]

downloadable font: download failed (font-family: "Roboto Condensed" style:normal weight:400 stretch:100 src index:4): status=2147746065 source: https://randomdomain.de/typo3conf/ext/g ... egular.ttf
downloadable font: no supported format found (font-family: "Roboto Condensed" style:normal weight:400 stretch:100 src index:6) source: (end of source list)
downloadable font: download failed (font-family: "Roboto Condensed" style:normal weight:700 stretch:100 src index:4): status=2147746065 source: https://randomdomain.de/typo3conf/ext/g ... in-700.ttf
downloadable font: no supported format found (font-family: "Roboto Condensed" style:normal weight:700 stretch:100 src index:6) source: (end of source list)
Source-Map-Fehler: Error: request failed with status 404
Ressourcen-Adresse: https://randomdomain.de/typo3temp/asset ... 1633420004
Source-Map-Adresse: bootstrap.min.css.map

Seems like femanager doesn't fill the "fe_users.static_info_country" column.
But the users from aimeos dont fill this field too in database. And its at billing adress germany like it should.

btw the from feusers registered users are in aimeos bakcned grey. no idea what that saying. in frontend they workls with aimeos what i tested, but why them not full black in backend. the aimeos registered are black :)

Ps. Btw the account name dont change the mechanismen that if the user change in frontend the paymant adress the account name is afterwords the emailadess and not the username anymore...(21.10.2 version). And backend and frontend billing adress comes from two different places in typo3, like before. backend afganistan and frontend germany like it should :).
maybe i can delete the account change of billing adress, because the emailfield dont working correctly in frontend too. All fields are right in listview and in change view. only the emailadress is clear, with filled before. If i fill in the frontenduserview the emailadressfield with an email it dont change the billing adress. But it change the Accountname/username... In checkout it become all data right. see ony picture the accountview:
accountviewemaildontwork.png
accountviewemaildontwork.png (8.24 KiB) Viewed 793 times
Maybe you should create that the data comes always from same. in frontend accountview, accountedit, checkout and in backend. Its currently different. Please took the checkout or something that work already :)
Maybe i could delete only the emailadressfield from billingadress change to get all importand account/user things working :)

Ps2. I didnt found the upgrade description again, how to upgrade aimeos manuelly. i mean something like deactivate aimeos then delete the folder and took the new there. and activate aimeos again or something. not that i upgrade false all the time..
Attachments
delivery_billingadressdifferent.png
delivery_billingadressdifferent.png (15.2 KiB) Viewed 790 times

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

Re: Login Username and Emailadresse

Post by aimeos » 06 Nov 2021, 14:21

Shopmister wrote: 04 Nov 2021, 08:08 Or are these path now the only one for templates?
\Resources\Libraries\aimeos\ai-client-html\client\html\templates
Correct.
Shopmister wrote: 04 Nov 2021, 08:08 Whats these csp rules. i have no idea. But here all in browserconsole/console: (the most things new for this version)
Content Security Policy: https://en.wikipedia.org/wiki/Content_Security_Policy
None of your console errors is due to CSP.
Shopmister wrote: 04 Nov 2021, 08:08 btw the from feusers registered users are in aimeos bakcned grey. no idea what that saying. in frontend they workls with aimeos what i tested, but why them not full black in backend. the aimeos registered are black :)
Users created by TYPO3/femanager have no Aimeos site ID (greyed out) while users created during the Aimeos checkout process have a site ID assigned (and can be edited in the Aimeos backend without problems).
Shopmister wrote: 04 Nov 2021, 08:08 Ps2. I didnt found the upgrade description again, how to upgrade aimeos manuelly. i mean something like deactivate aimeos then delete the folder and took the new there. and activate aimeos again or something. not that i upgrade false all the time..
In principle the way is correct even if you don't need to delete the folder if you upload the extension in the TYPO3 extension manager.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Shopmister
Posts: 72
Joined: 15 Jan 2021, 11:02

Re: Login Username and Emailadresse

Post by Shopmister » 08 Nov 2021, 13:03

Content Security Policy: https://en.wikipedia.org/wiki/Content_Security_Policy
None of your console errors is due to CSP.
Thanks :)
Users created by TYPO3/femanager have no Aimeos site ID (greyed out) while users created during the Aimeos checkout process have a site ID assigned (and can be edited in the Aimeos backend without problems).
Most importand:
ohkay. what consequenzes it have if a user havent a Aimeos site ID? ATm i didnt see any problems, and i hope that you will saying something like: if you dont have different shops it isnt an problem :).

I hope none. then i can use a normal register. i commented out the emailfields from delivery and billing emailadress that nobody can bring the emailadress to the username field anymore :).

But better it would be that the email from every place in aimeos is written to the emailadressfield :).
I understand now why aimeos have to write something in the usernamedatabasefield. Because its required in Typo3...

Buts maybe the best idea to generate for next version an own Register Content Element? the most phpcode you have already because the checkout i think. :)
Dont know any shop without an registerpossibillity extern from the checkout. :)

I think i did found an solution with the following extension for typo3:
"LoginViaEMail"
if no complications witrh aimeos or thinking problems by me, i can now register about femanager and checkout without complications. Only one user have emailadress the other emailadress and username, thats okay maybe :).

Ps2. its possible to set the billing country in backend modul germany as standard, thats solute the miniproblem that in backend the billing adress "afghanistan"? per typoscript maybe?
Last edited by Shopmister on 18 Nov 2021, 08:33, edited 4 times in total.

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

Re: Login Username and Emailadresse

Post by aimeos » 14 Nov 2021, 09:40

Can you please split your new questions into separate topics?
Your post are way to long! ;-)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Shopmister
Posts: 72
Joined: 15 Jan 2021, 11:02

Re: Login Username and Emailadresse

Post by Shopmister » 14 Nov 2021, 15:00

Can you please split your new questions into separate topics?
Your post are way to long!
sorry, i dont think any things more to post and then are a few new problems..
i changed the last post to the Topic theme things only and will post later a new Topic about problems with current version as own :)

Shopmister
Posts: 72
Joined: 15 Jan 2021, 11:02

Re: Login Username and Emailadresse

Post by Shopmister » 23 Nov 2021, 06:42

Before you answers the other things from my post from: 8 nov 14:03
the most importand is:
Users created by TYPO3/femanager have no Aimeos site ID (greyed out) while users created during the Aimeos checkout process have a site ID assigned (and can be edited in the Aimeos backend without problems).
ohkay. What consequenzes it have if a user havent a Aimeos site ID? ATm i didnt see any problems, and i hope that you will saying something like: if you dont have different shops it isnt an problem or something :).
If its no problem to have none site id, i could use still now an register :)

Post Reply