create own basket type to show basket in another template

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!
Ahmad
Posts: 72
Joined: 05 Jul 2017, 15:19

create own basket type to show basket in another template

Post by Ahmad » 21 Aug 2020, 10:19

use aimeos laravel 2020.04:
i want to create my own basket type (template) without change current basket mini, i want to show this basket type in a sidebar with $aibody["basket/sidebar"],
i mean i want to keep basket mini and add my custom basket sidebar
how can i do this?

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

Re: create own basket type to show basket in another template

Post by aimeos » 22 Aug 2020, 10:13

Think, the best way is creating a new component, e.g. "basket/custom". You can copy/paste/adapt the files from the basket/mini component in the ai-client-html extension and add it to your Blade templates as "basket/custom" in the aimeos_head section.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply