For my e-commerce site I'm trying to implement product "Brands", say Samsung, Nokia etc for each product. I want to create a new category type "Brands" & one product can be assigned to only one "Brands" category.
Products are implemented by a custom post-type called "Products" by WooCommere plug-in.
I'm using woocommerce plug-in. This plug-in already has a "product category" option that allows products to be assigned to categories, I want to keep it intact, because I want to have different product categories like "electronics", "clothes", "household" etc. Keeping this category intact, I want to create a new category type called "Brands" which will be applicable to products.
Any Idea on how I can write a plug-in to create a custom category called "Brands" and display it in the "Create new Product" admin page (typical wordpress admin page for creating new post)? I also want to restrict one product to one category only.
I'm new to Wordpress so your suggestion will be extremely helpful to me.