• Resolved vale2302

    (@vale2302)


    I am building a website where I am using CPT Plugin and Woocommerce and a CPT named :”Manufacturer”

    I have a situation with the Categories for the Maufacturer CPT and Woo Product-Categories
    and i don´t want to jeopardize functionality.
    Here´s the scenario:

    Woo product-category “Automation”
    CPT manufacturer manufacturer-category “Automation”

    Not sure If i can use a Tag called “Automation” on the CPT with the same name as Woo product-Category?
    See, I don´t want to share “by default” CPT and WOO categories and neither I want to use a Brand plugin for the purpose.

    Another solution is Perhaps to create a subcategory for Woo like this:: automation-parts

    slugs:

    woo: mysite.com/product-category/automation/xyz-connector

    CPT: mysite.com/manufacturer-category/automation/Allen Co.

    Any suggestion to this matter will be greatly appreciated

    • This topic was modified 5 years, 7 months ago by vale2302.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    I think as long as the slugs for the taxonomies are different, as a whole it should work out for you.

    For example, avoid trying to use “product_cat”, “product_tag”, and “product_attributes” so that you don’t overwrite those that come from WooCommerce.

    The issues are going to come in when it comes to the url. If it’s seeing “mysite.com/category/automation” and both have rewrite rules to turn “product-category” to “category” and “manufacturer-category” to “category”. It’s going to return inconsistent results for which taxonomy term archive to display.

    Thread Starter vale2302

    (@vale2302)

    I appreciate your attention Michael @tw2113
    I perhaps use the good-old “Type” in either Taxonomy Rewrite rules.

    Thanks again for your support

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Welcome.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cpt with Woocommerce: Sharing same Category name’ is closed to new replies.