Page 1 of 1

Decorator does not retrieve basket items any more

Posted: 24 Aug 2017, 10:38
by Innonic
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...

Re: Decorator does not retrieve basket items any more

Posted: 25 Aug 2017, 07:57
by aimeos
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.

Re: Decorator does not retrieve basket items any more

Posted: 25 Aug 2017, 09:46
by Innonic
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: