Decorator does not retrieve basket items any more

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!
Innonic
Posts: 43
Joined: 24 Nov 2015, 21:03

Decorator does not retrieve basket items any more

Post by Innonic » 24 Aug 2017, 10:38

Hello,

I got a new problem. I didn't change anything concerning my decorator (at least I'm not aware I did something).
The decorator worked fine before.

Now it seems it can't retrieve the items of the basket any more:

Code: Select all

sizeof($propertyManager->searchItems( $search ))
returns 0.

That causes weight, size, etc. to be 0 which causes wrong delivery costs...
Right now I don't know where to start. What could have happened here?

I didn't change the item properties either...

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

Re: Decorator does not retrieve basket items any more

Post by aimeos » 25 Aug 2017, 07:57

Can you post your decorator's code? I guess the problem is in your data because I'm also not aware of any change that would cause this problem.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Innonic
Posts: 43
Joined: 24 Nov 2015, 21:03

Re: Decorator does not retrieve basket items any more

Post by Innonic » 25 Aug 2017, 09:46

Hello,

I found the problem. I was wrong with what I said, I DID make a change: I renamed the property type code of products and forgot to adapt that in the decorator.

I really feel ashamed of having opened an issue for that. So please accept my apology. :oops:

Post Reply