Support » Plugin: WooCommerce » Product Category Slug Appending Parent Category Slug

  • Resolved Krunal Prajapati



    I am creating WooCommerce product categories programmatically with wp_insert_term function

    I am facing issue with slug of product category, I am passing simple slug what I need but it’s updating by appending parent category’s slug, which I want to fix

    Here is the example
    In above example Webshop is parent category and Meubels is child category, I want Meubels category slug to be only meubels instead of meubels-webshop

    Thank you for help!


Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.