I was able to create a workaround in the v2 plugin, but it requires you modify the core plugin.
After line 63 in “/includes/api/class-mailchimp-woocommerce-transform-products.php”, which is this:
$product->setUrl($woo->get_permalink());
Just add in this code:
// Set vendor to comma separated value of categories
$product->setVendor(strip_tags(wc_get_product_category_list($woo->get_id(), ',')));
One caveat is that it pulls in ALL categories in a CSV format, so you’ll have a LOT of variations. If you have a product that’s in “Category 1” it will add “Category 1” to the MC category list. If you have a product that’s in “Category 1” and “Category 2” it will add “Category 1,Category 2” to the MC category list. Pretty much any category variation.
-
This reply was modified 7 years, 9 months ago by
bstump.