No value for key "affSetting" found

How to configure and adapt Aimeos based shops as developer
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!
Rathod Narendra
Posts: 2
Joined: 10 Feb 2022, 09:33

No value for key "affSetting" found

Post by Rathod Narendra » 17 Feb 2022, 05:13

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

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

Re: No value for key "affSetting" found

Post by aimeos » 18 Feb 2022, 08:15

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, Image give us a star

Post Reply