Answer the question
In order to leave comments, you need to log in
Where are the attributes in woocommerce?
I am writing a custom goods importer. I loaded it initially with an error - in the cycle I created a bunch of extra product attributes. I'm trying to delete them - I cleaned all the tables in the database - they definitely aren't there. And in the admin panel are displayed ... where to look?
I found a function that generates the output of attributes in the woocommerce plugin
https://docs.woocommerce.com/wc-apidocs/function-w...
But this table is empty!!!! Can it cache data somewhere?
Answer the question
In order to leave comments, you need to log in
Found it myself.
wp-options table has _transient_wc_attribute_taxonomies option. Woocommerce saves the attribute cache there as a serialized array.
when adding a new attribute, you need to reset this cache.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question