L
L
Lev Rozanov2017-10-20 12:57:49
Online shopping
Lev Rozanov, 2017-10-20 12:57:49

If a product belongs to multiple categories in WooCommerce?

Good day!
There is an online cosmetics store. For the convenience of users, the following structure of categories has been created:
- What?
- Mascara
- Powder
- For what?
- For the eyes
- For the face
- From whom?
- Loreal
- Faberlic
For example, let's create a product "Black mascara (3 g)". This product belongs to several categories:
- What? - Mascara
- For what - For the eyes
- From whom? - Loreal
In the canonical link I specify site.ru/chto/tush/tush-chernaya
Now about the problem. When you open a product, the permalink consists of a path under the category "From whom?", and breadcrumbs are made up of a path under the category "For what?".
How can you influence the permalink and breadcrumbs to be based on what is set in the canonical link. Not necessarily automatic, the main thing is that you can change it.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Vorotnev, 2017-10-20
@MetisKot

Why not use product attributes, which are already like a taxonomy and provide everything you need. In addition, it is an integral part of WooCommece. And there are permalinks. More details - in the clarifications to the question .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question