New implementation of sales channels (#4111)

Co-authored-by: Martin Gross <gross@rami.io>
This commit is contained in:
Raphael Michel
2024-06-30 19:24:30 +02:00
committed by GitHub
parent 95511b0330
commit 4fb5c6bef0
174 changed files with 2902 additions and 616 deletions

View File

@@ -120,7 +120,7 @@
<div class="clearfix"></div>
</div>
{% if request.event.testmode %}
{% if request.sales_channel.testmode_supported %}
{% if request.sales_channel.type_instance.testmode_supported %}
<div class="alert alert-warning">
<p><strong>
<span class="sr-only">{% trans "Warning" context "alert-messages" %}:</span>
@@ -194,7 +194,7 @@
</div>
{% endif %}
{% if request.event.testmode %}
{% if request.sales_channel.testmode_supported %}
{% if request.sales_channel.type_instance.testmode_supported %}
<div class="alert alert-testmode alert-warning">
<p><strong>
<span class="sr-only">{% trans "Warning" context "alert-messages" %}:</span>

View File

@@ -89,7 +89,7 @@
<div class="alert alert-info">
<p>{{ p.provider.test_mode_message }}</p>
</div>
{% if not request.sales_channel.testmode_supported %}
{% if not request.sales_channel.type_instance.testmode_supported %}
<div class="alert alert-danger">
<p>
{% trans "This sales channel does not provide support for test mode." %}