Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
It should appear on the product page itself.
If necessary, in an arbitrary place, that is, the get_attributes method
https://docs.woocommerce.com/wc-apidocs/class-WC_P...
The WC_Product object can be obtained by post_id through the function wc_get_product($post_id);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question