You are here:  » Drop product if quantity field is 0


Drop product if quantity field is 0

Submitted by webman on Wed, 2018-02-07 02:51 in

Hi David,

Hope all is happy and healthy in your neck of the woods. :)

Just a quick question:

Is it possible to set up a filter to drop a record ( or not import a product) from a feed with a quantity of 0?

Many Thanks

Les :)

Submitted by support on Wed, 2018-02-07 09:13

Hello Les,

If you use Drop Record RegExp against your custom `quantity` field using as the expression;

/(^$|^0$)/

...that will drop if the field is empty, or zero.

Cheers,
David.
--
PriceTapestry.com

Submitted by webman on Wed, 2018-02-07 12:02

Thank you! :)