{* Template: components/product-view-bulkdiscount.html Description: Shows a hint on the product page when the product has a volume discount (bulk_discount), so the shop owner does not have to write it in the description. Self-contained element (not the alert component) so the icon and text sit on the same line, vertically centered. *}> <{if $product->hasBulkDiscount() && $settings.badges.volumediscount_enable != '0'}> <{capture name="bulk_discount_hint"}> <{t x=$product->getBulkDiscountTriggerAmount() y=$product->getBulkDiscountInclVat()|number_format:$smarty.capture.decimal_number:$smarty.capture.decimal:$smarty.capture.thousand z=$currency}>Volume discount: Buy {x} or more and save {y} {z} per unit.<{/t}> <{/capture}>