Indexes of page array from shop.php

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

Indexes of page array from shop.php

Post by kartikbhat » 02 Apr 2022, 11:37

Code: Select all

'page' => [
	'basket-index' => [ 'basket/bulk', 'catalog/tree', 'catalog/search', 'basket/standard', 'basket/related' ]
]
part of config/shop.php file,

what these 'basket/bulk' , 'catalog/tree', 'catalog/search', 'basket/standard' ,'basket/related'
components indicates ?
where to locate these things in the package ?
please do suggest me to locate this

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

Re: Indexes of page array from shop.php

Post by aimeos » 04 Apr 2022, 10:22

These are the components that are available and maps to the HTML client classes here:
https://github.com/aimeos/ai-client-htm ... lient/Html
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

kartikbhat
Posts: 40
Joined: 02 Dec 2021, 17:18

Re: Indexes of page array from shop.php

Post by kartikbhat » 04 Apr 2022, 14:14

If I want create more custom pages then?
I will create a new index under shop.php under page 'index'
then I will create respective folder under templates folder
then am I able to call/fetch data from database at php files created src/Client/Html using Laravel syntax ?
then how can load this custom pages using route ? where I need to write those routes ?

Provide me these information
TIA :)

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

Re: Indexes of page array from shop.php

Post by aimeos » 06 Apr 2022, 09:48

If you want to create custom pages, you should use Laravel controller actions directly and fetch the data of your custom tables using Eloquent. You usually don't need the abstraction of Aimeos for data that is only relevant for your project.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply