Regarding custom plugin

Closed

Import WP Addon - WooCommerce Updated 6 months ago 4 Replies

George asked 9 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

9 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

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

I did it and it worked, thanks

GF

George replied

6 months ago on June 1, 2024 at 8:58 am

Hi James, for some reason the prices are not updated via xml.

 

The quantity > stock status works normally. 

Can you help me identify the issue? 

GF

George replied

6 months ago on June 1, 2024 at 9:40 am

Forgot to check premission. Thanks