P5-6003 Change DHL Express prices (#127)

This commit is contained in:
fredrikphotowall
2020-10-09 16:04:54 +02:00
committed by GitHub
parent f0f4c9386b
commit 05306bf2fc
+21
View File
@@ -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';