Cookbook › WooCommerce · Integration
Assign products to categories
Paste into ChatGPT or ClaudeCreate a product category “Furniture” and its child category “Desks”. Add the oak desk to Desks, keeping all its existing categories. Check the saved parent link and product categories.
Changes content or settings on your site. See the recipe below for approval requirements. Read only cannot make changes.
What happens
Section titled “What happens”- Your assistant checks the product’s existing categories and finds or creates the named categories.
- It sets the child category’s parent and adds the child to the product, preserving the other category assignments.
- It reads the saved category parent and the product’s complete category list back.
Good to know
Section titled “Good to know”- Creating each category and assigning the product are separate website actions.
- Tested on AI Puffer 2.5.14 and WooCommerce 11.2.1 in ChatGPT and Claude. Category merges, deletion and moving a whole catalog were not tested.
Need a variation of this recipe, or a different one? Request a recipe