{% load currency_filters %} {% load i18n %} {% load purchase_info_tags %} {% load wfrs_default_plan %} {% purchase_info_for_product request product as session %} {% if session.price.exists %} {% if session.price.excl_tax == 0 %}
{% trans "Free" %}
{% elif session.price.is_tax_known %}{{ session.price.incl_tax | currency:session.price.currency }}
{% else %}{{ session.price.excl_tax | currency:session.price.currency }}
{% endif %} {# Figure out which plan to display #} {% get_plan_for_product request product as plan %} {% if not plan or not plan.term_months %} {% get_default_plan as plan %} {% endif %} {# Display the financing price using the plan #} {% if plan and plan.term_months %} {# Get the monthly price to display based on the financing plan #} {% if session.price.is_tax_known %} {% get_monthly_price plan session.price.incl_tax as monthly_price %} {% else %} {% get_monthly_price plan session.price.excl_tax as monthly_price %} {% endif %}OR {{ monthly_price | currency:session.price.currency }} for {{ plan.term_months }} months.
{% endif %} {% else %}{% endif %}
{% if verbose %} {{ session.availability.message }} {% else %} {{ session.availability.short_message }} {% endif %}