Reset prices to base

If you have market specific prices set for your items in Fillz and you would like to remove them and have everything priced at base price, run this:

var item = FILLZ.ITEM.v1;
return item.base_price; 

If you only want to reset prices to base price if the old price isn’t $0.00 (leaving $0.00 which filters items from marketplaces), run this:

var item = FILLZ.ITEM.v1;
if (item.old_price) return item.base_price;

If you only want to reset prices to base price for a particular marketplace, run this:

var item = FILLZ.ITEM.v1;
if (FILLZ.venue == 'abebooks') return item.base_price;
Have more questions? Submit a request