Show product catalog in catalog/lists
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 12
- Joined: 23 Feb 2020, 10:32
Show product catalog in catalog/lists
I want to access products categories in products grid. In template file "common/partials/products-standard.php"
Code: Select all
$productItem->getRefItems( 'catalog', 'default', 'default' )
Re: Show product catalog in catalog/lists
That's currently only possible in dev-master. I think we can port that back to 2019.10 and then it will be:
to retrive the categories.
Code: Select all
$product->getCatalogItems();
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
-
- Posts: 12
- Joined: 23 Feb 2020, 10:32
Re: Show product catalog in catalog/lists
Can you guide or link some documentation?
It'd be very helpful.
It'd be very helpful.
Re: Show product catalog in catalog/lists
Please execute
Then, the latest 2019.10-dev version will be installed and you can use the new method. Make sure you add "catalog" to this configuration:
https://aimeos.org/docs/Configuration/C ... st/domains
Otherwise, the method will return an empty array.
Code: Select all
composer req aimeos/aimeos-core:2019.10.x-dev
https://aimeos.org/docs/Configuration/C ... st/domains
Otherwise, the method will return an empty array.
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