PDA

View Full Version : Price Min/Max for getProductList


authcode
03-04-07, 18:04
I'd like to be able to pull products within a certain price range from a certain category. Only the searchProduct request has this functionallity but does not return any results without a search query. Obviously if I provide a search query I won't be getting back all the products. This is vital to my site's front end which I designed thinking that getProductList supported price ranges. Any chance of adding that in sometime soon?
Cheers.

arthomas
03-04-07, 19:55
I agree I think this would be very useful for customers and a very powerful selling tool as well. I have seen a lot of major selling sites using this technique could this be done ??

Thanks guys P.S. Loving the set up getting to grips with it now.

madstock
03-04-07, 20:42
The problem with this sort of thing generally is getting the "banding" right - i.e. prices of 42" TVs are different from that of CDs, and where

£0-4.99
£5-9.99
..etc..

works for the CDs, it doesn't for t'other.

The work involved therefore would normally involve:

1. Collating the total number of products within your search (e.g. 18,000 CD's)
2. From the selection of 18,000 working out what the mininum and maximum prices are
3. Working out bandings that are sensible within those ranges.

All of the above would be done on-the-fly, and as such could lead to slower response times.

One possible solution may well be to say "when product category = x , price bandings = x", however once again you run the risk of having disproportionately large groupings of products (e.g. CDs between £4.99 and £9.99), which sort of renders the excersise somewhat invalid.

'Tis an interesting problem that I'm sure Awin will handle in an appropriate manner, however if the performance trade-off is too great, I would gladly avoid adding it to my existing sites.

authcode
03-04-07, 22:56
If this functionality was added as min and max price parameters to the getProductList request I don't see why it would take any more time to process than the searchProduct request currently takes.
As for the price banding, that's a valid point but it all depends on how you choose to expose that functionality to your site's visitors. It's not so much of a problem for the API, unless of course the processing time is an issue.

authcode
02-05-07, 11:20
My site is live now but I've had to drop the price filtering feature because there's no way to implement it without a price min/max parameter on getProductList. I'd appreciate it if someone from AW could comment on the likelyhood/feasibility of this functionality being added in the near future. Thanks!