Plugin Author
ndre
(@ndre)
Hello @vadim11111,
What shortcode and filter do you mean?
Hello @ndre
I mean shortcode that appears in admin panel (screenshoot https://cdn1.savepice.ru/uploads/2018/12/14/155c042f996ac65fb88fdf4c32ddd974-full.jpg). There is in standard taxonomy Category, but not in new creating “color” for example.
And about filter i mean that I can’t adding new taxonomy filter in widgets, anly standard taxonomy Category, nothing else. If I am explaining not clear please asking, I need to solve this problem very much.
-
This reply was modified 7 years, 3 months ago by
vadim11111.
Plugin Author
ndre
(@ndre)
Hello @vadim11111,
If you create a custom taxonomy it is not a part of eCommerce Product Catalog so if you want to add any columns or widgets in the admin side for your custom taxonomy you should also custom code it.
What exactly are you trying to achieve with that custom taxonomy?
Hello @ndre
I have 2 goals:
1. To add a few additional filters in my catalogue (now it has only one atribute as you can see)
2. To connect goods from different categories by using function “related goods”. (For example, goods from taxonomy “Category” shows as “related goods” goods from taxonomy “Color” in and vice versa)
And maybe you have instruction how have I code it?
-
This reply was modified 7 years, 3 months ago by
vadim11111.
Can anybody help me please?
Plugin Author
ndre
(@ndre)
Hello @vadim11111,
It would be to much coding for a forum post. However I will try to guide you.
The easy way:
1. To filter the attributes you can use the attributes extension that you can find in catalog extensions menu.
2. To show products in related categories you can simply assign products to the same categories. It will display products from the same category in the related products section. Or maybe there is a particular reason for a different taxonomy?
The hard way:
You can create your custom taxonomies as described here: https://codex.wordpress.org/Taxonomies
After that you can use the custom template files to display your custom related goods section. The codex also shows how to query by taxonomy. You can read here about custom templates, also Product Page Customizer extension would be helpful with the templates.
Hello @ndre
Thank You for help. I just tried to make it in hard way, but understand that I don’t have enough knoledge for it.