We are currently on vacation until 13th May 2024, ticket responses maybe be longer than normal during this period, sorry for any inconvenience.

Regarding custom plugin

Closed

Import WP Addon - WooCommerce Updated 2 months ago 2 Replies

George asked 2 months ago on February 27, 2024 at 8:53 am

At this custom plugin can we also use product tags and not only brands?

J

James replied Support Agent

2 months ago on February 27, 2024 at 9:12 am

Yes you can modify the code to use what ever taxonomy you would like:

[
    'taxonomy' => 'product_brand',
    'field' => 'name',
    'terms' => 'Sparke',
]

changing it to what ever taxonomy required (e.g. finding the archive screen for the taxonomy you can get the taxonomy name: https://your.site/wp-admin/edit-tags.php?taxonomy=category)

[
    'taxonomy' => 'category',
    'field' => 'name',
    'terms' => 'Cat 1',
]

 

GF

George replied

2 months ago on February 27, 2024 at 5:45 pm

I did it and it worked, thanks