- 🇵🇪Peru krystalcode
I have created a small module to address this issue Commerce Token → , in case it's useful to anybody else. It provides two tokens that can be used to fetch the lowest and highest prices of any of the product's active variations, as calculated for the anonymous users.
They can be used in the
price
,lowPrice
,highPrice
items in schema metatags offers, like so:[commerce_product:anonymous_calculated_low_price:number]
[commerce_product:anonymous_calculated_high_price:number]
- 🇳🇱Netherlands mvdve
You can use tokens almost in the same way as entity fields. So this token will give you the product price:
[commerce_product:variations:0:entity:price:number]