Replace the price with the lowest price of variations (PRO): Available tags and examples

Replace the variable product price with the lowest price of variations after applying the rules (on the category/tag page and product page). Before usage, create a template in the “Output template” field.  The default template is “From {{min_variation_price}} {{price_suffix}}” that shows the price of the variable products in that way:

Available tags:

{{min_variation_price}} shows the minimal variation price of the variable product.

{{price_suffix}} adds the price suffix to the price template. The price suffix must be inserted in the WooCommerce > Settings > Tax > Price suffix option.

{{min_variation_price_initial}} shows the striked minimal variation price for the discounted products. If the variation has the sale price and you have the calculation mode in Pricing rules > Settings > Calculation > How to apply rules to a product that already has a sale price > “Discount sale price”, then the initial price will be the sale price.

{{regular_price_striked}} shows the striked regular price for the discounted products.

From version 4.10.0 the list of the tags has been enriched.

{{min_variation_price_inclTax}} and {{min_variation_price_exclTax}} shows the minimal variation price of the variable product with and without taxes.

{{min_variation_price_initial_inclTax}} and {{min_variation_price_initial_exclTax}} shows the striked minimal variation price for the discounted products with and without taxes.

{{max_variation_price}}, {{max_variation_price_inclTax}} and {{max_variation_price_exclTax}} shows the maximum variation price of the variable product with and without taxes if it exists.

The example template to show the minimum and maximum prices with and without taxes is below:

Still not enough templates? Then you can use the hooks adp_variable_formatter_replacements and adp_discount_range_formatter_replacements to code your own price template and use it in the Replace the price with the lowest price of variations option.

Still unclear?

Please submit a support request. We are always happy to assist you!