While the command to
DELETE ALL CATEGORIES IS - wp term list product_cat --field=term_id | xargs wp term delete product_cat
AND
DELETE ALL THE PRODUCTS IS - wp post list —field=ID —post_type=product | xargs wp post delete —force
what would be the command to select products from a specific category/categories and delete them.
Help much appreciated.