error: No item found for conditions: Array ( [attribute.code

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!
bill
Posts: 51
Joined: 24 Apr 2017, 17:51

error: No item found for conditions: Array ( [attribute.code

Post by bill » 21 Sep 2017, 21:26

I am getting an error that shows up everytime I add a product to cart

No item found for conditions: Array ( [attribute.code] => custom [attribute.domain] => product [attribute.type.code] => price [attribute.type.domain] => product )

do you know what is the issue?

thanks

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

Re: error: No item found for conditions: Array ( [attribute.

Post by aimeos » 22 Sep 2017, 14:34

You have enabled the special price feature for custom prices in your product.
Do you changed or removed the custom price attribute in the administration interface (attribute panel)?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

bill
Posts: 51
Joined: 24 Apr 2017, 17:51

Re: error: No item found for conditions: Array ( [attribute.

Post by bill » 22 Sep 2017, 17:19

thank you

but where in the admin area I can add that custom price? I didnt remove it

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

Re: error: No item found for conditions: Array ( [attribute.

Post by aimeos » 23 Sep 2017, 08:49

Please have a look at these screenshots. Most probably, you've changed or removed the custom price attribute in the first screen shot
Attachments
Attribute for custom product prices
Attribute for custom product prices
admin-attribute-price.png (54.02 KiB) Viewed 3220 times
Custom price feature in product detail panel
Custom price feature in product detail panel
admin-special-price.png (44.84 KiB) Viewed 3220 times
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Urs
Posts: 3
Joined: 26 Sep 2017, 14:41

Re: error: No item found for conditions: Array ( [attribute.

Post by Urs » 26 Sep 2017, 14:53

I have the same without custom price, in the backend as in the frontend:

No item found for conditions: Array ( [attribute.code] => custom [attribute.domain] => product [attribute.type.code] => price [attribute.type.domain] => product )

When I want to save changes of product in the backend or when I choose a product for the cart in the frontend, I geht this message.
The last thing I did: change the positions of the product in the catalog list and in the scheduler I was running "Catalog Index Rebuild".

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

Re: error: No item found for conditions: Array ( [attribute.

Post by aimeos » 27 Sep 2017, 08:27

You can always recreate these attributes by running the Aimeos setup
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Urs
Posts: 3
Joined: 26 Sep 2017, 14:41

Re: error: No item found for conditions: Array ( [attribute.

Post by Urs » 27 Sep 2017, 15:30

Thank you. Actually there was an attribute missing. Now it works fine.

Post Reply