Categories not showing up in select field of aimeos plugin
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!
Categories not showing up in select field of aimeos plugin
Hi
I created a category and assigned products to it. How ever in the content element plugin for the catalog list I cant select those. I would like to filter the products via the categories.
The select field is called "Default category if no parameter is available" but the options are not showing up.
Im on TYPO3 7.6.18, PHP 7.0.11 and aimeos 17.4.1
I created a category and assigned products to it. How ever in the content element plugin for the catalog list I cant select those. I would like to filter the products via the categories.
The select field is called "Default category if no parameter is available" but the options are not showing up.
Im on TYPO3 7.6.18, PHP 7.0.11 and aimeos 17.4.1
Re: Categories not showing up in select field of aimeos plug
Does the category doesn't show up or the products in the frontend?
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: Categories not showing up in select field of aimeos plug
the category doesn't show up in the content element "catalog list" in the backend.
Re: Categories not showing up in select field of aimeos plug
It works well in our test environment using Aimeos 17.4.1. Can you please post a screenshot of your category tree you've created and which contains the category not shown?
Is the category stored in the mshop_catalog table? Do you use different databases for one Aimeos instance?
Is the category stored in the mshop_catalog table? Do you use different databases for one Aimeos instance?
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: Categories not showing up in select field of aimeos plug
Im using only one database for TYPO3 and aimeos. The categories are stored in the database table "mshop_catalog" (see screenshot). The second screenshot shows the tree view for the categories in the aimeos module.
As you can see in the third screenshot the categories are not showing up as an option in the "catalog list" content element plugin.
As far as I understand it this is how you would display only a specific category in the catalog list. Correct?
As you can see in the third screenshot the categories are not showing up as an option in the "catalog list" content element plugin.
As far as I understand it this is how you would display only a specific category in the catalog list. Correct?
- Attachments
-
- first screenshot: database table
- 1_shop-database.PNG (40.8 KiB) Viewed 4062 times
-
- second screenshot: tree-list in the aimeos module
- 2_shop-categories.PNG (15.72 KiB) Viewed 4062 times
-
- third screenshot: "catalog list" plugin content element in the backend with the missing categories to choose from
- 3_shop-plugin.PNG (22.08 KiB) Viewed 4062 times
Re: Categories not showing up in select field of aimeos plug
Yes, that's correct.pixls wrote:As far as I understand it this is how you would display only a specific category in the catalog list. Correct?
Your first screenshot shows three root categories for that site (standard, schreinerei, mechanik), which might be the problem. Can you remove the records with the IDs 2 and 3?
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: Categories not showing up in select field of aimeos plug
I've deleted the 2 root categories with id 2 and 3 in the database. This didn't change anything though. Categories are still not showing up for selection.
Re: Categories not showing up in select field of aimeos plug
Is something in your Apache error.log file due to this line?
https://github.com/aimeos/aimeos-typo3/ ... og.php#L64
https://github.com/aimeos/aimeos-typo3/ ... og.php#L64
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: Categories not showing up in select field of aimeos plug
I'm getting the following catalog related error in the log.
Code: Select all
[Thu Jun 01 11:57:35.973114 2017] [proxy_fcgi:error] [pid 21580] [client 85.4.187.125:54783] AH01071: Got error 'PHP message: Site for code "test" not found\n#0 [internal function]: Aimeos\\MShop\\Locale\\Manager\\Standard->bootstrap('test', '', '', false)\n#1 /var/www/vhosts/xxx/yyy/typo3conf/ext/aimeos_pay/Resources/Libraries/aimeos/aimeos-core/lib/mshoplib/src/MShop/Common/Manager/Decorator/Base.php(51): call_user_func_array(Array, Array)\n#2 /var/www/vhosts/xxx/yyy/typo3conf/ext/aimeos/Classes/Flexform/Catalog.php(54): Aimeos\\MShop\\Common\\Manager\\Decorator\\Base->__call('bootstrap', Array)\n#3 [internal function]: Aimeos\\Aimeos\\Flexform\\Catalog->getCategories(Array, Object(TYPO3\\CMS\\Backend\\Form\\FormDataProvider\\TcaSelectItems))\n#4 /var/www/vhosts/xxx/yyy/typo3_src-7.6.18/typo3/sysext/core/Classes/Utility/GeneralUtility.php(4377): call_user_func_array(Array, Array)\n#5 /var/www/vhosts/xxx/yyy/typo3_src-7.6.18/typo3/sysext/backend/Classes/Form/FormDataProvider/AbstractItemProvider.php(70): TYPO3\\CMS\\Core\\Utility\\GeneralUtility::callUserFunction...\n', referer: http://yyy/typo3/index.php?M=web_layout&moduleToken=20515259124287af8a7e2ea9b85f6fafe4f861a1&id=355&
Re: Categories not showing up in select field of aimeos plug
Then you have configured a non-existing Aimeos site in the TYPO3 page TS for that page or a parent page
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