You are here:  » Best eBay Price (Buy it Now) in Price Comparison Table


Best eBay Price (Buy it Now) in Price Comparison Table

Submitted by philstone on Fri, 2013-09-20 14:41 in

Hi David

I have just added the top eBay result to my search & product page when applicable, but I was wondering is it possible where products are Buy it Now only and listed as New only, to include the best price result from ebay based on a matching ean number?

Regards

Phil
Buy24-7.net

Submitted by support on Fri, 2013-09-20 15:08

Hello Phil,

To save a round-trip by email, please could you make the following change to your ebay.php. Look for the following code at line 26:

  print "</tr>";

...and REPLACE with:

  if (isset($_GET["debug"]))
  {
    print "<td><pre>".print_r($item,TRUE)."</pre></td>";
  }
  print "</tr>";

And then drop me an email with a deep-link to one of your product pages that is showing eBay results with Buy It Now / New results, and I'll visit the page with debug enabled which will reveal the full contents being returned by the API so that I can see how EAN is represented, from which I'll be able to create a "universal" version of the eBay API script that will work in a similar way to the Amazon version...

Thanks,
David.
--
PriceTapestry.com