View Full Version : GetGiftFinderOptions
According to the wiki GetGiftFinderOptions (http://wiki.affiliatewindow.com/index.php/GetGiftFinderOptions) takes 1 optional parameter iAdult but I can't seem to get a response from it.
I've tried passing in array('iAdult' => 0) and array() but all I get back is "Error(s) found."
Could someone please confirm this call's parameters and perhaps suggest why I'm not getting a response? Thanks.
Hi authcode,
Have raised this with dev who will be able to test this.
I am not sure how many (if any) adult products will be available in the GF, do you get products if the filter is set to 1?
Cheers
I get the same error regardless of the value of iAdult. I would normally use "1" but I gave the example of "0" because this would give the best chance of returning something, being all products not just adult only. Even if there are no adult products in the gift finder I should still get everything else back using "0".
With it being optional, what happens when you remove it?
Basically, under what circumstances can you get products appearing? All of this I can relay to hopefully speed up a solution.
Cheers
Nothing happens when I remove it. I've tried it with different values and without it at all (array()). I always get a soap error response.
This call doesn't return products, it returns the refine by options for the gift finder. I've gotten getGiftFinderProductList to work just fine, which also returns these refinebys along with the products, but this call is there to build the gift finder interface without having to return products as well.
I've worked around the problem by using getGiftFinderProductList with a limit of 1, but this seems like a waste of server resources when there is a specific call to get the refinebys without doing this.
I was just wondering why I couldn't get getGiftFinderOptions to work.