Jump to content

Is this possible?


Robert Weaver

Recommended Posts

To search for vendor listings that carry a particular product shown in a product listing.

 

For example:

 

Say I have 2 directories, one for vendors and one for products.

 

In the vendor directory, there is a custom field for the vendor's product list. Called jr_productlist for example. It is a text field, with a list of all the product names that vendor carries. For example:

 

Vendor A could have this text in that field:

 

Product A

Product B

Product D

 

Vendor B, could have this text in that field:

 

Product A

Product C

Product D

 

The other directory is a directory of all possible products, including Product A, Product B, Product C and Product D. Each one is its own listing.

 

Say a user is searching or browsing in the Product directory, and is looking at the listing details page for Product B. On that page, there is a link to click on, that says, "Find vendors who carry Product B"

 

When the user clicks on that link, a search is performed on the field jr_productlist in the Vendor directory, and the results of the search is a list of the vendors for which  jr_productlist had a match for that product title. Each vendor's title is clickable and the link leads to listing details page for that vendor.

 

If the user is on the Product B listing page and clicks on that link, the only result would be Vendor A.

If the user is on the Product C listing page and clicks on that link, the only result would be Vendor B.

If the user is on the Product D listing page and clicks on that link, the results would be Vendor A and Vendor B.

 

A more advanced version would even perform the search automatically, as soon as the user is on a product listing page, count the vendors who have that product and present a link saying something like "7 vendors carry this product."

 

This would be similar Amazon where you see a list of sellers you can buy a particular item from.

 

Is this possible in jReviews? I assume some custom code would have to be written to do this.

 

Thank you for your help.

Link to comment
  • 2 weeks later...
×
×
  • Create New...