Exclude items by item note

This script will prevent items from being sent to any marketplaces if there is an * anywhere in the note field of a listing:

var item = FILLZ.ITEM.v1;
if (/[*]/.test(item.note)) return 0;

This can be written to apply only to only specified marketplaces (so the items will be sent to any marketplaces that aren’t specified in the script. This example will prevent items with an * in the note field from being sent to AbeBooks, but it will send the items to any other marketplaces:

var item = FILLZ.ITEM.v1;
if (FILLZ.venue == 'abebooks') {
  if (/[*]/.test(item.note)) return 0;
}
Have more questions? Submit a request