Display Variables in blade files

Help for integrating the Laravel package
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!
kartikbhat
Posts: 40
Joined: 02 Dec 2021, 17:18

Display Variables in blade files

Post by kartikbhat » 08 Apr 2022, 14:39

How can I display these fetched products data on .blade.php files ?

Code: Select all

$products = \Aimeos\MShop::create( $context, 'product' );

Suggest me how Can I loop it and fetch logo, supplier info from these....

TIA

User avatar
aimeos
Administrator
Posts: 7924
Joined: 01 Jan 1970, 00:00

Re: Display Variables in blade files

Post by aimeos » 11 Apr 2022, 10:11

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
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply