Consider amazon a competitor

From MediaSell

Jump to: navigation, search

This snippet will beat amazon's price by a penny, if they offer the item:

price = item.basePrice;
amzPrice = getAmazonPrice();
if (amzPrice > 0 && amzPrice <= price) {
  price = amzPrice - 0.01;
}
return price;
Personal tools