Configure PayPal integration and cart checkout error display
This commit is contained in:
1 parent
62065828e1
commit
cf07fc5d9b
98 files changed
+1430
-281
No files matched your search
@@ -10,12 +10,13 @@
|
||||
{% for item in order.items.all %}
|
||||
<li>
|
||||
{{ item.quantity }} × {{ item.title_snapshot }} (${{ item.line_total }})
|
||||
{% if item.product.kind == 'digital' and order.status in 'paid,shipped,delivered' %}
|
||||
{% if item.chapter %} — <a href="{% url 'chapter' item.chapter.number %}">Open chapter reader</a>{% elif item.product.digital_file and order.status in 'paid,shipped,delivered' %}
|
||||
— <a href="{% url 'shop-download' order.order_id item.pk %}"><strong>Download File</strong></a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% if user.is_authenticated and order.user_id == user.pk %}<p><a href="{% url 'collector-preferences' %}">Choose how you appear on the collector thank-you list →</a></p>{% endif %}
|
||||
<p><a href="{% url 'shop-index' %}">← Return to Shop</a></p>
|
||||
</main>
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user