Keep Certain Items at Base Price
From FillZ
|
This snippet will keep items that have an * symbol anywhere in the note field at Base Price. Do not use this rule if you are using the * symbol for any other rules in your script. var item = FILLZ.ITEM.v1; var pat = /\*/; if (pat.test(item.note)) return item.base_price; |

