From 05306bf2fca4a5f97ea8bded6ad8a1d18576ebe1 Mon Sep 17 00:00:00 2001 From: fredrikphotowall <35255659+fredrikphotowall@users.noreply.github.com> Date: Fri, 9 Oct 2020 16:04:54 +0200 Subject: [PATCH] P5-6003 Change DHL Express prices (#127) --- migrations/000.244.sql | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 migrations/000.244.sql diff --git a/migrations/000.244.sql b/migrations/000.244.sql new file mode 100644 index 0000000..f912065 --- /dev/null +++ b/migrations/000.244.sql @@ -0,0 +1,21 @@ +-- P5-6003 New DHL Express prices + +-- Set DHL Express to 99 SEK/DKK/NOK or 10 EUR in SE,DK,NO,FI + +-- DHL Express to Sweden (99/1.25 = 79.2) +UPDATE "delivery-methods_prices" SET price = 79.2 WHERE method = 14 and territory = 'SE' and currency = 'SEK'; +UPDATE "delivery-methods_prices" SET price = 79.2 WHERE method = 14 and territory = 'SE' AND currency = 'DKK'; + +-- DHL Express to Finland +UPDATE "delivery-methods_prices" SET price = (10 / 1.24) WHERE method = 14 and territory = 'FI' and currency = 'EUR'; +UPDATE "delivery-methods_prices" SET price = 79.2 WHERE method = 14 and territory = 'FI' and currency = 'SEK'; + +-- DHL Express to Denmark +UPDATE "delivery-methods_prices" SET price = 79.2 WHERE method = 14 and territory = 'DK' and currency = 'DKK'; +UPDATE "delivery-methods_prices" SET price = 79.2 WHERE method = 14 and territory = 'DK' and currency = 'SEK'; + +-- DHL to Norway +UPDATE "delivery-methods_prices" SET price = 79.2 WHERE method = 10 and territory = 'NO' and currency = 'NOK'; +UPDATE "delivery-methods_prices" SET price = 79.2 WHERE method = 10 and territory = 'NO' and currency = 'SEK'; +UPDATE "delivery-methods_prices" SET price = 79.2 WHERE method = 10 and territory = 'NO' and currency = 'DKK'; +