{% load i18n static lfs_tags lfs_bulk_prices_tags %} {# Bulk prices of the product, from the optional lfs_bulk_prices add-on. #} {% ifbulkprices %} {% bulk_prices %}
{% blocktrans with price=bulk_prices_min|currency %}from {{ price }}{% endblocktrans %}* {% if product.get_price_unit %}/ {{ product.get_price_unit }}{% endif %}
{% for bulk_price in bulk_prices %} {% endfor %}
{% blocktrans with unit=product.get_price_unit %}from {{ unit }}{% endblocktrans %} {% trans 'Price' %}{% if product.get_price_unit %} / {{ product.get_unit }}{% endif %} {% trans 'Price' %}{% if product.get_base_price_unit %} / {{ product.get_base_price_unit }}{% endif %} {% trans 'Discount' %}
{{ bulk_price.amount|clean_amount:product }} {{ bulk_price.price_absolute|currency }}* {{ bulk_price.base_price|currency }}* {% if not forloop.first %}{{ bulk_price.price_percentual_discount|decimal_l10n:2 }} %{% endif %}
{% endifbulkprices %}