KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: josie on August 31, 2012, 12:15:59 pm

Title: engIf.getRelatedWithProductOptions
Post by: josie on August 31, 2012, 12:15:59 pm
We are trying to call this method with InvertRelatedProductDirection is set to true but it doesn't work. Do you have any known problems with this methos. We are trying to get all bundles where one product is included. Can you help us?

Thanks,

Josie
Title: Re: engIf.getRelatedWithProductOptions
Post by: ryan on September 03, 2012, 02:06:25 pm
As far as I'm aware, it should work fine.
Title: Re: engIf.getRelatedWithProductOptions
Post by: josie on September 04, 2012, 01:27:05 pm
Do I have to set any other attributes in FetchProductOptions object beside InvertRelatedProductDirection for getting method to work properly?
Title: Re: engIf.getRelatedWithProductOptions
Post by: ryan on September 05, 2012, 08:01:42 am
No, that's all you should need to do. Why don't you switch on database logging and look at the query being generated? That should give you some clues.
Title: Re: engIf.getRelatedWithProductOptions
Post by: josie on September 07, 2012, 09:03:45 am
Problem was in DataDescriptor - if it was null it didn't work. When I setted offset and limit of DataDescriptor, it started working. Maybe this should be part of some documentation.