<{include file="components/price.html" class="price--lg" show_currency=$settings.currency.show show_from_prefix="true" unit_price=true}>
<{* Deposit (pant, #645): Danish law requires the sales price EXCL. deposit, with the
deposit amount clearly stated next to it. Always shown when the product has a deposit. *}>
<{$deposit_type = $product->getDepositType()}>
<{if $deposit_type}>
+ <{$deposit_type->getName()|escape}>: <{$product->getDepositTotal(1)|number_format:$smarty.capture.decimal_number:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency|escape}>
<{/if}>
<{if $settings.product.enable_omnibus_price && $product->getSalePrice()}>
<{assign var="omnibus_price" value=$product->getLowest30DayPrice()}>
<{if $omnibus_price && $omnibus_price <= $product->getSalePrice()}>
(<{t}>Lowest price last 30 days<{/t}>: <{$omnibus_price|number_format:$smarty.capture.decimal_number:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency|escape}>)
<{/if}>
<{/if}>
<{* Sale limit: the product is discounted, but only a set number of units are sold at the
sale price. The condition also covers variant products, where getSalePrice() is 0 even
though the variants are discounted. Inline style matches the lines above — this theme
ships a pre-built stylesheet, so new class names would never get any CSS. *}>
<{$sale_limit = $product->getSaleLimit()}>
<{if $sale_limit && ($product->getSalePrice() || $product->getLowestSalePrice() < $product->getLowestPrice())}>
<{t x=$sale_limit}>Only {x} left at this price<{/t}>
<{/if}>