Added feature service products as normal product

This commit is contained in:
Shreesh Arora
2022-08-16 12:18:12 +05:30
parent c0ee4685ec
commit a02fceb331
230 changed files with 23845 additions and 7890 deletions

View File

@@ -1249,6 +1249,11 @@ CREATE TABLE `PREFIX_order_detail` (
`reduction_amount_tax_excl` DECIMAL(20, 6) NOT NULL DEFAULT '0.000000',
`group_reduction` DECIMAL(10, 2) NOT NULL DEFAULT '0.000000',
`product_quantity_discount` decimal(20,6) NOT NULL DEFAULT '0.000000',
`is_booking_product` tinyint(1) NOT NULL DEFAULT '0',
`product_service_type` tinyint(1) NOT NULL DEFAULT '1',
`product_auto_add` tinyint(1) NOT NULL DEFAULT '0',
`product_price_addition_type` tinyint(1) NOT NULL DEFAULT '0',
`product_allow_multiple_quantity` tinyint(1) unsigned NOT NULL DEFAULT '1',
`product_ean13` varchar(13) DEFAULT NULL,
`product_upc` varchar(12) DEFAULT NULL,
`product_reference` varchar(32) DEFAULT NULL,
@@ -1513,6 +1518,7 @@ CREATE TABLE `PREFIX_product` (
`ecotax` decimal(17,6) NOT NULL DEFAULT '0.00',
`quantity` int(10) NOT NULL DEFAULT '0',
`minimal_quantity` int(10) unsigned NOT NULL DEFAULT '1',
`allow_multiple_quantity` tinyint(1) unsigned NOT NULL DEFAULT '1',
`price` decimal(20,6) NOT NULL DEFAULT '0.000000',
`wholesale_price` decimal(20,6) NOT NULL DEFAULT '0.000000',
`unity` varchar(255) DEFAULT NULL,
@@ -1534,6 +1540,11 @@ CREATE TABLE `PREFIX_product` (
`redirect_type` ENUM('', '404', '301', '302') NOT NULL DEFAULT '',
`id_product_redirected` int(10) unsigned NOT NULL DEFAULT '0',
`available_for_order` tinyint(1) NOT NULL DEFAULT '1',
`auto_add_to_cart` tinyint(1) NOT NULL DEFAULT '0',
`price_addition_type` tinyint(1) NOT NULL DEFAULT '1',
`show_at_front` tinyint(1) NOT NULL DEFAULT '1',
`service_product_type` tinyint(1) NOT NULL DEFAULT '1',
`price_display_method` tinyint(1) NOT NULL DEFAULT '1',
`available_date` date NOT NULL DEFAULT '0000-00-00',
`condition` ENUM('new', 'used', 'refurbished') NOT NULL DEFAULT 'new',
`show_price` tinyint(1) NOT NULL DEFAULT '1',
@@ -1542,6 +1553,8 @@ CREATE TABLE `PREFIX_product` (
`cache_is_pack` tinyint(1) NOT NULL DEFAULT '0',
`cache_has_attachments` tinyint(1) NOT NULL DEFAULT '0',
`is_virtual` tinyint(1) NOT NULL DEFAULT '0',
`booking_product` tinyint(1) NOT NULL DEFAULT '1',
`is_invisible` tinyint(1) NOT NULL DEFAULT '0',
`cache_default_attribute` int(10) unsigned DEFAULT NULL,
`date_add` datetime NOT NULL,
`date_upd` datetime NOT NULL,
@@ -1564,6 +1577,7 @@ CREATE TABLE IF NOT EXISTS `PREFIX_product_shop` (
`online_only` tinyint(1) unsigned NOT NULL DEFAULT '0',
`ecotax` decimal(17,6) NOT NULL DEFAULT '0.000000',
`minimal_quantity` int(10) unsigned NOT NULL DEFAULT '1',
`allow_multiple_quantity` tinyint(1) unsigned NOT NULL DEFAULT '1',
`price` decimal(20,6) NOT NULL DEFAULT '0.000000',
`wholesale_price` decimal(20,6) NOT NULL DEFAULT '0.000000',
`unity` varchar(255) DEFAULT NULL,
@@ -1576,6 +1590,10 @@ CREATE TABLE IF NOT EXISTS `PREFIX_product_shop` (
`redirect_type` ENUM('', '404', '301', '302') NOT NULL DEFAULT '',
`id_product_redirected` int(10) unsigned NOT NULL DEFAULT '0',
`available_for_order` tinyint(1) NOT NULL DEFAULT '1',
`auto_add_to_cart` tinyint(1) NOT NULL DEFAULT '0',
`price_addition_type` tinyint(1) NOT NULL DEFAULT '1',
`show_at_front` tinyint(1) NOT NULL DEFAULT '1',
`price_display_method` tinyint(1) NOT NULL DEFAULT '1',
`available_date` date NOT NULL DEFAULT '0000-00-00',
`condition` enum('new','used','refurbished') NOT NULL DEFAULT 'new',
`show_price` tinyint(1) NOT NULL DEFAULT '1',