Display Variables in blade files
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 40
- Joined: 02 Dec 2021, 17:18
Display Variables in blade files
How can I display these fetched products data on .blade.php files ?
Suggest me how Can I loop it and fetch logo, supplier info from these....
TIA
Code: Select all
$products = \Aimeos\MShop::create( $context, 'product' );
Suggest me how Can I loop it and fetch logo, supplier info from these....
TIA
Re: Display Variables in blade files
Blade files are just PHP files with additional syntax and you can use the same code as in the Aimeos PHP templates:
https://github.com/aimeos/ai-client-htm ... l/body.php
https://github.com/aimeos/ai-client-htm ... l/body.php
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