Home › Forums › Product Price by Formula for WooCommerce › Using the product attribute values into the formula? › Reply To: Using the product attribute values into the formula?
April 8, 2019 at 3:57 pm #99104
If anyone else has similar tasks – we’ve just released new plugin v2.2.1, where we have:
[product_attr] shortcode, which would be the correct way of retrieving the product’s attributes, e.g.:
You can also get product attribute’s value as suggested earlier by:
However it seems that this way only works for variations, but not for simple type product’s attributes, while
[product_attr] shortcode works for all types of products.
convert_to_numeric attribute to the
[product_meta] shortcode (attribute defaults to