Changing header & body for mini basket?
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!
Re: Changing header & body for mini basket?
In my AppServiceProvider.php I have this in boot()
this is getting me an error:
Do you know what is going on with this?
Code: Select all
public function boot()
{
$minibasket = app( '\Aimeos\Shop\Base\Page' )->getSections( 'aimeosall' );
view()->share('var', $minibasket);
}
Code: Select all
[InvalidArgumentException]
Route [aimeos_shop_jsonapi_options] not defined.
Re: Changing header & body for mini basket?
in my config/app.php I have changed the order
now I am getting not getting the error but the mini cart but its always empty, you know why?
Code: Select all
'providers' => [
Aimeos\Shop\ShopServiceProvider::class,
App\Providers\AppServiceProvider::class,
Re: Changing header & body for mini basket?
Have you tried to move both Laravel service providers at the end of the array? Could be that required services aren't instantiated when you put the Aimeos service provider and yours first.
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