i have been trying to use WP CLI to export custom post type 'product' from custom taxonomy 'product_brand'. however, my command is exporting a random list of products, from other brands. it also is not exporting any variations.
here is my command:
wp post list --post_type=product --fields=ID,post_title --tax_query='[{"taxonomy":"product_brand","field":"slug","terms":"dassy"}]' --format=csv --include=children > dassy_products.csv
--product_brand=dassy
? WooCommerce variations likely needs a question asked in a WooCommerce community, WooCommerce probably has its own WP CLI subcommands too