FillZRepricingOther

From MediaSell

Jump to: navigation, search

Contents

[edit] Global Discount

This script applies a 10% discount globally to your items for the marketplaces being processed:

discount = 0.10;
price = item.basePrice;

return price * (1 - discount);

[edit] Discount Items added before Date

This script will apply a 15% discount to items added to FillZ prior to July 2006

discount = 0.15;
price = item.basePrice;
openDate = item.open_date;

if (openDate < '2006-07-01') {
  return price * (1 - discount);
}

[edit] Reset All Items to Base Price

The following script is all you need to reprice one or more marketplace's items to your base price in FillZ:

return item.basePrice;


[edit] Adjust UK exchange rate and shipping

The following script will allow you to adjust the exchange rate and shipping stipend for Amazon.co.uk:

//Please ensure that "Send market-specific prices as is
//  - do not perform currency conversion?" is checked on
// the settings page if you use this script.
//
//Your base price should be in US dollars, and Amazon.co.uk
// should expect your prices in UK pounds.
EXCHANGE_UK = 2.0;
SHIPPING_UK = 6.00;

price = item.basePrice;
if (marketplace == 'AmazonUK') {
 price = (price + SHIPPING_UK) / EXCHANGE_UK;
}

return price;

[edit] Marketplace-specific price cut

This snippet will discount the price for Custom1 items by 1%. For other marketplaces, please see the FAQ

 price = item.basePrice;
 if (marketplace == 'Custom1') {
   price = price * 0.99;
 }
 return price;

[edit] Consider Amazon as a competitor

This snippet will beat amazon's price, if they offer the item

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