De-dupe discount header/text
The version with the header was better, so let's use that in both places by moving it inside the template.
This commit is contained in:
parent
8d84438543
commit
7965ac4111
3 changed files with 7 additions and 14 deletions
|
@ -1,4 +1,6 @@
|
||||||
{% if discounts %}
|
{% if discounts %}
|
||||||
|
<h3>Discounts and Complimentary Items</h3>
|
||||||
|
<div class="vertical-small"></div>
|
||||||
|
|
||||||
{% regroup discounts by discount.description as discounts_grouped %}
|
{% regroup discounts by discount.description as discounts_grouped %}
|
||||||
{% for discount_type in discounts_grouped %}
|
{% for discount_type in discounts_grouped %}
|
||||||
|
@ -9,4 +11,9 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
<blockquote><small>Any applicable discounts will be applied automatically when you check out.</small></blockquote>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -26,14 +26,6 @@
|
||||||
|
|
||||||
{% if section.discounts %}
|
{% if section.discounts %}
|
||||||
{% include "registrasion/discount_list.html" with discounts=section.discounts %}
|
{% include "registrasion/discount_list.html" with discounts=section.discounts %}
|
||||||
|
|
||||||
<blockquote><small>
|
|
||||||
You must select a product to receive any discounts.<br/>
|
|
||||||
Applicable discounts will be applied automatically when you check out.
|
|
||||||
</small></blockquote>
|
|
||||||
|
|
||||||
<hr />
|
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<h3>Available options</h3>
|
<h3>Available options</h3>
|
||||||
|
|
|
@ -50,13 +50,7 @@
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
|
||||||
{% if discounts %}
|
{% if discounts %}
|
||||||
<h3>Discounts and Complimentary Items</h3>
|
|
||||||
<div class="vertical-small"></div>
|
|
||||||
{% include "registrasion/discount_list.html" with discounts=discounts %}
|
{% include "registrasion/discount_list.html" with discounts=discounts %}
|
||||||
<blockquote><small>Any applicable discounts will be applied automatically when you check out.</small></blockquote>
|
|
||||||
|
|
||||||
<hr />
|
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<h3>Make a selection</h3>
|
<h3>Make a selection</h3>
|
||||||
|
|
Loading…
Reference in a new issue