<li id="variation-{{ variation.sku }}"
{% if not variation.default %}style="display:none;"{% endif %}>
{% if variation.has_price %}
- {% if variation.on_sale %}
- <span class="old-price">{{ variation.unit_price|currency }}</span>
- {% trans "On sale:" %}
+ {% if product.available %}
+ {% if not variation.unit_price %}
+ <span class="price">{% trans "Price" %} : <a href="{% url 'page' 'about/contact-form' %}">{% trans "Make an offer" %}</a></span>
+ {% else %}
+ <span class="price">{% trans "Price" %} : {{ variation.unit_price|currency }}</span>
+ {% endif %}
{% endif %}
- <span class="price">{% trans "Price" %}: {{ variation.price|currency }}</span>
{% else %}
+ oo
{% if has_available_variations %}
<span class="error-msg">
{% trans "The selected options are currently unavailable." %}
<li><strong>{{ product.record.artist }}</strong></li>
<li><em>{{ product.record.title }}</em></li>
<li>
- {% trans "Label:" %}
+ {% trans "Label:" %}
{{ product.record.label }}
</li>
<li>
- {% trans "Country:" %}
+ {% trans "Country" %}:
{{ product.record.country }}
</li>
{% if product.record.release_year %}
<li>
- {% trans "Release year:" %}
+ {% trans "Release year" %}:
{{ product.record.release_year }}
</li>
{% else %}
{{ product.record.release_decade }}</li>
{% endif %}
<li>
- {% trans "Cover:" %}
+ {% trans "Cover state" %}:
<a class="badge" tabindex="0" role="button" data-toggle="popover" data-trigger="hover focus"
title="{{ product.record.cover_condition.name }}"
data-content="{{ product.record.cover_condition.description }}">
</a>
</li>
<li>
- {% trans " Vinyl:" %}
+ {% trans " Vinyl state" %}:
<a class="badge" tabindex="0" role="button" data-toggle="popover" data-trigger="hover focus"
title="{{ product.record.vinyl_condition.name }}"
data-content="{{ product.record.cover_condition.description }}">
{{ product.record.vinyl_condition.abbr }}
</a>
</li>
+ {% if product.available and has_available_variations %}
+ {% errors_for add_product_form %}
<li>{% include "shop/includes/price.html" %}</li>
+ {% else %}
+ <li><span class="error-msg">{% trans "This product is currently unavailable." %}</span></li>
+ {% endif %}
</ul>
<div class="audio">
</div>
{% if product.available and has_available_variations %}
-
-{% errors_for add_product_form %}
-
+<br/>
<form method="post" id="add-cart" class="shop-form">{% csrf_token %}
<div style="display: none;">
{% fields_for add_product_form %}
{% endif %}
</div>
</form>
-{% else %}
-<p class="error-msg">{% trans "This product is currently unavailable." %}</p>
{% endif %}
{% if settings.SHOP_USE_RATINGS %}