Configure PayPal integration and cart checkout error display

This commit is contained in:
Zach committed 2026-12-01 04:20:38 +00:00
1 parent 62065828e1
commit cf07fc5d9b
98 files changed
+1430 -281

No files matched your search

+2 -1
View File
@@ -10,12 +10,13 @@
{% for item in order.items.all %}
<li>
{{ item.quantity }} &times; {{ 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' %}">&larr; Return to Shop</a></p>
</main>
{% endblock %}