Answer the question
In order to leave comments, you need to log in
How to access product attributes from php (woocommerce)?
There is a form:
How to create a product attribute (economy class or business) so that when you add it to the form above, products with this attribute are displayed.
Answer the question
In order to leave comments, you need to log in
Since in the standard form the attributes are written as a serialized array in the database, I recommend saving the attributes in simple custom fields when saving the product (the "Update" button in the admin panel). Then we search for custom fields www.onwordpress.ru/search-custom-fields-wordpress.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question