Several Issues & Topics
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!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Several Issues & Topics
Hello. We have tested Aimeos V 23.4.3-pre1 and noticed the following issues by now.
Typo3 V 12.4.2
PHP V 8.2.5
MySQL 10.5.20-MariaDB-log
1- Scheduler Jobs not working (tested for category & product import) with error: Unable to call method "getQueryParams" of non-object "request".
2- Language and Dark Mode/Light Mode switch on Aimeos backend is not working as expected. Language turns back to English and display mode turns back to system default after refreshing the page even if you change them.
3- Pages with JSON REST API, Catalog suggest JSON, Catalog count JSON and Catalog stock JSON not working; so relevant tags can not be created on header.
4- Breadcrumb for the current product always displaying "Back" link instead of the category link the product belongs. Is there any way to force the breadcrumb display the first category of the current product?
5-There is a setting to display On Request text instead of Add to Basket form if there is no given price for the product. But I think <?= $enc->html( $this->translate( 'client', 'on request' ) ) ?> setting is located inside the "if price available" condition. So if the product has no price, 'on request' text is not displayed.
6-Locale selector for Typo3 doesn't need language parameter as it already has language selector, so using it with only Currency selector option works as expected with the setting:
plugin.tx_aimeos.settings.client.html.locale.select.subparts {
0 = currency
}
But ai[locale]=en parameter still exist on URL when you use currency selector and that confuses Typo3. Is there any setting to remove "locale" parameter and leave the ai[currency]=EUR parameter alone on URL?
7- We need to remove CSS files of the Plug-ins for different template design. Is there any typoscript setting to remove for example only catalog-detail.css file?
Leaving the plugin.tx_aimeos.settings.client.html.catalog.detail.template-header setting empty is removing the related .js files and meta tags and not useful for this case.
Typo3 V 12.4.2
PHP V 8.2.5
MySQL 10.5.20-MariaDB-log
1- Scheduler Jobs not working (tested for category & product import) with error: Unable to call method "getQueryParams" of non-object "request".
2- Language and Dark Mode/Light Mode switch on Aimeos backend is not working as expected. Language turns back to English and display mode turns back to system default after refreshing the page even if you change them.
3- Pages with JSON REST API, Catalog suggest JSON, Catalog count JSON and Catalog stock JSON not working; so relevant tags can not be created on header.
4- Breadcrumb for the current product always displaying "Back" link instead of the category link the product belongs. Is there any way to force the breadcrumb display the first category of the current product?
5-There is a setting to display On Request text instead of Add to Basket form if there is no given price for the product. But I think <?= $enc->html( $this->translate( 'client', 'on request' ) ) ?> setting is located inside the "if price available" condition. So if the product has no price, 'on request' text is not displayed.
6-Locale selector for Typo3 doesn't need language parameter as it already has language selector, so using it with only Currency selector option works as expected with the setting:
plugin.tx_aimeos.settings.client.html.locale.select.subparts {
0 = currency
}
But ai[locale]=en parameter still exist on URL when you use currency selector and that confuses Typo3. Is there any setting to remove "locale" parameter and leave the ai[currency]=EUR parameter alone on URL?
7- We need to remove CSS files of the Plug-ins for different template design. Is there any typoscript setting to remove for example only catalog-detail.css file?
Leaving the plugin.tx_aimeos.settings.client.html.catalog.detail.template-header setting empty is removing the related .js files and meta tags and not useful for this case.
Re: Several Issues & Topics
Thank you for your post!
If you select the language in the navigation of the Aimeos backend, it will only stay until you leave the Aimeos backend and this was the case before too. But we've fixed using the language of your TYPO3 backend user so that one is now always used again.
https://github.com/aimeos/aimeos-typo3/ ... hp#L58-L63
We are unable to reproduce this issue. Can you post a stack trace of the error?
The dark/light mode problem has been fixed and the fix will be part of the next release.
If you select the language in the navigation of the Aimeos backend, it will only stay until you leave the Aimeos backend and this was the case before too. But we've fixed using the language of your TYPO3 backend user so that one is now always used again.
This has been fixed too.
If you overwrite the common/partials/products.php and add the f_catid to the catalog details link (with same name), the breadcrumb will be shown for that category. We will see if we make that configurable.
The "on request" text is shown if the product has a price item but the price value is an empty string (not "0.00"). You need a price item because otherwise, the product can't be put into the basket.Metalics wrote: ↑22 Jun 2023, 00:01 5-There is a setting to display On Request text instead of Add to Basket form if there is no given price for the product. But I think <?= $enc->html( $this->translate( 'client', 'on request' ) ) ?> setting is located inside the "if price available" condition. So if the product has no price, 'on request' text is not displayed.
It's possible to overwrite the locale/select/currency-body.php template and build your own selector.Metalics wrote: ↑22 Jun 2023, 00:01 6-Locale selector for Typo3 doesn't need language parameter as it already has language selector, so using it with only Currency selector option works as expected with the setting:
plugin.tx_aimeos.settings.client.html.locale.select.subparts {
0 = currency
}
But ai[locale]=en parameter still exist on URL when you use currency selector and that confuses Typo3. Is there any setting to remove "locale" parameter and leave the ai[currency]=EUR parameter alone on URL?
The best way is to create a new theme and change the CSS/JS files you want to modify. Copy the aimeos/Resources/Public/Themes/default/ folder e.g. to /fileadmin/theme/ and change the configuration to use the new theme in the Resources/Private/Config/resource.php of your own Aimeos extension. Here's the standard configuration:Metalics wrote: ↑22 Jun 2023, 00:01 7- We need to remove CSS files of the Plug-ins for different template design. Is there any typoscript setting to remove for example only catalog-detail.css file?
Leaving the plugin.tx_aimeos.settings.client.html.catalog.detail.template-header setting empty is removing the related .js files and meta tags and not useful for this case.
https://github.com/aimeos/aimeos-typo3/ ... hp#L58-L63
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Several Issues & Topics
Error disappeared after applying JSON fixes and scheduler task manager indicating "Task ...... has been executed" message after running product/catalog import job. But there is nothing imported when I check and there is no import "Started/Finished" log in madmin_log
Problem seems to be fixed but now menu dropdown (childs) doesn't show up.
I also tried to fix catalog count visibility issue on GitHub. Problem is for sure caused by :scope selector in catalog-filter.js but I when I check aimeos demo for laravel (https://laravel.demo.aimeos.org) it is working. But typo3 (https://typo3.demo.aimeos.org/shop) not working.
Re: Several Issues & Topics
What does that mean? Can you post a screenshot?
The problem is the selector: "> a.cat-link" works only when jQuery is included, ":scope > a.cat-link" is the standard compatible DOM selector but doesn't work with jQuery. Maybe the solution discussed in the Github issue works.Metalics wrote: ↑03 Jul 2023, 12:02 I also tried to fix catalog count visibility issue on GitHub. Problem is for sure caused by :scope selector in catalog-filter.js but I when I check aimeos demo for laravel (https://laravel.demo.aimeos.org) it is working. But typo3 (https://typo3.demo.aimeos.org/shop) not working.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Several Issues & Topics
This problem still exists. Aimeos Scheduler Jobs not working with Typo3 V12.x.x & Aimeos V23.x.xMetalics wrote: ↑03 Jul 2023, 12:02Error disappeared after applying JSON fixes and scheduler task manager indicating "Task ...... has been executed" message after running product/catalog import job. But there is nothing imported when I check and there is no import "Started/Finished" log in madmin_log
Re: Several Issues & Topics
Please keep in mind that the directory from where the files are imported has been changed. Before, you had to set the absolute directory where the files are stored (which was a problem for multi-server environments).
Now, the files are used from a sub-directory of a virtual file system:
https://github.com/aimeos/aimeos-typo3/ ... ce.php#L76
For product and catalog imports, the directories are:
See:
https://aimeos.org/docs/latest/cronjobs ... sv-import/
https://aimeos.org/docs/latest/cronjobs ... sv-import/
Now, the files are used from a sub-directory of a virtual file system:
https://github.com/aimeos/aimeos-typo3/ ... ce.php#L76
For product and catalog imports, the directories are:
Code: Select all
<TYPO3 public dir>/uploads/tx_aimeos/.secure/import/product/
<TYPO3 public dir>/uploads/tx_aimeos/.secure/import/catalog/
https://aimeos.org/docs/latest/cronjobs ... sv-import/
https://aimeos.org/docs/latest/cronjobs ... sv-import/
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Several Issues & Topics
Thank you, working perfectly.