Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Default countries and regions demo data change

givanz2a18d895cd62
diff --git a/app/sql/mysqli/region_group.sql b/app/sql/mysqli/region_group.sql
new file mode 100644
index 0000000..ad74c64
--- /dev/null
+++ b/app/sql/mysqli/region_group.sql
@@ -0,0 +1,4 @@
+-- Region group
+
+ -- get common code from admin
+ import(/admin/region_group.sql);
diff --git a/app/sql/pgsql/digital_asset.sql b/app/sql/pgsql/digital_asset.sql
new file mode 100644
index 0000000..79cb69c
--- /dev/null
+++ b/app/sql/pgsql/digital_asset.sql
@@ -0,0 +1,5 @@
+-- Digital asset
+
+ -- get common code from admin
+ import(/admin/digital_asset.sql);
+
diff --git a/app/sql/pgsql/region_group.sql b/app/sql/pgsql/region_group.sql
new file mode 100644
index 0000000..ad74c64
--- /dev/null
+++ b/app/sql/pgsql/region_group.sql
@@ -0,0 +1,4 @@
+-- Region group
+
+ -- get common code from admin
+ import(/admin/region_group.sql);
diff --git a/app/sql/pgsql/return.sql b/app/sql/pgsql/return.sql
new file mode 100644
index 0000000..e8405b9
--- /dev/null
+++ b/app/sql/pgsql/return.sql
@@ -0,0 +1,5 @@
+-- Returns
+
+ -- get common code from admin
+ import(/admin/return.sql);
+
diff --git a/app/sql/sqlite/digital_asset.sql b/app/sql/sqlite/digital_asset.sql
new file mode 100644
index 0000000..79cb69c
--- /dev/null
+++ b/app/sql/sqlite/digital_asset.sql
@@ -0,0 +1,5 @@
+-- Digital asset
+
+ -- get common code from admin
+ import(/admin/digital_asset.sql);
+
diff --git a/app/sql/sqlite/region_group.sql b/app/sql/sqlite/region_group.sql
new file mode 100644
index 0000000..ad74c64
--- /dev/null
+++ b/app/sql/sqlite/region_group.sql
@@ -0,0 +1,4 @@
+-- Region group
+
+ -- get common code from admin
+ import(/admin/region_group.sql);
diff --git a/app/sql/sqlite/return.sql b/app/sql/sqlite/return.sql
new file mode 100644
index 0000000..e8405b9
--- /dev/null
+++ b/app/sql/sqlite/return.sql
@@ -0,0 +1,5 @@
+-- Returns
+
+ -- get common code from admin
+ import(/admin/return.sql);
+
diff --git a/install/sql/insert/geoip/region_group.sql b/install/sql/insert/geoip/region_group.sql
index 88d5943..b1533a1 100755
--- a/install/sql/insert/geoip/region_group.sql
+++ b/install/sql/insert/geoip/region_group.sql
@@ -1,3 +1,3 @@
INSERT INTO `region_group` (`region_group_id`, `name`, `content`, `created_at`) VALUES
-(1, 'UK VAT Region', 'UK VAT', '2022-05-01 00:00:00'),
-(2, 'UK Shipping', 'UK Shipping Regions', '2022-05-01 00:00:00');
\ No newline at end of file
+(1, 'US Shipping Region', 'US Shipping', '2022-05-01 00:00:00'),
+(2, 'UK Shipping Region', 'UK Shipping Regions', '2022-05-01 00:00:00');
\ No newline at end of file
diff --git a/install/sql/insert/geoip/region_to_region_group.sql b/install/sql/insert/geoip/region_to_region_group.sql
index e6a1244..b466a5e 100755
--- a/install/sql/insert/geoip/region_to_region_group.sql
+++ b/install/sql/insert/geoip/region_to_region_group.sql
@@ -1,109 +1,3 @@
INSERT INTO `region_to_region_group` VALUES
-(1, 222, 3513, 2, '2022-05-01 00:00:00'),
-(2, 222, 3513, 1, '2022-05-01 00:00:00'),
-(3, 222, 3514, 1, '2022-05-01 00:00:00'),
-(4, 222, 3515, 1, '2022-05-01 00:00:00'),
-(5, 222, 3516, 1, '2022-05-01 00:00:00'),
-(6, 222, 3517, 1, '2022-05-01 00:00:00'),
-(7, 222, 3518, 1, '2022-05-01 00:00:00'),
-(8, 222, 3519, 1, '2022-05-01 00:00:00'),
-(9, 222, 3520, 1, '2022-05-01 00:00:00'),
-(10, 222, 3521, 1, '2022-05-01 00:00:00'),
-(11, 222, 3522, 1, '2022-05-01 00:00:00'),
-(12, 222, 3523, 1, '2022-05-01 00:00:00'),
-(13, 222, 3524, 1, '2022-05-01 00:00:00'),
-(14, 222, 3525, 1, '2022-05-01 00:00:00'),
-(15, 222, 3526, 1, '2022-05-01 00:00:00'),
-(16, 222, 3527, 1, '2022-05-01 00:00:00'),
-(17, 222, 3528, 1, '2022-05-01 00:00:00'),
-(18, 222, 3529, 1, '2022-05-01 00:00:00'),
-(19, 222, 3530, 1, '2022-05-01 00:00:00'),
-(20, 222, 3531, 1, '2022-05-01 00:00:00'),
-(21, 222, 3532, 1, '2022-05-01 00:00:00'),
-(22, 222, 3533, 1, '2022-05-01 00:00:00'),
-(23, 222, 3534, 1, '2022-05-01 00:00:00'),
-(24, 222, 3535, 1, '2022-05-01 00:00:00'),
-(25, 222, 3536, 1, '2022-05-01 00:00:00'),
-(26, 222, 3537, 1, '2022-05-01 00:00:00'),
-(27, 222, 3538, 1, '2022-05-01 00:00:00'),
-(28, 222, 3539, 1, '2022-05-01 00:00:00'),
-(29, 222, 3540, 1, '2022-05-01 00:00:00'),
-(30, 222, 3541, 1, '2022-05-01 00:00:00'),
-(31, 222, 3542, 1, '2022-05-01 00:00:00'),
-(32, 222, 3543, 1, '2022-05-01 00:00:00'),
-(33, 222, 3544, 1, '2022-05-01 00:00:00'),
-(34, 222, 3545, 1, '2022-05-01 00:00:00'),
-(35, 222, 3546, 1, '2022-05-01 00:00:00'),
-(36, 222, 3547, 1, '2022-05-01 00:00:00'),
-(37, 222, 3548, 1, '2022-05-01 00:00:00'),
-(38, 222, 3549, 1, '2022-05-01 00:00:00'),
-(39, 222, 3550, 1, '2022-05-01 00:00:00'),
-(40, 222, 3551, 1, '2022-05-01 00:00:00'),
-(41, 222, 3552, 1, '2022-05-01 00:00:00'),
-(42, 222, 3553, 1, '2022-05-01 00:00:00'),
-(43, 222, 3554, 1, '2022-05-01 00:00:00'),
-(44, 222, 3555, 1, '2022-05-01 00:00:00'),
-(45, 222, 3556, 1, '2022-05-01 00:00:00'),
-(46, 222, 3557, 1, '2022-05-01 00:00:00'),
-(47, 222, 3558, 1, '2022-05-01 00:00:00'),
-(48, 222, 3559, 1, '2022-05-01 00:00:00'),
-(49, 222, 3560, 1, '2022-05-01 00:00:00'),
-(50, 222, 3561, 1, '2022-05-01 00:00:00'),
-(51, 222, 3562, 1, '2022-05-01 00:00:00'),
-(52, 222, 3563, 1, '2022-05-01 00:00:00'),
-(53, 222, 3564, 1, '2022-05-01 00:00:00'),
-(54, 222, 3565, 1, '2022-05-01 00:00:00'),
-(55, 222, 3566, 1, '2022-05-01 00:00:00'),
-(56, 222, 3567, 1, '2022-05-01 00:00:00'),
-(57, 222, 3568, 1, '2022-05-01 00:00:00'),
-(58, 222, 3569, 1, '2022-05-01 00:00:00'),
-(59, 222, 3570, 1, '2022-05-01 00:00:00'),
-(60, 222, 3571, 1, '2022-05-01 00:00:00'),
-(61, 222, 3572, 1, '2022-05-01 00:00:00'),
-(62, 222, 3573, 1, '2022-05-01 00:00:00'),
-(63, 222, 3574, 1, '2022-05-01 00:00:00'),
-(64, 222, 3575, 1, '2022-05-01 00:00:00'),
-(65, 222, 3576, 1, '2022-05-01 00:00:00'),
-(66, 222, 3577, 1, '2022-05-01 00:00:00'),
-(67, 222, 3578, 1, '2022-05-01 00:00:00'),
-(68, 222, 3579, 1, '2022-05-01 00:00:00'),
-(69, 222, 3580, 1, '2022-05-01 00:00:00'),
-(70, 222, 3581, 1, '2022-05-01 00:00:00'),
-(71, 222, 3582, 1, '2022-05-01 00:00:00'),
-(72, 222, 3583, 1, '2022-05-01 00:00:00'),
-(73, 222, 3584, 1, '2022-05-01 00:00:00'),
-(74, 222, 3585, 1, '2022-05-01 00:00:00'),
-(75, 222, 3586, 1, '2022-05-01 00:00:00'),
-(76, 222, 3587, 1, '2022-05-01 00:00:00'),
-(77, 222, 3588, 1, '2022-05-01 00:00:00'),
-(78, 222, 3589, 1, '2022-05-01 00:00:00'),
-(79, 222, 3590, 1, '2022-05-01 00:00:00'),
-(80, 222, 3591, 1, '2022-05-01 00:00:00'),
-(81, 222, 3592, 1, '2022-05-01 00:00:00'),
-(82, 222, 3593, 1, '2022-05-01 00:00:00'),
-(83, 222, 3594, 1, '2022-05-01 00:00:00'),
-(84, 222, 3595, 1, '2022-05-01 00:00:00'),
-(85, 222, 3596, 1, '2022-05-01 00:00:00'),
-(86, 222, 3597, 1, '2022-05-01 00:00:00'),
-(87, 222, 3598, 1, '2022-05-01 00:00:00'),
-(88, 222, 3599, 1, '2022-05-01 00:00:00'),
-(89, 222, 3600, 1, '2022-05-01 00:00:00'),
-(90, 222, 3601, 1, '2022-05-01 00:00:00'),
-(91, 222, 3602, 1, '2022-05-01 00:00:00'),
-(92, 222, 3603, 1, '2022-05-01 00:00:00'),
-(93, 222, 3604, 1, '2022-05-01 00:00:00'),
-(94, 222, 3605, 1, '2022-05-01 00:00:00'),
-(95, 222, 3606, 1, '2022-05-01 00:00:00'),
-(96, 222, 3607, 1, '2022-05-01 00:00:00'),
-(97, 222, 3608, 1, '2022-05-01 00:00:00'),
-(98, 222, 3609, 1, '2022-05-01 00:00:00'),
-(99, 222, 3610, 1, '2022-05-01 00:00:00'),
-(100, 222, 3611, 1, '2022-05-01 00:00:00'),
-(101, 222, 3612, 1, '2022-05-01 00:00:00'),
-(102, 222, 3949, 1, '2022-05-01 00:00:00'),
-(103, 222, 3950, 1, '2022-05-01 00:00:00'),
-(104, 222, 3951, 1, '2022-05-01 00:00:00'),
-(105, 222, 3952, 1, '2022-05-01 00:00:00'),
-(106, 222, 3953, 1, '2022-05-01 00:00:00'),
-(107, 222, 3954, 1, '2022-05-01 00:00:00'),
-(108, 222, 3955, 1, '2022-05-01 00:00:00');
\ No newline at end of file
+(1, 223, 0, 1, '2022-05-01 00:00:00'),
+(2, 222, 0, 2, '2022-05-01 00:00:00');
\ No newline at end of file
diff --git a/install/sql/insert/tax/tax_rate.sql b/install/sql/insert/tax/tax_rate.sql
index 24fa98f..207140f 100755
--- a/install/sql/insert/tax/tax_rate.sql
+++ b/install/sql/insert/tax/tax_rate.sql
@@ -1,4 +1,4 @@
INSERT INTO `tax_rate` VALUES
(1,1,'VAT (9%)',9.0000,'p','2022-05-01 00:00:00','2022-05-01 00:00:00'),
(2,1,'VAT (19%)',19.0000,'p','2022-05-01 00:00:00','2022-05-01 00:00:00'),
-(3,1,'Eco-tax (1.00)',1.0000,'f','2022-05-01 00:00:00','2022-05-01 00:00:00');
\ No newline at end of file
+(3,1,'Green tax (1.00)',1.0000,'f','2022-05-01 00:00:00','2022-05-01 00:00:00');
\ No newline at end of file
diff --git a/install/sql/insert/tax/tax_rule.sql b/install/sql/insert/tax/tax_rule.sql
index 0cb09eb..12d5090 100755
--- a/install/sql/insert/tax/tax_rule.sql
+++ b/install/sql/insert/tax/tax_rule.sql
@@ -1,3 +1,4 @@
INSERT INTO `tax_rule` VALUES
(1,1,1,'store',0),
-(2, 1,2,'payment',1);
\ No newline at end of file
+(2,1,2,'store',1),
+(3,1,3,'store',1);
\ No newline at end of file