capabilities.work

Create Nested Category and Product

A 3-step recipe with WooCommerce. We can help you get access.

Recipe · 3 steps

Create Nested Category and Product

with WooCommerce · Product Lifecycle Management

Create a parent category, a child category, and a product in the child.

  1. Create the top-level parent product category.
  2. Create a child category nested under the parent category.
  3. Create a product assigned to the child category.
What you'll need to have ready
  • parentName: Name of the parent category to create.
  • childName: Name of the child category to create under the parent.
  • productName: Name of the product to create in the child category.
  • regularPrice: Optional regular price for the product as a decimal string.
For your developer

Arazzo workflow woocommerce:create-nested-category-product, 3 operations: createProductCategory → createProductCategory → createProduct. Specs on APIs.io.