test more
This commit is contained in:
+102
-3
@@ -5,7 +5,7 @@
|
||||
{
|
||||
"id": "volymrabatt",
|
||||
"name": "Volymrabatt",
|
||||
"description": "Automatisk volymrabatt baserad på varukorgens totalsumma (inkl. moms). Belopp i öre: 20 000–40 000 kr → 5%, 40 000–60 000 kr → 9%, 60 000–90 000 kr → 14%.",
|
||||
"description": "Automatisk volymrabatt baserad på varukorgens totalsumma (inkl. moms). 20 000+ kr → 5%, 40 000+ kr → 9%, 60 000+ kr → 14%.",
|
||||
"status": "active",
|
||||
"priority": 100,
|
||||
"startDate": "2024-01-01",
|
||||
@@ -28,7 +28,7 @@
|
||||
"tiers": [
|
||||
{ "minTotal": 2000000, "maxTotal": 4000000, "percent": 5 },
|
||||
{ "minTotal": 4000000, "maxTotal": 6000000, "percent": 9 },
|
||||
{ "minTotal": 6000000, "maxTotal": 9000000, "percent": 14 }
|
||||
{ "minTotal": 6000000, "maxTotal": 0, "percent": 14 }
|
||||
]
|
||||
},
|
||||
"label": "Volymrabatt 5–14%"
|
||||
@@ -38,7 +38,106 @@
|
||||
"createdAt": "2024-01-01T00:00:00Z",
|
||||
"updatedAt": "2024-01-01T00:00:00Z",
|
||||
"createdBy": "mats.tornberg@gmail.com",
|
||||
"tags": ["volume", "volymrabatt", "test"]
|
||||
"tags": ["volume", "volymrabatt"]
|
||||
},
|
||||
{
|
||||
"id": "fri-frakt",
|
||||
"name": "Fri frakt över 10 000 kr",
|
||||
"description": "Fri frakt när varukorgens totalsumma (inkl. moms) överstiger 10 000 kr.",
|
||||
"status": "active",
|
||||
"priority": 50,
|
||||
"startDate": "2024-01-01",
|
||||
"endDate": null,
|
||||
"conditions": [
|
||||
{
|
||||
"id": "min-cart-total",
|
||||
"type": "cart_total",
|
||||
"operator": ">=",
|
||||
"value": 1000000,
|
||||
"label": "Minst 10 000 kr i varukorgen"
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
"id": "fri-frakt-action",
|
||||
"type": "free_shipping",
|
||||
"value": 0,
|
||||
"label": "Fri frakt"
|
||||
}
|
||||
],
|
||||
"usageCount": 0,
|
||||
"createdAt": "2024-01-01T00:00:00Z",
|
||||
"updatedAt": "2024-01-01T00:00:00Z",
|
||||
"createdBy": "mats.tornberg@gmail.com",
|
||||
"tags": ["shipping", "free-shipping"]
|
||||
},
|
||||
{
|
||||
"id": "fonster-10-pct",
|
||||
"name": "10% rabatt på fönster",
|
||||
"description": "10% rabatt på alla fönster i varukorgen.",
|
||||
"status": "active",
|
||||
"priority": 200,
|
||||
"startDate": "2024-01-01",
|
||||
"endDate": null,
|
||||
"conditions": [
|
||||
{
|
||||
"id": "cat-windows",
|
||||
"type": "product_category",
|
||||
"operator": "in",
|
||||
"value": ["Fönster"]
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
"id": "fonster-pct",
|
||||
"type": "percentage_discount",
|
||||
"value": 10,
|
||||
"label": "10% rabatt på fönster"
|
||||
}
|
||||
],
|
||||
"usageCount": 0,
|
||||
"createdAt": "2024-01-01T00:00:00Z",
|
||||
"updatedAt": "2024-01-01T00:00:00Z",
|
||||
"createdBy": "mats.tornberg@gmail.com",
|
||||
"tags": ["windows", "category"]
|
||||
},
|
||||
{
|
||||
"id": "sommar15",
|
||||
"name": "15% rabatt med kod SOMMAR15",
|
||||
"description": "15% rabatt på hela köpet när rabattkoden SOMMAR15 används. Gäller vid köp över 5 000 kr under sommaren.",
|
||||
"status": "active",
|
||||
"priority": 150,
|
||||
"startDate": "2024-06-01",
|
||||
"endDate": null,
|
||||
"conditions": [
|
||||
{
|
||||
"id": "min-cart-total",
|
||||
"type": "cart_total",
|
||||
"operator": ">=",
|
||||
"value": 500000,
|
||||
"label": "Minst 5 000 kr i varukorgen"
|
||||
},
|
||||
{
|
||||
"id": "coupon-code",
|
||||
"type": "coupon_code",
|
||||
"operator": "=",
|
||||
"value": "SOMMAR15",
|
||||
"label": "Ange koden SOMMAR15"
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
"id": "sommar15-pct",
|
||||
"type": "percentage_discount",
|
||||
"value": 15,
|
||||
"label": "15% rabatt med kod"
|
||||
}
|
||||
],
|
||||
"usageCount": 0,
|
||||
"createdAt": "2024-06-01T00:00:00Z",
|
||||
"updatedAt": "2024-06-01T00:00:00Z",
|
||||
"createdBy": "mats.tornberg@gmail.com",
|
||||
"tags": ["seasonal", "coupon", "summer"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user