PDA

View Full Version : Merchant / Product List


Opakapaka
08-10-07, 23:14
I am trying to get a list of products for a specified merchant. I cant seem to use any of the calls in the ps_client.php. SearchProduct always wants us to specify a search string.

What I really need is an extended getMerchant that will also return an array of products.

Any suggestions would be gratefully received.

Many thanks
Donna :)

Andy
19-10-07, 14:11
The url:
http://www.YOURSITE.com/category.php?m={mID}

(where {mID} = merchant ID)

Will get a full list of products specific to that merchant.

the &m=[] parameter returns products for that specific merchant in the search function too.
eg:
search for Microwaves:
category.php?c=369&q=microwaves

search for microwaves from Comet:
category.php?c=369&m=157&q=microwaves

good eh?:D

Opakapaka
19-10-07, 14:45
Cheers for that. I will give it a go.