Powerful and easy to use cms to build websites, blogs or ecommerce stores.
HTML backendblogblog-engineblog-platformbloggingcmscontent-managementcontent-management-systemecommerceecommerce-platformno-codepage-builderphpphp-cmsphp7php8self-hostedshopping-cartweb-applicationwebsite-builder
Fixed default shipping and payment default status
givanze6dc5f8921c7
diff --git a/install/sql/insert/order/payment_status.sql b/install/sql/insert/order/payment_status.sqlindex c2c26c5..fd1e2a5 100644--- a/install/sql/insert/order/payment_status.sql+++ b/install/sql/insert/order/payment_status.sql@@ -7,4 +7,5 @@ INSERT INTO `payment_status` VALUES(6,1,'refunded'),(7,1,'partially_refunded'),(8,1,'chargeback'),-(9,1,'requires_action');+(9,1,'requires_action'),+(10,1,'fraud');diff --git a/install/sql/insert/order/shipping_status.sql b/install/sql/insert/order/shipping_status.sqlindex 844454c..af0e708 100644--- a/install/sql/insert/order/shipping_status.sql+++ b/install/sql/insert/order/shipping_status.sql@@ -1,10 +1,11 @@INSERT INTO `shipping_status` VALUES(1,1,'not_fulfilled'),(2,1,'fulfilled'),-(3,1,'shipped'),-(4,1,'delivered'),-(5,1,'returned'),-(6,1,'partially_returned'),-(7,1,'returned'),-(8,1,'canceled'),-(9,1,'requires_action');+(3,1,'partially_fulfilled'),+(4,1,'shipped'),+(5,1,'partially_shipped'),+(6,1,'returned'),+(7,1,'partially_returned'),+(8,1,'delivered'),+(9,1,'canceled'),+(10,1,'requires_action');diff --git a/install/sql/mysqli/schema/order/order.sql b/install/sql/mysqli/schema/order/order.sqlindex 1015aef..720f253 100755--- a/install/sql/mysqli/schema/order/order.sql+++ b/install/sql/mysqli/schema/order/order.sql@@ -27,7 +27,7 @@ CREATE TABLE `order` (-- `billing_fields` text,`payment_method` varchar(128) NOT NULL DEFAULT '',`payment_data` text,- `payment_status_id` INT UNSIGNED NOT NULL DEFAULT '0',+ `payment_status_id` INT UNSIGNED NOT NULL DEFAULT '1',-- shipping`shipping_first_name` varchar(32) NOT NULL DEFAULT '',`shipping_last_name` varchar(32) NOT NULL DEFAULT '',@@ -43,12 +43,12 @@ CREATE TABLE `order` (-- `shipping_fields` text,`shipping_method` varchar(128) NOT NULL DEFAULT '',`shipping_data` text,- `shipping_status_id` INT UNSIGNED NOT NULL DEFAULT '0',+ `shipping_status_id` INT UNSIGNED NOT NULL DEFAULT '1',`total` decimal(15,4) NOT NULL DEFAULT '0.0000',`order_status_id` INT UNSIGNED NOT NULL DEFAULT '0',`language_id` INT UNSIGNED NOT NULL,`currency_id` INT UNSIGNED NOT NULL,- `currency_code` varchar(3) NOT NULL DEFAULT '',+ `currency` varchar(3) NOT NULL DEFAULT '',`currency_value` decimal(15,8) NOT NULL DEFAULT '1.00000000',`notes` text,`remote_ip` varchar(40) NOT NULL DEFAULT '',diff --git a/install/sql/pgsql/schema/order/order.sql b/install/sql/pgsql/schema/order/order.sqlindex 405c2f3..ea1f2f6 100755--- a/install/sql/pgsql/schema/order/order.sql+++ b/install/sql/pgsql/schema/order/order.sql@@ -59,7 +59,7 @@ CREATE TABLE "order" ("order_status_id" int check ("order_status_id" > 0) NOT NULL DEFAULT 1,"language_id" int check ("language_id" > 0) NOT NULL,"currency_id" int check ("currency_id" > 0) NOT NULL,- "currency_code" varchar(3) NOT NULL DEFAULT '',+ "currency" varchar(3) NOT NULL DEFAULT '',"currency_value" decimal(15,8) NOT NULL DEFAULT 1.00000000,"notes" text NOT NULL DEFAULT '',"remote_ip" varchar(40) NOT NULL DEFAULT '',diff --git a/install/sql/sqlite/schema/order/order.sql b/install/sql/sqlite/schema/order/order.sqlindex 85df8a2..8afc78e 100755--- a/install/sql/sqlite/schema/order/order.sql+++ b/install/sql/sqlite/schema/order/order.sql@@ -29,7 +29,7 @@ CREATE TABLE `order` (`billing_fields` text NOT NULL DEFAULT '',`payment_method` text NOT NULL DEFAULT '',`payment_data` text,-`payment_status_id` INT NOT NULL DEFAULT '0',+`payment_status_id` INT NOT NULL DEFAULT '1',`shipping_first_name` TEXT NOT NULL DEFAULT '',`shipping_last_name` TEXT NOT NULL DEFAULT '',`shipping_company` TEXT NOT NULL DEFAULT '',@@ -45,12 +45,12 @@ CREATE TABLE `order` (`shipping_fields` text NOT NULL NULL DEFAULT '',`shipping_method` TEXT NOT NULL DEFAULT '',`shipping_data` TEXT NOT NULL NULL DEFAULT '',-`shipping_status_id` INT NOT NULL DEFAULT '0',+`shipping_status_id` INT NOT NULL DEFAULT '1',`total` decimal(15,4) NOT NULL DEFAULT '0.0000',`order_status_id` INT NOT NULL DEFAULT '0',`language_id` INT NOT NULL,`currency_id` INT NOT NULL,-`currency_code` TEXT NOT NULL NULL DEFAULT '',+`currency` TEXT NOT NULL NULL DEFAULT '',`currency_value` decimal(15,8) NOT NULL DEFAULT '1.00000000',`notes` text NOT NULL NULL DEFAULT '',`remote_ip` TEXT NOT NULL DEFAULT '',