Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

woocommerce php get product attributes

$result = array_shift(woocommerce_get_product_terms($product->id, 'pa_koostis', 'names'));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #woocommerce #php #product #attributes
ADD COMMENT
Topic
Name
9+9 =