A few topics to discuss

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!
User avatar
Metalics
Advanced
Posts: 109
Joined: 13 Jul 2015, 23:59

A few topics to discuss

Post by Metalics » 11 Jun 2024, 23:57

Hello Aimeos,
I want to discuss a few topics we have discovered:

1- static_info_country and language columns in fe_users table is not matching. If you register via Aimeos, static_info_country column is created as 2 letter code like "TR". But it should use 3 letter code like "TUR" to match. Same for language column, Aimeos is using lower case like "tr", but it would be upper case like "TR" to match with Typo3 register. Please see the image below:
https://ibb.co/tBNXzxP

2- "Save basket" function is visible also for non-logged-in users with new Aimeos version. How is it possible to save a basket unless you don't have a customer id?
On the other hand ehen you save a basket it is not visible in your profile page. If you check database after saving a basket, you can see that it has weird basket id and basket name is empty. Please see the image below:
https://ibb.co/Q9sLk1N

3- Product links in basket not correct. Let's say you have a product with link "domain.com/product-detail/d/hplc-column-50192-u". In basket product link is having product name at the last part: "domain.com/product-detail/d/partisil-hplc-column-10-ods-c18-reversed-phase-usp-l1-end-capped-no-4-6-x-250-mm-10-0-m-85-a"

4- Showing/hiding the invoice and delivery address in profile page requires bootstrap.js file because of it is using data-bs-toggle=collapse tag. That is a big problem for users who don't use bootstrap package. Furthermore bootstrap.js file conflicts with some private project's content. Maybe you can consider to change show/hide behavior of these addresses similar to order history show/hide function.

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

Re: A few topics to discuss

Post by aimeos » 13 Jun 2024, 08:47

Metalics wrote: 11 Jun 2024, 23:57 1- static_info_country and language columns in fe_users table is not matching. If you register via Aimeos, static_info_country column is created as 2 letter code like "TR". But it should use 3 letter code like "TUR" to match. Same for language column, Aimeos is using lower case like "tr", but it would be upper case like "TR" to match with Typo3 register. Please see the image below:
https://ibb.co/tBNXzxP
This was a change suggested by another TYPO3 user who used another TYPO3 extension for registration where the field is filled with two letter ISO codes. Seems like it's a problem we need another solution for but first we have to revert back that change. Unfortunately, we can do that only in dev-master for the next 2024.07 release because this is highly breaking even if we provide a migration.
Metalics wrote: 11 Jun 2024, 23:57 2- "Save basket" function is visible also for non-logged-in users with new Aimeos version. How is it possible to save a basket unless you don't have a customer id?
On the other hand ehen you save a basket it is not visible in your profile page. If you check database after saving a basket, you can see that it has weird basket id and basket name is empty. Please see the image below:
https://ibb.co/Q9sLk1N
The customer should be redirected to the login page in that case and this seem to be not working in your case.
Metalics wrote: 11 Jun 2024, 23:57 3- Product links in basket not correct. Let's say you have a product with link "domain.com/product-detail/d/hplc-column-50192-u". In basket product link is having product name at the last part: "domain.com/product-detail/d/partisil-hplc-column-10-ods-c18-reversed-phase-usp-l1-end-capped-no-4-6-x-250-mm-10-0-m-85-a"
Confirmed and this problems exists since several versions if the product name and the product URL are different. Updates for 2024.04 and 2023.10 will be available soon.
Metalics wrote: 11 Jun 2024, 23:57 4- Showing/hiding the invoice and delivery address in profile page requires bootstrap.js file because of it is using data-bs-toggle=collapse tag. That is a big problem for users who don't use bootstrap package. Furthermore bootstrap.js file conflicts with some private project's content. Maybe you can consider to change show/hide behavior of these addresses similar to order history show/hide function.
Does it work without Bootstrap at all because the frontend is using Bootstrap cols, containers, etc. everywhere?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

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

Re: A few topics to discuss

Post by aimeos » 13 Jun 2024, 08:57

The change regarding fe_users.static_info_country has been there since beginning of 2021:
https://github.com/aimeos/ai-typo3/comm ... 25f2dec12b

Did you change the registration extension during upgrade?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply