Feteching data from repository
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!
Feteching data from repository
I would need to fetch certain details from mshop_catalog and mshop_product tables. Can I get the repository names of these for object injection??
Re: Feteching data from repository
Aimeos doesn't use ExtBase for managing and retrieving data. That wouldn't be portable and too slow.
Instead, you should use the Aimeos managers to get the data you need:
https://aimeos.org/docs/Developers/Libr ... ging_items
To get the necessary Aimeos context in TYPO3, use
or if you extend from "Aimeos\Aimeos\Controller\AbstractController":
Instead, you should use the Aimeos managers to get the data you need:
https://aimeos.org/docs/Developers/Libr ... ging_items
To get the necessary Aimeos context in TYPO3, use
Code: Select all
$config = \Aimeos\Aimeos\Base::getConfig();
$context = \Aimeos\Aimeos\Base::getContext($config);
Code: Select all
$this->getContext();
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Feteching data from repository
Thank you. It was helpful.