You are here:  » Product description always from feed XYZ

Support Forum



Product description always from feed XYZ

Submitted by sdhunter on Tue, 2009-03-10 23:25 in

Sometimes feeds have really poor info for the description for a product and if they are the cheapest then pretty much zero info is offered. Is there a way to always just get the description from a certain feed for $mainProduct["description"]

I am also using custom feeds, so the idea would be to pull the text always from that feed.

Submitted by support on Wed, 2009-03-11 09:23

Hi,

Sure - have a look at the following thread for the code to do this - and there are instructions for both search results and the product page:

http://www.pricetapestry.com/node/2208

The modifications are in the 4th comment. As it stands, this will use the image and description from the merchant specified in the $imageMerchant variable, but if you only want to override the description, just comment out or delete this line from the mod:

          $searchresults["products"][$k]["image_url"] = $result[0]["image_url"];

If you're not sure about anything, feel free to email me the files and i'll make the changes for you...

Cheers,
David.