com.squarespace.template.plugins.platform.product-price.html Maven / Gradle / Ivy
{.var @originalPriceText localizedStrings.originalPriceText}
{.var @salePriceText localizedStrings.salePriceText}
{.if formattedFromPrice}{fromText|message fromPrice:formattedFromPrice price:formattedFromPrice billingPeriodValue:billingPeriodValue duration:duration}
{.or}{.if formattedSalePrice}{.if @salePriceText}{@salePriceText|htmltag}{.or}Sale Price:{.end}{formattedSalePriceText|message price:formattedSalePrice billingPeriodValue:billingPeriodValue duration:duration}{.space}{.if @originalPriceText}{@originalPriceText|htmltag}{.or}Original Price:{.end}{formattedNormalPriceText|message price:formattedNormalPrice billingPeriodValue:billingPeriodValue duration:duration}
{.or}{.if formattedNormalPrice}{formattedNormalPriceText|message price:formattedNormalPrice billingPeriodValue:billingPeriodValue duration:duration}{.end}{.end}{.end}