P5-5986 Add Bring delivery methods to SE,FI,DK (#128)
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
-- P5-5986 Replace DHL Freight/Economy with Bring on SE,FI,DK
|
||||||
|
|
||||||
|
-- Replace dhlFreightPrivate in Sweden with bringPrivate
|
||||||
|
UPDATE "delivery-methods_prices" SET method = 8 WHERE method = 12 AND territory = 'SE';
|
||||||
|
|
||||||
|
-- Replace dhlFreightBusiness in Sweden with bringCompany
|
||||||
|
UPDATE "delivery-methods_prices" SET method = 9 WHERE method = 13 AND territory = 'SE';
|
||||||
|
|
||||||
|
-- Replace dhlEconomyEU in Finland and Denmark with bringPrivate and bringBusiness
|
||||||
|
UPDATE "delivery-methods_prices" SET method = 8 WHERE method = 15 AND territory in ('FI','DK');
|
||||||
|
INSERT INTO "delivery-methods_prices" (method, option, option_value, currency, price, territory)
|
||||||
|
SELECT 9, '', '', currency, 0, territory FROM "delivery-methods_prices" WHERE method=8 AND territory in ('FI','DK');
|
||||||
|
|
||||||
Reference in New Issue
Block a user