No value for key "affSetting" found
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 2
- Joined: 10 Feb 2022, 09:33
No value for key "affSetting" found
Hello,
When I configure shop.php with 'account/profile', I got "No value for key 'affSetting' found" an error but I have the affiliate setting data on the database.
'page' => [
'account-index' => ['account/profile','account/history','account/favorite','account/watch','basket/mini'],
]
With 'account/profile' => https://prnt.sc/26xg7jo
Without 'account/profile' => https://prnt.sc/26xg80y
Checkout page => https://prnt.sc/26xgoce
PHP- 7.4.26
Composer- 2.2.5 2022-01-21 17:25:52
Laravel Framework- 6.20.44
When I configure shop.php with 'account/profile', I got "No value for key 'affSetting' found" an error but I have the affiliate setting data on the database.
'page' => [
'account-index' => ['account/profile','account/history','account/favorite','account/watch','basket/mini'],
]
With 'account/profile' => https://prnt.sc/26xg7jo
Without 'account/profile' => https://prnt.sc/26xg80y
Checkout page => https://prnt.sc/26xgoce
PHP- 7.4.26
Composer- 2.2.5 2022-01-21 17:25:52
Laravel Framework- 6.20.44
Re: No value for key "affSetting" found
It doesn't matter what you have in the database, in the view only the values you assign to the view are recognized. If you've added an item property in the database, you have to access the item and then the property, e.g.:
Code: Select all
$this->profileCustomerItem->affSetting
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