M
M
Moor2017-11-17 18:21:07
Taxonomy
Moor, 2017-11-17 18:21:07

How to create custom taxonomies with products in Woocommerce?

Aloha community!
I'm going to put advanced filters for products in Woocommerce, I haven't touched this topic before, a little in a stupor. How do I link products to taxonomies?
For example, there is a product, let's call it Cheburashka. For him there is: an
age limit of 10 years,
can have from 2 to 5 ears,
in the category "hairy"
in the category "eared"
manufacturer - "Babkinskaya miracle toy".

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Vorotnev, 2017-11-17
@Moor

Option 1 - use product attributes. That's what they exist for.
Option 2 - register your taxonomies and link them to products with register_taxonomy_for_object_type()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question