0
Q:

woocommerce php get product attributes

$result = array_shift(woocommerce_get_product_terms($product->id, 'pa_koostis', 'names'));
0
global $product;
$koostis = array_shift( wc_get_product_terms( $product->id, 'pa_koostis', array( 'fields' => 'names' ) ) );
0

New to Communities?

Join the community