Skip to main content

Hi, 

I’m hoping someone can help me with this seemingly simple issue - I can’t figure out how to add a product but add it into more than one category. 

I’m trying to do this via the WooCommerce Zapier integration.

I’ve tried: 

did: xx],pid: yy]

and

xx,yy

and

>id: xx]

id: yy]

and everything else I can think of. 

Is there a format that will work?

Eg:

 

Hi @BradZA,

 

It looks like the Zap does support Line Items. If it doesn’t accept it in the format “xx yy” then I would guess you will need to add a step that precedes the add product step to create the array. You can use the Formatter by Zapier action > Utilities > then text to line-items. The formatter will take the text you enter and turn it into an array which you can pass into the category step. 


Check the WooCommerce API for clues about how to format the Categories.

https://woocommerce.github.io/woocommerce-rest-api-docs/#update-a-product

Might have to use the WC API via. Code or Webhook step rather than an available Action step.