diff --git a/config/settings_schema.json b/config/settings_schema.json
index 0077a64..44961f7 100644
--- a/config/settings_schema.json
+++ b/config/settings_schema.json
@@ -1471,9 +1471,15 @@
"settings": [
{
"type": "number",
- "id": "free_shipping_threshold",
+ "id": "shx_free_shipping_threshold",
"label": "Shx Mindestbestellwert für kostenfreien Versand",
"default": 1000
+ },
+ {
+ "type": "number",
+ "id": "shx_shipping_costs",
+ "label": "Shx Versandkosten, wenn unter Mindestbestellwert für kostenfreien Versand ist",
+ "default": 399
}
]
}
diff --git a/snippets/cart-drawer.liquid b/snippets/cart-drawer.liquid
index bc4ff1c..c3da9d8 100644
--- a/snippets/cart-drawer.liquid
+++ b/snippets/cart-drawer.liquid
@@ -73,18 +73,18 @@
- {% assign free_shipping_threshold = settings.free_shipping_threshold %}
+ {% assign free_shipping_threshold = settings.shx_free_shipping_threshold %}
{% assign total_price = cart.total_price %}
{% assign remaining_amount = free_shipping_threshold | minus: total_price %}
price6 {{ total_price | money }} {{ free_shipping_threshold }}
{% if total_price < free_shipping_threshold %}
- Noch {{ remaining_amount | money }} bis kostenfreiem Versand (sonst 3,99 €)
+ Noch {{ remaining_amount | money }} bis kostenfreiem Versand (sonst {% settings.shx_shipping_costs %})
{% endif %}