skip to Main Content

WooCommerce Price Round

First, I don't use product price decimal at my local currency; decimal=0. And I want to change product price from 123,450 to 123,000 or 124,000. I searched many and many posting on the internet but I could not find any…

VIEW QUESTION

Get WooCommerce Product Attribute label name

Variable/variations in woocommerce products. I can do this to get the attribute value from pa_size: <?php echo $product_variation->get_attributes()['pa_size']; ?> which is somewhere in /wp-admin/edit.php?post_type=product&page=product_attributes. But how do I get the pa_size label (in this case: 'Size')? Have tried to fetch…

VIEW QUESTION
Back To Top
Search