-- https://www.phpmyadmin.net/
--

START TRANSACTION;



--
-- Database: `base`
--

-- --------------------------------------------------------

--
-- Table structure for table `addresses`
--

CREATE TABLE `addresses` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `first_name` varchar(255) NOT NULL,
  `last_name` varchar(255) NOT NULL,
  `state` varchar(255) NOT NULL,
  `city` varchar(255) NOT NULL,
  `phone` varchar(255) NOT NULL,
  `postal_code` varchar(255) NOT NULL,
  `full_address` text NOT NULL,
  `map` varchar(255) DEFAULT NULL,
  `active` tinyint(1) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `affiliates`
--

CREATE TABLE `affiliates` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `product_id` bigint(20) UNSIGNED NOT NULL,
  `bronze_commission` double NOT NULL,
  `silver_commission` double NOT NULL,
  `gold_commission` double NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `articles`
--

CREATE TABLE `articles` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `edited_by` bigint(20) UNSIGNED NOT NULL,
  `brand_id` bigint(20) UNSIGNED DEFAULT NULL,
  `category_id` bigint(20) UNSIGNED NOT NULL,
  `uuid` varchar(255) NOT NULL,
  `title` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `content` longtext DEFAULT NULL,
  `source` text DEFAULT NULL,
  `read_time` text DEFAULT NULL,
  `type` varchar(255) NOT NULL DEFAULT 'text',
  `image` text DEFAULT NULL,
  `video` text DEFAULT NULL,
  `podcast` text DEFAULT NULL,
  `seo_title` varchar(255) DEFAULT NULL,
  `seo_description` text DEFAULT NULL,
  `seo_keywords` text DEFAULT NULL,
  `seo_canonical` varchar(255) DEFAULT NULL,
  `view_count` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
  `comment_status` tinyint(1) NOT NULL DEFAULT 1,
  `editor_choice` tinyint(1) NOT NULL DEFAULT 1,
  `vote` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
  `reason` text DEFAULT NULL,
  `status` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `article_article_tag`
--

CREATE TABLE `article_article_tag` (
  `article_tag_id` bigint(20) UNSIGNED NOT NULL,
  `article_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `article_categories`
--

CREATE TABLE `article_categories` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `title` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `image` varchar(255) DEFAULT NULL,
  `seo_title` varchar(255) DEFAULT NULL,
  `seo_description` text DEFAULT NULL,
  `seo_keywords` text DEFAULT NULL,
  `seo_canonical` varchar(255) DEFAULT NULL,
  `view_count` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
  `reason` text DEFAULT NULL,
  `status` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `article_comments`
--

CREATE TABLE `article_comments` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `article_id` bigint(20) UNSIGNED NOT NULL,
  `content` text NOT NULL,
  `reply_to` bigint(20) UNSIGNED DEFAULT NULL,
  `vote_up` varchar(255) NOT NULL DEFAULT '0',
  `vote_down` varchar(255) NOT NULL DEFAULT '0',
  `status` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `article_tags`
--

CREATE TABLE `article_tags` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `title` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `view_count` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
  `status` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `brands`
--

CREATE TABLE `brands` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `edited_by` bigint(20) UNSIGNED DEFAULT NULL,
  `uuid` varchar(255) NOT NULL,
  `title` varchar(255) NOT NULL,
  `title_en` varchar(255) DEFAULT NULL,
  `website` varchar(255) DEFAULT NULL,
  `slug` varchar(255) NOT NULL,
  `content` text DEFAULT NULL,
  `banner` varchar(255) DEFAULT NULL,
  `logo` varchar(255) DEFAULT NULL,
  `seo_title` varchar(255) DEFAULT NULL,
  `seo_description` text DEFAULT NULL,
  `seo_keywords` text DEFAULT NULL,
  `seo_canonical` varchar(255) DEFAULT NULL,
  `view_count` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
  `status` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `category_product`
--

CREATE TABLE `category_product` (
  `product_id` bigint(20) UNSIGNED NOT NULL,
  `category_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `colors`
--

CREATE TABLE `colors` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `color` varchar(255) NOT NULL,
  `label` varchar(255) NOT NULL,
  `image` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `colors`
--

INSERT INTO `colors` (`id`, `color`, `label`, `image`, `created_at`, `updated_at`) VALUES
(1, '#ffffff', 'سفید', NULL, NULL, NULL),
(2, '#e1e0e0', 'نقره ای', NULL, NULL, NULL),
(3, '#b7b7b7', 'خاکستری', NULL, NULL, NULL),
(4, '#4b6584', 'طوسی', NULL, NULL, NULL),
(5, '#000080', 'سرمه ای', NULL, NULL, NULL),
(6, '#000000', 'سیاه', NULL, NULL, NULL),
(7, '#800020', 'شرابی', NULL, NULL, NULL),
(8, '#ea060e', 'قرمز', NULL, NULL, NULL),
(9, '#ff4d4d', 'قرمز روشن', NULL, NULL, NULL),
(10, '#fa7676', 'مرجان روشن', NULL, NULL, NULL),
(11, '#ea8685', 'گلبهی', NULL, NULL, NULL),
(12, '#ffb8b8', 'رز مه آلود', NULL, NULL, NULL),
(13, '#ffcccc', 'رز روشن', NULL, NULL, NULL),
(14, '#f78fb3', 'صورتی فلامینگو', NULL, NULL, NULL),
(15, '#ff69b4', 'صورتی', NULL, NULL, NULL),
(16, '#835400', 'قهوه ای', NULL, NULL, NULL),
(17, '#c17e06', 'برنز', NULL, NULL, NULL),
(18, '#f8a203', 'نارنجی', NULL, NULL, NULL),
(19, '#f7b731', 'طلایی', NULL, NULL, NULL),
(20, '#fed330', 'زرد', NULL, NULL, NULL),
(21, '#ffe891', 'زرد روشن', NULL, NULL, NULL),
(22, '#006400', 'سبز تیره', NULL, NULL, NULL),
(23, '#2E8B57', 'سبز دریایی', NULL, NULL, NULL),
(24, '#26de81', 'سبز', NULL, NULL, NULL),
(25, '#00FA9A', 'سبز بهاری', NULL, NULL, NULL),
(26, '#00FF00', 'سبز لیمویی', NULL, NULL, NULL),
(27, '#1e6280', 'سبز کبود', NULL, NULL, NULL),
(28, '#0fb9b1', 'سبز کبود روشن', NULL, NULL, NULL),
(29, '#40E0D0', 'فیروزه ای', NULL, NULL, NULL),
(30, '#000fbd', 'آبی تیره', NULL, NULL, NULL),
(31, '#0060ff', 'آبی', NULL, NULL, NULL),
(32, '#3ab4ff', 'آبی میانه', NULL, NULL, NULL),
(33, '#87CEFA', 'آبی آسمانی', NULL, NULL, NULL),
(34, '#bfefff', 'آبی روشن', NULL, NULL, NULL),
(35, '#4B0082', 'نیلی', NULL, NULL, NULL),
(36, '#8854d0', 'بنفش', NULL, NULL, NULL),
(37, '#9980FA', 'بنفش کبود', NULL, NULL, NULL),
(38, '#bd7dfb', 'بنفش روشن', NULL, NULL, NULL),
(39, '#dab3ff', 'بنفشه ای روشن', NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `compares`
--

CREATE TABLE `compares` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `product_id` bigint(20) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `consignments`
--

CREATE TABLE `consignments` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `order_id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `store_id` bigint(20) UNSIGNED DEFAULT NULL,
  `uuid` varchar(255) NOT NULL,
  `send_method` text DEFAULT NULL,
  `send_time` varchar(255) DEFAULT NULL,
  `send_type` varchar(255) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `tracking_code` varchar(255) DEFAULT NULL,
  `status` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `consignment_items`
--

CREATE TABLE `consignment_items` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `consignment_id` bigint(20) UNSIGNED NOT NULL,
  `store_id` bigint(20) UNSIGNED DEFAULT NULL,
  `inventory_id` bigint(20) UNSIGNED DEFAULT NULL,
  `product_id` bigint(20) UNSIGNED NOT NULL,
  `storage_id` bigint(20) UNSIGNED DEFAULT NULL,
  `title` varchar(255) NOT NULL,
  `props` text DEFAULT NULL,
  `options` text DEFAULT NULL,
  `affiliate` text DEFAULT NULL,
  `count` bigint(20) UNSIGNED NOT NULL,
  `price` bigint(20) UNSIGNED NOT NULL,
  `discount` bigint(20) UNSIGNED NOT NULL,
  `shop_share` bigint(20) UNSIGNED DEFAULT NULL,
  `seller_share` bigint(20) UNSIGNED DEFAULT NULL,
  `affiliate_share` bigint(20) UNSIGNED DEFAULT NULL,
  `reason` text DEFAULT NULL,
  `status` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `discounts`
--

CREATE TABLE `discounts` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `for` varchar(255) NOT NULL,
  `title` varchar(255) NOT NULL,
  `code` varchar(255) NOT NULL,
  `expire_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `percent` int(10) UNSIGNED NOT NULL,
  `max_amount` bigint(20) UNSIGNED NOT NULL,
  `max_use` int(10) UNSIGNED NOT NULL,
  `status` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `discount_user`
--

CREATE TABLE `discount_user` (
  `discount_id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `failed_jobs`
--

CREATE TABLE `failed_jobs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `uuid` varchar(255) NOT NULL,
  `connection` text NOT NULL,
  `queue` text NOT NULL,
  `payload` longtext NOT NULL,
  `exception` longtext NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `faqs`
--

CREATE TABLE `faqs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `question` text NOT NULL,
  `answer` text NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `files`
--

CREATE TABLE `files` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `url` varchar(255) NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  `extension` varchar(255) NOT NULL,
  `size` varchar(255) NOT NULL,
  `resolution` varchar(255) DEFAULT NULL,
  `type` varchar(255) NOT NULL,
  `visibility` varchar(255) NOT NULL DEFAULT 'public',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `filters`
--

CREATE TABLE `filters` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `title` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `filter_keys`
--

CREATE TABLE `filter_keys` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `filter_id` bigint(20) UNSIGNED NOT NULL,
  `title` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `filter_values`
--

CREATE TABLE `filter_values` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `filter_key_id` bigint(20) UNSIGNED NOT NULL,
  `product_id` bigint(20) UNSIGNED NOT NULL,
  `value` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `forms`
--

CREATE TABLE `forms` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `uuid` varchar(255) NOT NULL,
  `title` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `fields` text NOT NULL,
  `seo_title` varchar(255) DEFAULT NULL,
  `seo_description` text DEFAULT NULL,
  `seo_keywords` text DEFAULT NULL,
  `seo_canonical` varchar(255) DEFAULT NULL,
  `view_count` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
  `flag` enum('system','normal') NOT NULL,
  `status` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `forms`
--

INSERT INTO `forms` (`id`, `uuid`, `title`, `slug`, `description`, `fields`, `seo_title`, `seo_description`, `seo_keywords`, `seo_canonical`, `view_count`, `flag`, `status`, `created_at`, `updated_at`) VALUES
(1, 'form-6627923', 'تماس با ما', 'contact-us', '', 'a:3:{i:0;a:4:{s:2:\"id\";s:10:\"owxmnoaccc\";s:5:\"title\";s:15:\"نام کامل\";s:4:\"type\";s:4:\"text\";s:6:\"status\";s:9:\"necessary\";}i:1;a:4:{s:2:\"id\";s:10:\"zocqbqbhxx\";s:5:\"title\";s:21:\"شماره همراه\";s:4:\"type\";s:4:\"text\";s:6:\"status\";s:9:\"necessary\";}i:2;a:4:{s:2:\"id\";s:10:\"gnvkyfffru\";s:5:\"title\";s:8:\"پیام\";s:4:\"type\";s:8:\"textarea\";s:6:\"status\";s:9:\"necessary\";}}', 'تماس با ما', NULL, NULL, NULL, 0, 'system', 'publish', '2025-01-28 18:38:17', '2025-01-28 18:38:17');

-- --------------------------------------------------------

--
-- Table structure for table `form_answers`
--

CREATE TABLE `form_answers` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `form_id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `answer` text NOT NULL,
  `flag` enum('read','unread') NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `inventories`
--

CREATE TABLE `inventories` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `storage_id` bigint(20) UNSIGNED NOT NULL,
  `product_id` bigint(20) UNSIGNED NOT NULL,
  `store_id` bigint(20) UNSIGNED DEFAULT NULL,
  `uuid` varchar(255) NOT NULL,
  `price` bigint(20) UNSIGNED NOT NULL,
  `discount_price` bigint(20) UNSIGNED DEFAULT NULL,
  `discount_expire` timestamp NULL DEFAULT NULL,
  `is_update_with_currency` tinyint(1) NOT NULL DEFAULT 0,
  `currency_price` double DEFAULT NULL,
  `currency_discount_price` double DEFAULT NULL,
  `discount_tree` text DEFAULT NULL,
  `options` text DEFAULT NULL,
  `count` bigint(20) UNSIGNED NOT NULL,
  `min_sale` int(11) NOT NULL DEFAULT 1,
  `max_sale` int(11) DEFAULT NULL,
  `original` tinyint(1) DEFAULT NULL,
  `used` tinyint(1) DEFAULT NULL,
  `weight` bigint(20) DEFAULT NULL,
  `purchase_price` bigint(20) UNSIGNED DEFAULT NULL,
  `price_changes` text DEFAULT NULL,
  `image` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `send_time` varchar(255) DEFAULT NULL,
  `is_update` tinyint(1) NOT NULL DEFAULT 1,
  `status` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `inventory_props`
--

CREATE TABLE `inventory_props` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `inventory_id` bigint(20) UNSIGNED NOT NULL,
  `child` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `type` varchar(255) NOT NULL,
  `value` text NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `menus`
--

CREATE TABLE `menus` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `content` text DEFAULT NULL,
  `place` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `menus`
--

INSERT INTO `menus` (`id`, `name`, `content`, `place`, `created_at`, `updated_at`) VALUES
(1, 'منوی هدر', 'a:4:{i:0;a:3:{s:4:\"name\";s:17:\"صفحه نخست\";s:4:\"link\";s:1:\"/\";s:4:\"type\";s:8:\"internal\";}i:1;a:3:{s:4:\"name\";s:8:\"مجله\";s:4:\"link\";s:5:\"/blog\";s:4:\"type\";s:8:\"internal\";}i:2;a:3:{s:4:\"name\";s:28:\"پرسش های متداول\";s:4:\"link\";s:4:\"/faq\";s:4:\"type\";s:8:\"internal\";}i:3;a:3:{s:4:\"name\";s:18:\"تماس با ما\";s:4:\"link\";s:16:\"/form/contact-us\";s:4:\"type\";s:8:\"internal\";}}', 'header_main', '2025-04-04 20:14:32', '2025-04-06 16:31:35'),
(2, 'منوی اصلی فوتر', 'a:3:{i:0;a:3:{s:4:\"name\";s:17:\"صفحه نخست\";s:4:\"link\";s:1:\"/\";s:4:\"type\";s:8:\"internal\";}i:1;a:3:{s:4:\"name\";s:8:\"مجله\";s:4:\"link\";s:5:\"/blog\";s:4:\"type\";s:8:\"internal\";}i:2;a:3:{s:4:\"name\";s:28:\"پرسش های متداول\";s:4:\"link\";s:4:\"/faq\";s:4:\"type\";s:8:\"internal\";}}', 'footer_main', '2025-04-06 16:17:17', '2025-04-06 16:17:29'),
(3, 'دسترسی سریع', 'a:4:{i:0;a:3:{s:4:\"name\";s:17:\"صفحه نخست\";s:4:\"link\";s:1:\"/\";s:4:\"type\";s:8:\"internal\";}i:1;a:3:{s:4:\"name\";s:8:\"مجله\";s:4:\"link\";s:5:\"/blog\";s:4:\"type\";s:8:\"internal\";}i:2;a:3:{s:4:\"name\";s:28:\"پرسش های متداول\";s:4:\"link\";s:4:\"/faq\";s:4:\"type\";s:8:\"internal\";}i:3;a:3:{s:4:\"name\";s:18:\"تماس با ما\";s:4:\"link\";s:16:\"/form/contact-us\";s:4:\"type\";s:8:\"internal\";}}', 'footer_menu_1', '2026-08-14 00:33:18', '2026-08-14 00:34:26'),
(4, 'پیوند های مفید', 'a:3:{i:0;a:3:{s:4:\"name\";s:17:\"درباره ما\";s:4:\"link\";s:14:\"/page/about-us\";s:4:\"type\";s:8:\"internal\";}i:1;a:3:{s:4:\"name\";s:26:\"قوانین و شرایط\";s:4:\"link\";s:11:\"/page/terms\";s:4:\"type\";s:8:\"internal\";}i:2;a:3:{s:4:\"name\";s:18:\"تماس با ما\";s:4:\"link\";s:16:\"/form/contact-us\";s:4:\"type\";s:8:\"internal\";}}', 'footer_menu_2', '2026-08-14 00:34:39', '2026-08-14 00:34:50');

-- --------------------------------------------------------

--
-- Table structure for table `migrations`
--

CREATE TABLE `migrations` (
  `id` int(10) UNSIGNED NOT NULL,
  `migration` varchar(255) NOT NULL,
  `batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `migrations`
--

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_12_000000_create_users_table', 1),
(2, '2014_10_12_100000_create_password_reset_tokens_table', 1),
(3, '2019_08_19_000000_create_failed_jobs_table', 1),
(4, '2019_12_14_000001_create_personal_access_tokens_table', 1),
(5, '2024_02_27_230718_create_tokens_table', 1),
(6, '2024_03_02_021723_create_roles_table', 1),
(7, '2024_03_02_021742_create_permissions_table', 1),
(8, '2024_03_05_234801_create_reports_table', 1),
(9, '2024_03_07_204756_create_files_table', 1),
(10, '2024_03_08_000802_create_settings_table', 1),
(11, '2024_03_11_014000_create_notifications_table', 1),
(12, '2024_03_13_024840_create_menus_table', 1),
(13, '2024_03_13_213617_create_product_categories_table', 1),
(14, '2024_03_14_025504_create_brands_table', 1),
(15, '2024_03_14_030515_create_products_table', 1),
(16, '2024_03_15_064654_create_stores_table', 1),
(17, '2024_03_15_100727_create_colors_table', 1),
(18, '2024_03_22_184205_create_product_tags_table', 1),
(19, '2024_04_07_130022_create_product_favorites_table', 1),
(20, '2024_04_09_135842_create_tickets_table', 1),
(21, '2024_04_09_135902_create_ticket_answers_table', 1),
(22, '2024_04_16_205358_create_addresses_table', 1),
(23, '2024_04_20_014724_create_wallets_table', 1),
(24, '2024_04_20_021632_create_transactions_table', 1),
(25, '2024_04_22_054010_create_templates_table', 1),
(26, '2024_04_29_221146_create_searches_table', 1),
(27, '2024_05_12_092900_create_specifications_table', 1),
(28, '2024_05_12_092910_create_specification_keys_table', 1),
(29, '2024_05_12_092915_create_specification_values_table', 1),
(30, '2024_05_12_095509_create_product_props_table', 1),
(31, '2024_05_22_195242_create_storages_table', 1),
(32, '2024_05_22_195252_create_inventories_table', 1),
(33, '2024_05_23_011956_create_inventory_props_table', 1),
(34, '2024_06_07_104216_create_payment_metas_table', 1),
(35, '2024_06_12_075041_create_discounts_table', 1),
(36, '2024_06_13_165930_create_pages_table', 1),
(37, '2024_06_13_191556_create_forms_table', 1),
(38, '2024_06_13_193058_create_form_answers_table', 1),
(39, '2024_06_28_200455_create_product_notifications_table', 1),
(40, '2024_07_04_012826_create_product_comments_table', 1),
(41, '2024_07_08_112117_create_questions_table', 1),
(42, '2024_07_08_112122_create_question_answers_table', 1),
(43, '2024_07_14_171101_create_article_categories_table', 1),
(44, '2024_07_14_171245_create_articles_table', 1),
(45, '2024_07_14_182345_create_article_tags_table', 1),
(46, '2024_08_11_050857_create_article_comments_table', 1),
(47, '2024_09_10_004156_create_newsletters_table', 1),
(48, '2024_09_12_170511_create_scores_table', 1),
(49, '2024_09_13_091629_create_affiliates_table', 1),
(50, '2024_10_10_235654_create_compares_table', 1),
(51, '2024_10_13_220719_create_statistics_table', 1),
(52, '2024_10_17_050027_create_orders_table', 1),
(53, '2024_10_17_062705_create_consignments_table', 1),
(54, '2024_10_17_062725_create_consignment_items_table', 1),
(55, '2024_11_04_015241_create_withdrawals_table', 1),
(56, '2024_11_05_154740_create_bank_cards_table', 1),
(57, '2024_12_24_175405_create_stories_table', 1),
(58, '2025_01_16_112053_create_faqs_table', 1);

-- --------------------------------------------------------

--
-- Table structure for table `newsletters`
--

CREATE TABLE `newsletters` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `email` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `notifications`
--

CREATE TABLE `notifications` (
  `id` char(36) NOT NULL,
  `type` varchar(255) NOT NULL,
  `notifiable_type` varchar(255) NOT NULL,
  `notifiable_id` bigint(20) UNSIGNED NOT NULL,
  `data` text NOT NULL,
  `read_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `orders`
--

CREATE TABLE `orders` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `order_group_id` bigint(20) UNSIGNED DEFAULT NULL,
  `uuid` varchar(255) NOT NULL,
  `send_by` bigint(20) UNSIGNED DEFAULT NULL,
  `discount` text DEFAULT NULL,
  `va_tax_percent` bigint(20) UNSIGNED DEFAULT NULL,
  `address` text DEFAULT NULL,
  `send_method` text DEFAULT NULL,
  `send_time` varchar(255) DEFAULT NULL,
  `post_tracking_code` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `abandoned_cart` text DEFAULT NULL,
  `start_process` tinyint(1) NOT NULL DEFAULT 0,
  `status` varchar(255) NOT NULL,
  `is_locked` tinyint(1) NOT NULL DEFAULT 0,
  `sent_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `order_groups`
--

CREATE TABLE `order_groups` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `transaction_id` bigint(20) UNSIGNED NOT NULL,
  `uuid` varchar(255) NOT NULL,
  `payment_transaction_uuid` text DEFAULT NULL,
  `receipt_file_id` varchar(255) DEFAULT NULL,
  `type` varchar(255) DEFAULT NULL,
  `payment_status` varchar(255) NOT NULL DEFAULT 'accepted',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `pages`
--

CREATE TABLE `pages` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `uuid` varchar(255) NOT NULL,
  `title` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `content` text NOT NULL,
  `seo_title` varchar(255) DEFAULT NULL,
  `seo_description` text DEFAULT NULL,
  `seo_keywords` text DEFAULT NULL,
  `seo_canonical` varchar(255) DEFAULT NULL,
  `view_count` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
  `flag` enum('system','normal') NOT NULL,
  `status` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `pages`
--

INSERT INTO `pages` (`id`, `uuid`, `title`, `slug`, `content`, `seo_title`, `seo_description`, `seo_keywords`, `seo_canonical`, `view_count`, `flag`, `status`, `created_at`, `updated_at`) VALUES
(1, 'page-1723124', 'درباره ما', 'about-us', '', 'درباره ما', NULL, NULL, NULL, 0, 'system', 'publish', '2025-01-28 18:38:18', '2025-01-28 18:38:18'),
(2, 'page-6337985', 'قوانین و شرایط', 'terms', '', 'قوانین و شرایط', NULL, NULL, NULL, 0, 'system', 'publish', '2025-01-28 18:38:18', '2025-01-28 18:38:18'),
(3, 'page-2730611', 'راهنمای فروشندگان', 'seller-guide', '', 'راهنمای فروشندگان', NULL, NULL, NULL, 0, 'system', 'publish', '2025-01-28 18:38:18', '2025-01-28 18:38:18');

-- --------------------------------------------------------

--
-- Table structure for table `payment_metas`
--

CREATE TABLE `payment_metas` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `store_id` bigint(20) UNSIGNED DEFAULT NULL,
  `reception_centers_addresses` text DEFAULT NULL,
  `receive_in_person_status` tinyint(1) NOT NULL DEFAULT 1,
  `receive_in_person_period` text DEFAULT NULL,
  `post_ways` text NOT NULL,
  `free_post_min_price` bigint(20) UNSIGNED DEFAULT NULL,
  `description` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `exchange_rate` bigint(20) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payment_metas`
--

INSERT INTO `payment_metas` (`id`, `store_id`, `reception_centers_addresses`, `receive_in_person_status`, `receive_in_person_period`, `post_ways`, `free_post_min_price`, `description`, `created_at`, `updated_at`, `exchange_rate`) VALUES
(1, NULL, NULL, 1, NULL, '', 1000000, NULL, '2025-01-31 22:29:18', '2025-04-06 21:42:13', NULL);

-- --------------------------------------------------------

--
-- Table structure for table `pending_payments`
--

CREATE TABLE `pending_payments` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `order_id` bigint(20) UNSIGNED NOT NULL,
  `amount` bigint(20) UNSIGNED NOT NULL,
  `data` text DEFAULT NULL,
  `type` varchar(255) NOT NULL,
  `status` varchar(255) NOT NULL,
  `paid_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `permissions`
--

CREATE TABLE `permissions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `label` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `permissions`
--

INSERT INTO `permissions` (`id`, `name`, `label`, `created_at`, `updated_at`) VALUES
(1, 'manage-users', 'مدیریت کاربران', NULL, NULL),
(2, 'change-settings', 'تغییر تنظیمات سایت', NULL, NULL),
(3, 'show-reports', 'مشاهده تاریخچه فعالیت ها', NULL, NULL),
(4, 'manage-menus', 'مدیریت منو ها', NULL, NULL),
(5, 'manage-products', 'مدیریت محصولات', NULL, NULL),
(6, 'manage-brands', 'مدیریت برند ها', NULL, NULL),
(7, 'manage-product-categories', 'مدیریت دسته‌بندی محصولات', NULL, NULL),
(8, 'manage-tickets', 'مدیریت تیکت ها', NULL, NULL),
(9, 'manage-transactions', 'مدیریت تراکنش ها', NULL, NULL),
(10, 'manage-template', 'مدیریت قالب', NULL, NULL),
(11, 'manage-stores', 'مدیریت فروشندگان', NULL, NULL),
(12, 'manage-discounts', 'مدیریت تخفیفات', NULL, NULL),
(13, 'manage-pages', 'مدیریت صفحات', NULL, NULL),
(14, 'manage-forms', 'مدیریت فرم ها', NULL, NULL),
(15, 'manage-product-comments', 'مدیریت دیدگاه محصولات', NULL, NULL),
(16, 'manage-product-questions', 'مدیریت پرسش محصولات', NULL, NULL),
(17, 'manage-articles', 'مدیریت مقالات', NULL, NULL),
(18, 'manage-article-categories', 'مدیریت دسته‌بندی مقالات', NULL, NULL),
(19, 'manage-article-comments', 'مدیریت دیدگاه مقالات', NULL, NULL),
(20, 'manage-affiliate', 'مدیریت همکاری در فروش', NULL, NULL),
(21, 'show-statistics', 'نمایش آمار ها', NULL, NULL),
(22, 'manage-orders', 'مدیریت سفارشات', NULL, NULL),
(23, 'manage-stories', 'مدیریت استوری ها', NULL, NULL),
(24, 'manage-faq', 'مدیریت پرسش های متداول', NULL, NULL),
(25, 'manage-newsletters', 'مدیریت خبرنامه', '2025-06-03 09:31:55', '2025-06-03 09:31:55'),
(26, 'manage-prefactors', 'صدور پیش فاکتور', '2025-06-03 09:31:55', '2025-06-03 09:31:55'),
(27, 'manage-storages', 'مدیریت انبار و موجودی ها', '2026-04-25 14:02:22', '2026-04-25 14:02:22');

-- --------------------------------------------------------

--
-- Table structure for table `permission_role`
--

CREATE TABLE `permission_role` (
  `role_id` bigint(20) UNSIGNED NOT NULL,
  `permission_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `prefactors`
--

CREATE TABLE `prefactors` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `order_id` bigint(20) UNSIGNED DEFAULT NULL,
  `order_group_id` bigint(20) UNSIGNED DEFAULT NULL,
  `by` bigint(20) UNSIGNED NOT NULL,
  `uuid` varchar(255) NOT NULL,
  `title` varchar(255) NOT NULL,
  `paid_by` varchar(255) DEFAULT NULL,
  `status` varchar(255) NOT NULL,
  `expired_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `products`
--

CREATE TABLE `products` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `edited_by` bigint(20) UNSIGNED NOT NULL,
  `brand_id` bigint(20) UNSIGNED DEFAULT NULL,
  `category_id` bigint(20) UNSIGNED NOT NULL,
  `uuid` varchar(255) NOT NULL,
  `title` varchar(255) NOT NULL,
  `title_en` varchar(255) DEFAULT NULL,
  `slug` varchar(255) NOT NULL,
  `content` text DEFAULT NULL,
  `warnings` text DEFAULT NULL,
  `guide` text DEFAULT NULL,
  `tabs` text DEFAULT NULL,
  `images` text DEFAULT NULL,
  `videos` text DEFAULT NULL,
  `model_3d` text DEFAULT NULL,
  `attrs` text DEFAULT NULL,
  `seo_title` varchar(255) DEFAULT NULL,
  `seo_description` text DEFAULT NULL,
  `seo_keywords` text DEFAULT NULL,
  `seo_canonical` varchar(255) DEFAULT NULL,
  `view_count` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
  `in_stock_status` tinyint(1) NOT NULL DEFAULT 1,
  `inquiry_options` text DEFAULT NULL,
  `commission` double NOT NULL DEFAULT 0,
  `is_vip` tinyint(1) NOT NULL DEFAULT 0,
  `comment_status` tinyint(1) NOT NULL DEFAULT 1,
  `question_status` tinyint(1) NOT NULL DEFAULT 1,
  `reason` text NOT NULL,
  `status` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `product_categories`
--

CREATE TABLE `product_categories` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `parent_id` bigint(20) NOT NULL DEFAULT 0,
  `sort_id` bigint(20) NOT NULL,
  `title` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `content` text DEFAULT NULL,
  `image` varchar(255) DEFAULT NULL,
  `seo_title` varchar(255) DEFAULT NULL,
  `seo_description` text DEFAULT NULL,
  `seo_keywords` text DEFAULT NULL,
  `seo_canonical` varchar(255) DEFAULT NULL,
  `view_count` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
  `status` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `product_comments`
--

CREATE TABLE `product_comments` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `product_id` bigint(20) UNSIGNED NOT NULL,
  `content` text NOT NULL,
  `answer` text DEFAULT NULL,
  `strengths` text DEFAULT NULL,
  `weakness` text DEFAULT NULL,
  `images` text DEFAULT NULL,
  `buy_suggest` varchar(255) DEFAULT NULL,
  `rating` varchar(255) NOT NULL,
  `vote_up` varchar(255) NOT NULL DEFAULT '0',
  `vote_down` varchar(255) NOT NULL DEFAULT '0',
  `reported` tinyint(1) NOT NULL DEFAULT 0,
  `status` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `product_favorites`
--

CREATE TABLE `product_favorites` (
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `product_id` bigint(20) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `product_notifications`
--

CREATE TABLE `product_notifications` (
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `product_id` bigint(20) UNSIGNED NOT NULL,
  `type` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `product_product_tag`
--

CREATE TABLE `product_product_tag` (
  `product_tag_id` bigint(20) UNSIGNED NOT NULL,
  `product_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `product_props`
--

CREATE TABLE `product_props` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `product_id` bigint(20) UNSIGNED NOT NULL,
  `child` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `type` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `product_store`
--

CREATE TABLE `product_store` (
  `store_id` bigint(20) UNSIGNED NOT NULL,
  `product_id` bigint(20) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `product_tags`
--

CREATE TABLE `product_tags` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `title` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `view_count` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
  `status` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `questions`
--

CREATE TABLE `questions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `product_id` bigint(20) UNSIGNED NOT NULL,
  `question` text NOT NULL,
  `status` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `question_answers`
--

CREATE TABLE `question_answers` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `question_id` bigint(20) UNSIGNED NOT NULL,
  `answer` text NOT NULL,
  `vote_up` varchar(255) NOT NULL DEFAULT '0',
  `vote_down` varchar(255) NOT NULL DEFAULT '0',
  `status` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `reports`
--

CREATE TABLE `reports` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `content` text NOT NULL,
  `type` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `roles`
--

CREATE TABLE `roles` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `label` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `role_user`
--

CREATE TABLE `role_user` (
  `role_id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `scores`
--

CREATE TABLE `scores` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `score` bigint(20) UNSIGNED NOT NULL,
  `description` text NOT NULL,
  `type` enum('increase','decrease') NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `searches`
--

CREATE TABLE `searches` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `keyword` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `specifications`
--

CREATE TABLE `specifications` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `category_id` bigint(20) UNSIGNED DEFAULT NULL,
  `title` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `specification_values`
--

CREATE TABLE `specification_values` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `product_id` bigint(20) UNSIGNED NOT NULL,
  `specification_key_id` bigint(20) UNSIGNED NOT NULL,
  `value` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `statistics`
--

CREATE TABLE `statistics` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `platform` varchar(255) NOT NULL,
  `service` varchar(255) DEFAULT NULL,
  `ip` varchar(255) DEFAULT NULL,
  `url` text DEFAULT NULL,
  `agent` text DEFAULT NULL,
  `os` varchar(255) DEFAULT NULL,
  `browser` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `storages`
--

CREATE TABLE `storages` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `store_id` bigint(20) UNSIGNED DEFAULT NULL,
  `uuid` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `address` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `stores`
--

CREATE TABLE `stores` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `uuid` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `bio` text DEFAULT NULL,
  `logo` varchar(255) DEFAULT NULL,
  `meta` text NOT NULL,
  `information` text NOT NULL,
  `view_count` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
  `type` varchar(255) NOT NULL,
  `direct_post` tinyint(1) NOT NULL DEFAULT 0,
  `reason` text DEFAULT NULL,
  `status` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `stories`
--

CREATE TABLE `stories` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `type` varchar(255) NOT NULL,
  `title` varchar(255) NOT NULL,
  `cover` varchar(255) NOT NULL,
  `file` varchar(255) NOT NULL,
  `widgets` text NOT NULL,
  `like` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
  `status` varchar(255) NOT NULL,
  `expired_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `templates`
--

CREATE TABLE `templates` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `title` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `image` text DEFAULT NULL,
  `options` text NOT NULL,
  `options_backup` text DEFAULT NULL,
  `top_banner` text DEFAULT NULL,
  `header` varchar(255) NOT NULL,
  `header_backup` text DEFAULT NULL,
  `footer` varchar(255) NOT NULL,
  `footer_backup` text DEFAULT NULL,
  `data` text NOT NULL,
  `data_backup` text DEFAULT NULL,
  `blog_data` text NOT NULL,
  `blog_data_backup` text DEFAULT NULL,
  `type` varchar(255) NOT NULL,
  `status` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `templates`
--

INSERT INTO `templates` (`id`, `title`, `description`, `image`, `options`, `options_backup`, `top_banner`, `header`, `header_backup`, `footer`, `footer_backup`, `data`, `data_backup`, `blog_data`, `blog_data_backup`, `type`, `status`, `created_at`, `updated_at`) VALUES
(1, 'قالب لوازم یدکی', 'فروش قطعات خودرو و ابزارآلات', '/img/demo/templates/default_template.png', 'a:1:{s:5:\"style\";a:6:{s:15:\"site_main_color\";s:7:\"#0060ff\";s:20:\"site_secondary_color\";s:7:\"#f8a203\";s:21:\"site_background_color\";s:7:\"#f7f8fa\";s:16:\"site_main_shadow\";s:1:\"0\";s:10:\"custom_css\";N;s:9:\"custom_js\";N;}}', 'a:1:{s:5:\"style\";a:6:{s:15:\"site_main_color\";s:7:\"#0060ff\";s:20:\"site_secondary_color\";s:7:\"#f8a203\";s:21:\"site_background_color\";s:7:\"#f7f8fa\";s:16:\"site_main_shadow\";s:1:\"0\";s:10:\"custom_css\";N;s:9:\"custom_js\";N;}}', 'a:3:{s:7:\"desktop\";a:3:{s:7:\"file_id\";N;s:5:\"image\";N;s:3:\"alt\";N;}s:6:\"mobile\";a:3:{s:7:\"file_id\";N;s:5:\"image\";N;s:3:\"alt\";N;}s:4:\"link\";N;}', 'HeaderType2', 'HeaderType2', 'FooterType3', 'FooterType3', 'a:2:{s:5:\"index\";a:11:{i:0;a:5:{s:2:\"id\";s:6:\"259138\";s:9:\"component\";s:11:\"SliderType3\";s:4:\"type\";a:2:{i:0;s:6:\"slider\";i:1;s:12:\"product_list\";}s:4:\"data\";a:3:{s:6:\"slider\";a:0:{}s:12:\"product_list\";a:3:{s:2:\"id\";s:14:\"instant_offers\";s:5:\"label\";s:32:\"پیشنهادات لحظه ای\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"836894\";s:9:\"component\";s:13:\"CategoryList1\";s:4:\"type\";a:2:{i:0;s:13:\"category_list\";i:1;s:24:\"selectable_category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:2:{s:2:\"id\";s:11:\"simple_list\";s:8:\"category\";a:3:{s:2:\"id\";s:3:\"all\";s:5:\"title\";s:31:\"همه دسته‌بندی ها\";s:14:\"dropdown_title\";s:31:\"همه دسته‌بندی ها\";}}s:5:\"style\";a:4:{s:10:\"item_count\";i:9;s:15:\"main_background\";s:5:\"empty\";s:16:\"items_background\";b:1;s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"30\";}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"181324\";s:9:\"component\";s:12:\"ProductList1\";s:4:\"type\";a:2:{i:0;s:12:\"product_list\";i:1;s:16:\"product_box_list\";}s:4:\"data\";a:3:{s:12:\"product_list\";a:3:{s:2:\"id\";s:19:\"discounted_products\";s:5:\"label\";s:32:\"محصولات تخفیف دار\";s:7:\"archive\";a:1:{s:8:\"discount\";b:1;}}s:16:\"product_box_list\";a:2:{s:5:\"color\";s:7:\"#e8ecf0\";s:5:\"image\";a:2:{s:3:\"src\";s:40:\"/img/temp/amazing-product-image-temp.png\";s:3:\"alt\";N;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"238766\";s:9:\"component\";s:12:\"ProductList3\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:15:\"latest_products\";s:5:\"label\";s:31:\"جدیدترین محصولات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"20\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"695733\";s:9:\"component\";s:12:\"ProductList2\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:16:\"popular_products\";s:5:\"label\";s:34:\"محبوب ترین محصولات\";s:7:\"archive\";a:1:{s:7:\"popular\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"227039\";s:9:\"component\";s:9:\"Banner1th\";s:4:\"type\";a:2:{i:0;s:6:\"banner\";i:1;s:13:\"banner-single\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:1;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:6;a:5:{s:2:\"id\";s:6:\"261816\";s:9:\"component\";s:13:\"CategoryList2\";s:4:\"type\";a:1:{i:0;s:13:\"category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:1:{s:2:\"id\";s:13:\"with_products\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:7;a:5:{s:2:\"id\";s:6:\"984064\";s:9:\"component\";s:12:\"ProductList4\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:20:\"most_viewed_products\";s:5:\"label\";s:40:\"پربازدید ترین محصولات\";s:7:\"archive\";a:1:{s:11:\"most_viewed\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:8;a:5:{s:2:\"id\";s:6:\"472978\";s:9:\"component\";s:12:\"ProductList3\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:19:\"most_sales_products\";s:5:\"label\";s:36:\"پرفروش ترین محصولات\";s:7:\"archive\";a:1:{s:9:\"most_sale\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:9;a:5:{s:2:\"id\";s:6:\"126724\";s:9:\"component\";s:10:\"BrandList1\";s:4:\"type\";a:1:{i:0;s:10:\"brand_list\";}s:4:\"data\";a:2:{s:10:\"brand_list\";a:1:{s:6:\"brands\";a:0:{}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"35\";}}}s:8:\"settings\";b:1;}i:10;a:5:{s:2:\"id\";s:6:\"777110\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"45\";}}}s:8:\"settings\";b:1;}}s:7:\"product\";a:0:{}}', 'a:2:{s:5:\"index\";a:11:{i:0;a:5:{s:2:\"id\";s:6:\"259138\";s:9:\"component\";s:11:\"SliderType3\";s:4:\"type\";a:2:{i:0;s:6:\"slider\";i:1;s:12:\"product_list\";}s:4:\"data\";a:3:{s:6:\"slider\";a:0:{}s:12:\"product_list\";a:3:{s:2:\"id\";s:14:\"instant_offers\";s:5:\"label\";s:32:\"پیشنهادات لحظه ای\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"836894\";s:9:\"component\";s:13:\"CategoryList1\";s:4:\"type\";a:2:{i:0;s:13:\"category_list\";i:1;s:24:\"selectable_category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:2:{s:2:\"id\";s:11:\"simple_list\";s:8:\"category\";a:3:{s:2:\"id\";s:3:\"all\";s:5:\"title\";s:31:\"همه دسته‌بندی ها\";s:14:\"dropdown_title\";s:31:\"همه دسته‌بندی ها\";}}s:5:\"style\";a:4:{s:10:\"item_count\";i:9;s:15:\"main_background\";s:5:\"empty\";s:16:\"items_background\";b:1;s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"30\";}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"181324\";s:9:\"component\";s:12:\"ProductList1\";s:4:\"type\";a:2:{i:0;s:12:\"product_list\";i:1;s:16:\"product_box_list\";}s:4:\"data\";a:3:{s:12:\"product_list\";a:3:{s:2:\"id\";s:19:\"discounted_products\";s:5:\"label\";s:32:\"محصولات تخفیف دار\";s:7:\"archive\";a:1:{s:8:\"discount\";b:1;}}s:16:\"product_box_list\";a:2:{s:5:\"color\";s:7:\"#e8ecf0\";s:5:\"image\";a:2:{s:3:\"src\";s:40:\"/img/temp/amazing-product-image-temp.png\";s:3:\"alt\";N;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"238766\";s:9:\"component\";s:12:\"ProductList3\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:15:\"latest_products\";s:5:\"label\";s:31:\"جدیدترین محصولات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"20\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"695733\";s:9:\"component\";s:12:\"ProductList2\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:16:\"popular_products\";s:5:\"label\";s:34:\"محبوب ترین محصولات\";s:7:\"archive\";a:1:{s:7:\"popular\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"227039\";s:9:\"component\";s:9:\"Banner1th\";s:4:\"type\";a:2:{i:0;s:6:\"banner\";i:1;s:13:\"banner-single\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:1;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:6;a:5:{s:2:\"id\";s:6:\"261816\";s:9:\"component\";s:13:\"CategoryList2\";s:4:\"type\";a:1:{i:0;s:13:\"category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:1:{s:2:\"id\";s:13:\"with_products\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:7;a:5:{s:2:\"id\";s:6:\"984064\";s:9:\"component\";s:12:\"ProductList4\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:20:\"most_viewed_products\";s:5:\"label\";s:40:\"پربازدید ترین محصولات\";s:7:\"archive\";a:1:{s:11:\"most_viewed\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:8;a:5:{s:2:\"id\";s:6:\"472978\";s:9:\"component\";s:12:\"ProductList3\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:19:\"most_sales_products\";s:5:\"label\";s:36:\"پرفروش ترین محصولات\";s:7:\"archive\";a:1:{s:9:\"most_sale\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:9;a:5:{s:2:\"id\";s:6:\"126724\";s:9:\"component\";s:10:\"BrandList1\";s:4:\"type\";a:1:{i:0;s:10:\"brand_list\";}s:4:\"data\";a:2:{s:10:\"brand_list\";a:1:{s:6:\"brands\";a:0:{}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"35\";}}}s:8:\"settings\";b:1;}i:10;a:5:{s:2:\"id\";s:6:\"777110\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"45\";}}}s:8:\"settings\";b:1;}}s:7:\"product\";a:0:{}}', 'a:2:{s:5:\"index\";a:6:{i:0;a:5:{s:2:\"id\";s:6:\"721714\";s:9:\"component\";s:17:\"BlogCategoryList1\";s:4:\"type\";a:1:{i:0;s:13:\"category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:1:{s:2:\"id\";s:11:\"simple_list\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"974003\";s:9:\"component\";s:12:\"ArticleList1\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:22:\"editor_choice_articles\";s:5:\"label\";s:19:\"برگزیده ها\";s:7:\"archive\";a:1:{s:13:\"editor_choice\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"364297\";s:9:\"component\";s:9:\"Banner4th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:4;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"655727\";s:9:\"component\";s:12:\"ArticleList2\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"460632\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:20:\"most_viewed_articles\";s:5:\"label\";s:30:\"پربازدید ترین ها\";s:7:\"archive\";a:1:{s:11:\"most_viewed\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"136023\";s:9:\"component\";s:13:\"HashtagsType1\";s:4:\"type\";a:1:{i:0;s:8:\"hashtags\";}s:4:\"data\";a:2:{s:8:\"hashtags\";a:0:{}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}}s:7:\"article\";a:1:{s:7:\"banners\";a:0:{}}}', 'a:2:{s:5:\"index\";a:6:{i:0;a:5:{s:2:\"id\";s:6:\"721714\";s:9:\"component\";s:17:\"BlogCategoryList1\";s:4:\"type\";a:1:{i:0;s:13:\"category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:1:{s:2:\"id\";s:11:\"simple_list\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"974003\";s:9:\"component\";s:12:\"ArticleList1\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:22:\"editor_choice_articles\";s:5:\"label\";s:19:\"برگزیده ها\";s:7:\"archive\";a:1:{s:13:\"editor_choice\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"364297\";s:9:\"component\";s:9:\"Banner4th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:4;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"655727\";s:9:\"component\";s:12:\"ArticleList2\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"460632\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:20:\"most_viewed_articles\";s:5:\"label\";s:30:\"پربازدید ترین ها\";s:7:\"archive\";a:1:{s:11:\"most_viewed\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"136023\";s:9:\"component\";s:13:\"HashtagsType1\";s:4:\"type\";a:1:{i:0;s:8:\"hashtags\";}s:4:\"data\";a:2:{s:8:\"hashtags\";a:0:{}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}}s:7:\"article\";a:1:{s:7:\"banners\";a:0:{}}}', 'system', 'active', '2026-08-14 01:20:20', '2026-08-14 01:20:20'),
(2, 'قالب دیجی‌کالا', 'قالب خرده فروشی آنلاین مشابه دیجی‌کالا', '/img/demo/templates/digikala_template.png', 'a:1:{s:5:\"style\";a:4:{s:15:\"site_main_color\";s:7:\"#ee1844\";s:20:\"site_secondary_color\";s:7:\"#ee1844\";s:21:\"site_background_color\";s:7:\"#f7f8fa\";s:16:\"site_main_shadow\";s:1:\"0\";}}', 'a:1:{s:5:\"style\";a:4:{s:15:\"site_main_color\";s:7:\"#ee1844\";s:20:\"site_secondary_color\";s:7:\"#ee1844\";s:21:\"site_background_color\";s:7:\"#f7f8fa\";s:16:\"site_main_shadow\";s:1:\"0\";}}', 'a:3:{s:7:\"desktop\";a:3:{s:7:\"file_id\";N;s:5:\"image\";N;s:3:\"alt\";N;}s:6:\"mobile\";a:3:{s:7:\"file_id\";N;s:5:\"image\";N;s:3:\"alt\";N;}s:4:\"link\";N;}', 'HeaderType4', 'HeaderType4', 'FooterType3', 'FooterType3', 'a:2:{s:5:\"index\";a:14:{i:0;a:5:{s:2:\"id\";s:6:\"681501\";s:9:\"component\";s:11:\"SliderType4\";s:4:\"type\";a:1:{i:0;s:6:\"slider\";}s:4:\"data\";a:2:{s:6:\"slider\";a:0:{}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"25\";}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"485990\";s:9:\"component\";s:12:\"ProductList1\";s:4:\"type\";a:2:{i:0;s:12:\"product_list\";i:1;s:16:\"product_box_list\";}s:4:\"data\";a:3:{s:12:\"product_list\";a:3:{s:2:\"id\";s:19:\"discounted_products\";s:5:\"label\";s:32:\"محصولات تخفیف دار\";s:7:\"archive\";a:1:{s:8:\"discount\";b:1;}}s:16:\"product_box_list\";a:2:{s:5:\"color\";s:7:\"#dfe4e8\";s:5:\"image\";a:2:{s:3:\"src\";s:40:\"/img/temp/amazing-product-image-temp.png\";s:3:\"alt\";N;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"470117\";s:9:\"component\";s:9:\"Banner4th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:4;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"782786\";s:9:\"component\";s:13:\"CategoryList1\";s:4:\"type\";a:2:{i:0;s:13:\"category_list\";i:1;s:24:\"selectable_category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:2:{s:2:\"id\";s:11:\"simple_list\";s:8:\"category\";a:3:{s:2:\"id\";s:4:\"main\";s:5:\"title\";s:35:\"دسته‌بندی های اصلی\";s:14:\"dropdown_title\";s:35:\"دسته‌بندی های اصلی\";}}s:5:\"style\";a:3:{s:15:\"main_background\";s:8:\"gradient\";s:16:\"items_background\";b:1;s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"25\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"415174\";s:9:\"component\";s:12:\"ProductList2\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:16:\"popular_products\";s:5:\"label\";s:34:\"محبوب ترین محصولات\";s:7:\"archive\";a:1:{s:7:\"popular\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"25\";}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"137707\";s:9:\"component\";s:9:\"Banner1th\";s:4:\"type\";a:2:{i:0;s:6:\"banner\";i:1;s:13:\"banner-single\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:1;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"25\";}}}s:8:\"settings\";b:1;}i:6;a:5:{s:2:\"id\";s:6:\"509867\";s:9:\"component\";s:12:\"ProductList3\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:15:\"latest_products\";s:5:\"label\";s:31:\"جدیدترین محصولات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"25\";}}}s:8:\"settings\";b:1;}i:7;a:5:{s:2:\"id\";s:6:\"834070\";s:9:\"component\";s:9:\"Banner2th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:2;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"35\";}}}s:8:\"settings\";b:1;}i:8;a:5:{s:2:\"id\";s:6:\"754121\";s:9:\"component\";s:13:\"CategoryList2\";s:4:\"type\";a:1:{i:0;s:13:\"category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:1:{s:2:\"id\";s:13:\"with_products\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:2:\"20\";s:6:\"bottom\";s:2:\"25\";}}}s:8:\"settings\";b:1;}i:9;a:5:{s:2:\"id\";s:6:\"434054\";s:9:\"component\";s:12:\"ProductList4\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:16:\"popular_products\";s:5:\"label\";s:34:\"محبوب ترین محصولات\";s:7:\"archive\";a:1:{s:7:\"popular\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"25\";}}}s:8:\"settings\";b:1;}i:10;a:5:{s:2:\"id\";s:6:\"219739\";s:9:\"component\";s:9:\"Banner2th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:2;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"25\";}}}s:8:\"settings\";b:1;}i:11;a:5:{s:2:\"id\";s:6:\"341737\";s:9:\"component\";s:12:\"ProductList3\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:20:\"most_viewed_products\";s:5:\"label\";s:40:\"پربازدید ترین محصولات\";s:7:\"archive\";a:1:{s:11:\"most_viewed\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"35\";}}}s:8:\"settings\";b:1;}i:12;a:5:{s:2:\"id\";s:6:\"300434\";s:9:\"component\";s:10:\"BrandList1\";s:4:\"type\";a:1:{i:0;s:10:\"brand_list\";}s:4:\"data\";a:2:{s:10:\"brand_list\";a:1:{s:6:\"brands\";a:0:{}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"35\";}}}s:8:\"settings\";b:1;}i:13;a:5:{s:2:\"id\";s:6:\"391433\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"20\";}}}s:8:\"settings\";b:1;}}s:7:\"product\";a:0:{}}', 'a:2:{s:5:\"index\";a:14:{i:0;a:5:{s:2:\"id\";s:6:\"681501\";s:9:\"component\";s:11:\"SliderType4\";s:4:\"type\";a:1:{i:0;s:6:\"slider\";}s:4:\"data\";a:2:{s:6:\"slider\";a:0:{}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"25\";}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"485990\";s:9:\"component\";s:12:\"ProductList1\";s:4:\"type\";a:2:{i:0;s:12:\"product_list\";i:1;s:16:\"product_box_list\";}s:4:\"data\";a:3:{s:12:\"product_list\";a:3:{s:2:\"id\";s:19:\"discounted_products\";s:5:\"label\";s:32:\"محصولات تخفیف دار\";s:7:\"archive\";a:1:{s:8:\"discount\";b:1;}}s:16:\"product_box_list\";a:2:{s:5:\"color\";s:7:\"#dfe4e8\";s:5:\"image\";a:2:{s:3:\"src\";s:40:\"/img/temp/amazing-product-image-temp.png\";s:3:\"alt\";N;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"470117\";s:9:\"component\";s:9:\"Banner4th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:4;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"782786\";s:9:\"component\";s:13:\"CategoryList1\";s:4:\"type\";a:2:{i:0;s:13:\"category_list\";i:1;s:24:\"selectable_category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:2:{s:2:\"id\";s:11:\"simple_list\";s:8:\"category\";a:3:{s:2:\"id\";s:4:\"main\";s:5:\"title\";s:35:\"دسته‌بندی های اصلی\";s:14:\"dropdown_title\";s:35:\"دسته‌بندی های اصلی\";}}s:5:\"style\";a:3:{s:15:\"main_background\";s:8:\"gradient\";s:16:\"items_background\";b:1;s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"25\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"415174\";s:9:\"component\";s:12:\"ProductList2\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:16:\"popular_products\";s:5:\"label\";s:34:\"محبوب ترین محصولات\";s:7:\"archive\";a:1:{s:7:\"popular\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"25\";}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"137707\";s:9:\"component\";s:9:\"Banner1th\";s:4:\"type\";a:2:{i:0;s:6:\"banner\";i:1;s:13:\"banner-single\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:1;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"25\";}}}s:8:\"settings\";b:1;}i:6;a:5:{s:2:\"id\";s:6:\"509867\";s:9:\"component\";s:12:\"ProductList3\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:15:\"latest_products\";s:5:\"label\";s:31:\"جدیدترین محصولات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"25\";}}}s:8:\"settings\";b:1;}i:7;a:5:{s:2:\"id\";s:6:\"834070\";s:9:\"component\";s:9:\"Banner2th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:2;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"35\";}}}s:8:\"settings\";b:1;}i:8;a:5:{s:2:\"id\";s:6:\"754121\";s:9:\"component\";s:13:\"CategoryList2\";s:4:\"type\";a:1:{i:0;s:13:\"category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:1:{s:2:\"id\";s:13:\"with_products\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:2:\"20\";s:6:\"bottom\";s:2:\"25\";}}}s:8:\"settings\";b:1;}i:9;a:5:{s:2:\"id\";s:6:\"434054\";s:9:\"component\";s:12:\"ProductList4\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:16:\"popular_products\";s:5:\"label\";s:34:\"محبوب ترین محصولات\";s:7:\"archive\";a:1:{s:7:\"popular\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"25\";}}}s:8:\"settings\";b:1;}i:10;a:5:{s:2:\"id\";s:6:\"219739\";s:9:\"component\";s:9:\"Banner2th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:2;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"25\";}}}s:8:\"settings\";b:1;}i:11;a:5:{s:2:\"id\";s:6:\"341737\";s:9:\"component\";s:12:\"ProductList3\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:20:\"most_viewed_products\";s:5:\"label\";s:40:\"پربازدید ترین محصولات\";s:7:\"archive\";a:1:{s:11:\"most_viewed\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"35\";}}}s:8:\"settings\";b:1;}i:12;a:5:{s:2:\"id\";s:6:\"300434\";s:9:\"component\";s:10:\"BrandList1\";s:4:\"type\";a:1:{i:0;s:10:\"brand_list\";}s:4:\"data\";a:2:{s:10:\"brand_list\";a:1:{s:6:\"brands\";a:0:{}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"35\";}}}s:8:\"settings\";b:1;}i:13;a:5:{s:2:\"id\";s:6:\"391433\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"20\";}}}s:8:\"settings\";b:1;}}s:7:\"product\";a:0:{}}', 'a:2:{s:5:\"index\";a:7:{i:0;a:5:{s:2:\"id\";s:6:\"452991\";s:9:\"component\";s:17:\"BlogCategoryList1\";s:4:\"type\";a:1:{i:0;s:13:\"category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:1:{s:2:\"id\";s:11:\"simple_list\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"30\";}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"890130\";s:9:\"component\";s:12:\"ArticleList1\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:22:\"editor_choice_articles\";s:5:\"label\";s:19:\"برگزیده ها\";s:7:\"archive\";a:1:{s:13:\"editor_choice\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:2:\"20\";s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"387286\";s:9:\"component\";s:12:\"ArticleList2\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"random_articles\";s:5:\"label\";s:25:\"مقالات تصادفی\";s:7:\"archive\";a:1:{s:6:\"random\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"35\";}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"931594\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:20:\"most_viewed_articles\";s:5:\"label\";s:30:\"پربازدید ترین ها\";s:7:\"archive\";a:1:{s:11:\"most_viewed\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"30\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"355064\";s:9:\"component\";s:9:\"Banner4th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:4;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"25\";}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"832936\";s:9:\"component\";s:12:\"ArticleList2\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"35\";}}}s:8:\"settings\";b:1;}i:6;a:5:{s:2:\"id\";s:6:\"394079\";s:9:\"component\";s:13:\"HashtagsType1\";s:4:\"type\";a:1:{i:0;s:8:\"hashtags\";}s:4:\"data\";a:2:{s:8:\"hashtags\";a:0:{}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}}s:7:\"article\";a:1:{s:7:\"banners\";a:0:{}}}', 'a:2:{s:5:\"index\";a:7:{i:0;a:5:{s:2:\"id\";s:6:\"452991\";s:9:\"component\";s:17:\"BlogCategoryList1\";s:4:\"type\";a:1:{i:0;s:13:\"category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:1:{s:2:\"id\";s:11:\"simple_list\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"30\";}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"890130\";s:9:\"component\";s:12:\"ArticleList1\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:22:\"editor_choice_articles\";s:5:\"label\";s:19:\"برگزیده ها\";s:7:\"archive\";a:1:{s:13:\"editor_choice\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:2:\"20\";s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"387286\";s:9:\"component\";s:12:\"ArticleList2\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"random_articles\";s:5:\"label\";s:25:\"مقالات تصادفی\";s:7:\"archive\";a:1:{s:6:\"random\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"35\";}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"931594\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:20:\"most_viewed_articles\";s:5:\"label\";s:30:\"پربازدید ترین ها\";s:7:\"archive\";a:1:{s:11:\"most_viewed\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"30\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"355064\";s:9:\"component\";s:9:\"Banner4th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:4;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"25\";}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"832936\";s:9:\"component\";s:12:\"ArticleList2\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"35\";}}}s:8:\"settings\";b:1;}i:6;a:5:{s:2:\"id\";s:6:\"394079\";s:9:\"component\";s:13:\"HashtagsType1\";s:4:\"type\";a:1:{i:0;s:8:\"hashtags\";}s:4:\"data\";a:2:{s:8:\"hashtags\";a:0:{}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}}s:7:\"article\";a:1:{s:7:\"banners\";a:0:{}}}', 'system', 'deactive', '2026-08-14 01:04:24', '2026-08-14 01:04:24'),
(3, 'قالب مد و پوشاک', 'قالب مد و پوشاک و اکسسوری', '/img/demo/templates/clothing_template.png', 'a:1:{s:5:\"style\";a:4:{s:15:\"site_main_color\";s:7:\"#5f65fe\";s:20:\"site_secondary_color\";s:7:\"#fa7161\";s:21:\"site_background_color\";s:7:\"#f7f8fa\";s:16:\"site_main_shadow\";s:1:\"0\";}}', 'a:1:{s:5:\"style\";a:4:{s:15:\"site_main_color\";s:7:\"#5f65fe\";s:20:\"site_secondary_color\";s:7:\"#fa7161\";s:21:\"site_background_color\";s:7:\"#f7f8fa\";s:16:\"site_main_shadow\";s:1:\"0\";}}', 'a:3:{s:7:\"desktop\";a:3:{s:7:\"file_id\";N;s:5:\"image\";N;s:3:\"alt\";N;}s:6:\"mobile\";a:3:{s:7:\"file_id\";N;s:5:\"image\";N;s:3:\"alt\";N;}s:4:\"link\";N;}', 'HeaderType5', 'HeaderType5', 'FooterType1', 'FooterType1', 'a:2:{s:5:\"index\";a:13:{i:0;a:5:{s:2:\"id\";s:6:\"596599\";s:9:\"component\";s:23:\"FullHeaderSearchProduct\";s:4:\"type\";a:2:{i:0;s:26:\"full_header_search_product\";i:1;s:12:\"product_list\";}s:4:\"data\";a:3:{s:7:\"content\";a:2:{s:5:\"title\";s:30:\"عنوان تنظیم نشده\";s:11:\"description\";s:463:\"لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ، و با استفاده از طراحان گرافیک است، چاپگرها و متون بلکه روزنامه و مجله در ستون و سطرآنچنان که لازم است، و برای شرایط فعلی تکنولوژی مورد نیاز، و کاربردهای متنوع با هدف بهبود ابزارهای کاربردی می باشد.\";}s:12:\"product_list\";a:3:{s:2:\"id\";s:14:\"instant_offers\";s:5:\"label\";s:32:\"پیشنهادات لحظه ای\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"35\";}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"460716\";s:9:\"component\";s:13:\"CategoryList1\";s:4:\"type\";a:2:{i:0;s:13:\"category_list\";i:1;s:24:\"selectable_category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:2:{s:2:\"id\";s:11:\"simple_list\";s:8:\"category\";a:3:{s:2:\"id\";s:4:\"main\";s:5:\"title\";s:35:\"دسته‌بندی های اصلی\";s:14:\"dropdown_title\";s:35:\"دسته‌بندی های اصلی\";}}s:5:\"style\";a:4:{s:15:\"main_background\";s:5:\"solid\";s:16:\"items_background\";b:1;s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"30\";}s:10:\"item_count\";s:2:\"12\";}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"175506\";s:9:\"component\";s:9:\"Banner2th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:2;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"35\";}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"800795\";s:9:\"component\";s:12:\"ProductList2\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:15:\"latest_products\";s:5:\"label\";s:31:\"جدیدترین محصولات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"30\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"674933\";s:9:\"component\";s:12:\"ProductList3\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:19:\"discounted_products\";s:5:\"label\";s:32:\"محصولات تخفیف دار\";s:7:\"archive\";a:1:{s:8:\"discount\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"30\";}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"392463\";s:9:\"component\";s:9:\"Banner2th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:2;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:6;a:5:{s:2:\"id\";s:6:\"457830\";s:9:\"component\";s:9:\"Banner2th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:2;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"60\";}}}s:8:\"settings\";b:1;}i:7;a:5:{s:2:\"id\";s:6:\"484436\";s:9:\"component\";s:13:\"CategoryList2\";s:4:\"type\";a:1:{i:0;s:13:\"category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:1:{s:2:\"id\";s:13:\"with_products\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"60\";}}}s:8:\"settings\";b:1;}i:8;a:5:{s:2:\"id\";s:6:\"867411\";s:9:\"component\";s:12:\"ProductList3\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:16:\"popular_products\";s:5:\"label\";s:34:\"محبوب ترین محصولات\";s:7:\"archive\";a:1:{s:7:\"popular\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:9;a:5:{s:2:\"id\";s:6:\"789847\";s:9:\"component\";s:9:\"Banner2th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:2;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"35\";}}}s:8:\"settings\";b:1;}i:10;a:5:{s:2:\"id\";s:6:\"498830\";s:9:\"component\";s:13:\"CategoryList3\";s:4:\"type\";a:2:{i:0;s:17:\"category_products\";i:1;s:21:\"category_box_products\";}s:4:\"data\";a:3:{s:17:\"category_products\";a:1:{s:8:\"category\";N;}s:21:\"category_box_products\";a:1:{s:5:\"color\";s:7:\"#5f65fe\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"65\";}}}s:8:\"settings\";b:1;}i:11;a:5:{s:2:\"id\";s:6:\"880636\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:12;a:5:{s:2:\"id\";s:6:\"944079\";s:9:\"component\";s:10:\"BrandList2\";s:4:\"type\";a:1:{i:0;s:10:\"brand_list\";}s:4:\"data\";a:2:{s:10:\"brand_list\";a:1:{s:6:\"brands\";a:0:{}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:2:\"45\";s:6:\"bottom\";s:1:\"0\";}}}s:8:\"settings\";b:1;}}s:7:\"product\";a:0:{}}', 'a:2:{s:5:\"index\";a:13:{i:0;a:5:{s:2:\"id\";s:6:\"596599\";s:9:\"component\";s:23:\"FullHeaderSearchProduct\";s:4:\"type\";a:2:{i:0;s:26:\"full_header_search_product\";i:1;s:12:\"product_list\";}s:4:\"data\";a:3:{s:7:\"content\";a:2:{s:5:\"title\";s:30:\"عنوان تنظیم نشده\";s:11:\"description\";s:463:\"لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ، و با استفاده از طراحان گرافیک است، چاپگرها و متون بلکه روزنامه و مجله در ستون و سطرآنچنان که لازم است، و برای شرایط فعلی تکنولوژی مورد نیاز، و کاربردهای متنوع با هدف بهبود ابزارهای کاربردی می باشد.\";}s:12:\"product_list\";a:3:{s:2:\"id\";s:14:\"instant_offers\";s:5:\"label\";s:32:\"پیشنهادات لحظه ای\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"35\";}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"460716\";s:9:\"component\";s:13:\"CategoryList1\";s:4:\"type\";a:2:{i:0;s:13:\"category_list\";i:1;s:24:\"selectable_category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:2:{s:2:\"id\";s:11:\"simple_list\";s:8:\"category\";a:3:{s:2:\"id\";s:4:\"main\";s:5:\"title\";s:35:\"دسته‌بندی های اصلی\";s:14:\"dropdown_title\";s:35:\"دسته‌بندی های اصلی\";}}s:5:\"style\";a:4:{s:15:\"main_background\";s:5:\"solid\";s:16:\"items_background\";b:1;s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"30\";}s:10:\"item_count\";s:2:\"12\";}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"175506\";s:9:\"component\";s:9:\"Banner2th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:2;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"35\";}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"800795\";s:9:\"component\";s:12:\"ProductList2\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:15:\"latest_products\";s:5:\"label\";s:31:\"جدیدترین محصولات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"30\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"674933\";s:9:\"component\";s:12:\"ProductList3\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:19:\"discounted_products\";s:5:\"label\";s:32:\"محصولات تخفیف دار\";s:7:\"archive\";a:1:{s:8:\"discount\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"30\";}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"392463\";s:9:\"component\";s:9:\"Banner2th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:2;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:6;a:5:{s:2:\"id\";s:6:\"457830\";s:9:\"component\";s:9:\"Banner2th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:2;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"60\";}}}s:8:\"settings\";b:1;}i:7;a:5:{s:2:\"id\";s:6:\"484436\";s:9:\"component\";s:13:\"CategoryList2\";s:4:\"type\";a:1:{i:0;s:13:\"category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:1:{s:2:\"id\";s:13:\"with_products\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"60\";}}}s:8:\"settings\";b:1;}i:8;a:5:{s:2:\"id\";s:6:\"867411\";s:9:\"component\";s:12:\"ProductList3\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:16:\"popular_products\";s:5:\"label\";s:34:\"محبوب ترین محصولات\";s:7:\"archive\";a:1:{s:7:\"popular\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:9;a:5:{s:2:\"id\";s:6:\"789847\";s:9:\"component\";s:9:\"Banner2th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:2;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"35\";}}}s:8:\"settings\";b:1;}i:10;a:5:{s:2:\"id\";s:6:\"498830\";s:9:\"component\";s:13:\"CategoryList3\";s:4:\"type\";a:2:{i:0;s:17:\"category_products\";i:1;s:21:\"category_box_products\";}s:4:\"data\";a:3:{s:17:\"category_products\";a:1:{s:8:\"category\";N;}s:21:\"category_box_products\";a:1:{s:5:\"color\";s:7:\"#5f65fe\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"65\";}}}s:8:\"settings\";b:1;}i:11;a:5:{s:2:\"id\";s:6:\"880636\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:12;a:5:{s:2:\"id\";s:6:\"944079\";s:9:\"component\";s:10:\"BrandList2\";s:4:\"type\";a:1:{i:0;s:10:\"brand_list\";}s:4:\"data\";a:2:{s:10:\"brand_list\";a:1:{s:6:\"brands\";a:0:{}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:2:\"45\";s:6:\"bottom\";s:1:\"0\";}}}s:8:\"settings\";b:1;}}s:7:\"product\";a:0:{}}', 'a:2:{s:5:\"index\";a:6:{i:0;a:5:{s:2:\"id\";s:6:\"398043\";s:9:\"component\";s:9:\"Banner2th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:2;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"274910\";s:9:\"component\";s:12:\"ArticleList1\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:22:\"editor_choice_articles\";s:5:\"label\";s:19:\"برگزیده ها\";s:7:\"archive\";a:1:{s:13:\"editor_choice\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"723913\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:20:\"most_viewed_articles\";s:5:\"label\";s:30:\"پربازدید ترین ها\";s:7:\"archive\";a:1:{s:11:\"most_viewed\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"592618\";s:9:\"component\";s:12:\"ArticleList2\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"860328\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"random_articles\";s:5:\"label\";s:25:\"مقالات تصادفی\";s:7:\"archive\";a:1:{s:6:\"random\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"395596\";s:9:\"component\";s:13:\"HashtagsType1\";s:4:\"type\";a:1:{i:0;s:8:\"hashtags\";}s:4:\"data\";a:2:{s:8:\"hashtags\";a:0:{}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}}s:7:\"article\";a:1:{s:7:\"banners\";a:0:{}}}', 'a:2:{s:5:\"index\";a:6:{i:0;a:5:{s:2:\"id\";s:6:\"398043\";s:9:\"component\";s:9:\"Banner2th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:2;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"274910\";s:9:\"component\";s:12:\"ArticleList1\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:22:\"editor_choice_articles\";s:5:\"label\";s:19:\"برگزیده ها\";s:7:\"archive\";a:1:{s:13:\"editor_choice\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"723913\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:20:\"most_viewed_articles\";s:5:\"label\";s:30:\"پربازدید ترین ها\";s:7:\"archive\";a:1:{s:11:\"most_viewed\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"592618\";s:9:\"component\";s:12:\"ArticleList2\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"860328\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"random_articles\";s:5:\"label\";s:25:\"مقالات تصادفی\";s:7:\"archive\";a:1:{s:6:\"random\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:1:\"0\";s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"395596\";s:9:\"component\";s:13:\"HashtagsType1\";s:4:\"type\";a:1:{i:0;s:8:\"hashtags\";}s:4:\"data\";a:2:{s:8:\"hashtags\";a:0:{}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}}s:7:\"article\";a:1:{s:7:\"banners\";a:0:{}}}', 'system', 'deactive', '2026-08-14 00:56:08', '2026-08-14 00:56:08');
INSERT INTO `templates` (`id`, `title`, `description`, `image`, `options`, `options_backup`, `top_banner`, `header`, `header_backup`, `footer`, `footer_backup`, `data`, `data_backup`, `blog_data`, `blog_data_backup`, `type`, `status`, `created_at`, `updated_at`) VALUES
(4, 'قالب سوپرمارکت انلاین', 'قالب سوپرمارکتی و میوه و سبزیجات', '/img/demo/templates/fresh_template.png', 'a:1:{s:5:\"style\";a:6:{s:15:\"site_main_color\";s:7:\"#2bbf78\";s:20:\"site_secondary_color\";s:7:\"#2bbf78\";s:21:\"site_background_color\";s:7:\"#f7f8fa\";s:16:\"site_main_shadow\";s:1:\"0\";s:10:\"custom_css\";N;s:9:\"custom_js\";N;}}', 'a:1:{s:5:\"style\";a:6:{s:15:\"site_main_color\";s:7:\"#2bbf78\";s:20:\"site_secondary_color\";s:7:\"#2bbf78\";s:21:\"site_background_color\";s:7:\"#f7f8fa\";s:16:\"site_main_shadow\";s:1:\"0\";s:10:\"custom_css\";N;s:9:\"custom_js\";N;}}', 'a:3:{s:7:\"desktop\";a:3:{s:7:\"file_id\";N;s:5:\"image\";N;s:3:\"alt\";N;}s:6:\"mobile\";a:3:{s:7:\"file_id\";N;s:5:\"image\";N;s:3:\"alt\";N;}s:4:\"link\";N;}', 'HeaderType5', 'HeaderType5', 'FooterType2', 'FooterType2', 'a:2:{s:5:\"index\";a:8:{i:0;a:5:{s:2:\"id\";s:6:\"166410\";s:9:\"component\";s:9:\"SearchBox\";s:4:\"type\";a:1:{i:0;s:15:\"full_search_box\";}s:4:\"data\";a:2:{s:7:\"content\";a:1:{s:5:\"title\";s:63:\"دیگه نیاز نیست حضوری بری سوپرمارکت\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:2:\"40\";s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"343177\";s:9:\"component\";s:12:\"ProductList1\";s:4:\"type\";a:2:{i:0;s:12:\"product_list\";i:1;s:16:\"product_box_list\";}s:4:\"data\";a:3:{s:12:\"product_list\";a:3:{s:2:\"id\";s:19:\"discounted_products\";s:5:\"label\";s:32:\"محصولات تخفیف دار\";s:7:\"archive\";a:1:{s:8:\"discount\";b:1;}}s:16:\"product_box_list\";a:2:{s:5:\"color\";s:7:\"#2cd483\";s:5:\"image\";a:2:{s:3:\"src\";s:67:\"https://fresh.vimascript.ir/img/temp/amazing-product-image-temp.png\";s:3:\"alt\";N;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"25\";}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"814168\";s:9:\"component\";s:9:\"Banner2th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:2;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"503735\";s:9:\"component\";s:12:\"ProductList5\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:15:\"latest_products\";s:5:\"label\";s:31:\"جدیدترین محصولات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"738368\";s:9:\"component\";s:12:\"ProductList3\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:16:\"popular_products\";s:5:\"label\";s:34:\"محبوب ترین محصولات\";s:7:\"archive\";a:1:{s:7:\"popular\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"154480\";s:9:\"component\";s:9:\"Banner1th\";s:4:\"type\";a:2:{i:0;s:6:\"banner\";i:1;s:13:\"banner-single\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:1;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:6;a:5:{s:2:\"id\";s:6:\"345852\";s:9:\"component\";s:12:\"ProductList2\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:19:\"most_sales_products\";s:5:\"label\";s:36:\"پرفروش ترین محصولات\";s:7:\"archive\";a:1:{s:9:\"most_sale\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"30\";}}}s:8:\"settings\";b:1;}i:7;a:5:{s:2:\"id\";s:6:\"632153\";s:9:\"component\";s:12:\"ProductList4\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:20:\"most_viewed_products\";s:5:\"label\";s:40:\"پربازدید ترین محصولات\";s:7:\"archive\";a:1:{s:11:\"most_viewed\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}}s:7:\"product\";a:0:{}}', 'a:2:{s:5:\"index\";a:8:{i:0;a:5:{s:2:\"id\";s:6:\"166410\";s:9:\"component\";s:9:\"SearchBox\";s:4:\"type\";a:1:{i:0;s:15:\"full_search_box\";}s:4:\"data\";a:2:{s:7:\"content\";a:1:{s:5:\"title\";s:63:\"دیگه نیاز نیست حضوری بری سوپرمارکت\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:2:\"40\";s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"343177\";s:9:\"component\";s:12:\"ProductList1\";s:4:\"type\";a:2:{i:0;s:12:\"product_list\";i:1;s:16:\"product_box_list\";}s:4:\"data\";a:3:{s:12:\"product_list\";a:3:{s:2:\"id\";s:19:\"discounted_products\";s:5:\"label\";s:32:\"محصولات تخفیف دار\";s:7:\"archive\";a:1:{s:8:\"discount\";b:1;}}s:16:\"product_box_list\";a:2:{s:5:\"color\";s:7:\"#2cd483\";s:5:\"image\";a:2:{s:3:\"src\";s:67:\"https://fresh.vimascript.ir/img/temp/amazing-product-image-temp.png\";s:3:\"alt\";N;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"25\";}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"814168\";s:9:\"component\";s:9:\"Banner2th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:2;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"503735\";s:9:\"component\";s:12:\"ProductList5\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:15:\"latest_products\";s:5:\"label\";s:31:\"جدیدترین محصولات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"738368\";s:9:\"component\";s:12:\"ProductList3\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:16:\"popular_products\";s:5:\"label\";s:34:\"محبوب ترین محصولات\";s:7:\"archive\";a:1:{s:7:\"popular\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"154480\";s:9:\"component\";s:9:\"Banner1th\";s:4:\"type\";a:2:{i:0;s:6:\"banner\";i:1;s:13:\"banner-single\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:1;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:6;a:5:{s:2:\"id\";s:6:\"345852\";s:9:\"component\";s:12:\"ProductList2\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:19:\"most_sales_products\";s:5:\"label\";s:36:\"پرفروش ترین محصولات\";s:7:\"archive\";a:1:{s:9:\"most_sale\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"30\";}}}s:8:\"settings\";b:1;}i:7;a:5:{s:2:\"id\";s:6:\"632153\";s:9:\"component\";s:12:\"ProductList4\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:20:\"most_viewed_products\";s:5:\"label\";s:40:\"پربازدید ترین محصولات\";s:7:\"archive\";a:1:{s:11:\"most_viewed\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}}s:7:\"product\";a:0:{}}', 'a:2:{s:5:\"index\";a:5:{i:0;a:5:{s:2:\"id\";s:6:\"401194\";s:9:\"component\";s:11:\"SliderType1\";s:4:\"type\";a:1:{i:0;s:6:\"slider\";}s:4:\"data\";a:2:{s:6:\"slider\";a:0:{}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:2:\"30\";s:6:\"bottom\";s:2:\"30\";}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"172388\";s:9:\"component\";s:12:\"ArticleList1\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:22:\"editor_choice_articles\";s:5:\"label\";s:19:\"برگزیده ها\";s:7:\"archive\";a:1:{s:13:\"editor_choice\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"191112\";s:9:\"component\";s:12:\"ArticleList2\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"938813\";s:9:\"component\";s:9:\"Banner4th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:4;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"335126\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:20:\"most_viewed_articles\";s:5:\"label\";s:30:\"پربازدید ترین ها\";s:7:\"archive\";a:1:{s:11:\"most_viewed\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"45\";}}}s:8:\"settings\";b:1;}}s:7:\"article\";a:1:{s:7:\"banners\";a:0:{}}}', 'a:2:{s:5:\"index\";a:5:{i:0;a:5:{s:2:\"id\";s:6:\"401194\";s:9:\"component\";s:11:\"SliderType1\";s:4:\"type\";a:1:{i:0;s:6:\"slider\";}s:4:\"data\";a:2:{s:6:\"slider\";a:0:{}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";s:2:\"30\";s:6:\"bottom\";s:2:\"30\";}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"172388\";s:9:\"component\";s:12:\"ArticleList1\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:22:\"editor_choice_articles\";s:5:\"label\";s:19:\"برگزیده ها\";s:7:\"archive\";a:1:{s:13:\"editor_choice\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"191112\";s:9:\"component\";s:12:\"ArticleList2\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"938813\";s:9:\"component\";s:9:\"Banner4th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:4;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"335126\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:20:\"most_viewed_articles\";s:5:\"label\";s:30:\"پربازدید ترین ها\";s:7:\"archive\";a:1:{s:11:\"most_viewed\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"45\";}}}s:8:\"settings\";b:1;}}s:7:\"article\";a:1:{s:7:\"banners\";a:0:{}}}', 'system', 'deactive', '2025-04-24 00:34:57', '2025-04-24 00:55:29'),
(5, 'قالب  آرایشی و بهداشتی', 'فروش انواع لوازم آرایشی و بهداشتی', '/img/demo/templates/beauty_template.png', 'a:1:{s:5:\"style\";a:7:{s:15:\"site_main_color\";s:7:\"#ff6b72\";s:20:\"site_secondary_color\";s:7:\"#ff6b72\";s:21:\"site_background_color\";s:7:\"#f7f8fa\";s:16:\"site_main_shadow\";s:1:\"0\";s:23:\"header_categories_style\";s:8:\"dropdown\";s:10:\"custom_css\";N;s:9:\"custom_js\";N;}}', 'a:1:{s:5:\"style\";a:7:{s:15:\"site_main_color\";s:7:\"#ff6b72\";s:20:\"site_secondary_color\";s:7:\"#ff6b72\";s:21:\"site_background_color\";s:7:\"#f7f8fa\";s:16:\"site_main_shadow\";s:1:\"0\";s:23:\"header_categories_style\";s:8:\"dropdown\";s:10:\"custom_css\";N;s:9:\"custom_js\";N;}}', 'a:3:{s:7:\"desktop\";a:3:{s:7:\"file_id\";N;s:5:\"image\";N;s:3:\"alt\";N;}s:6:\"mobile\";a:3:{s:7:\"file_id\";N;s:5:\"image\";N;s:3:\"alt\";N;}s:4:\"link\";N;}', 'HeaderType5', 'HeaderType5', 'FooterType3', 'FooterType3', 'a:2:{s:5:\"index\";a:11:{i:0;a:5:{s:2:\"id\";s:6:\"374212\";s:9:\"component\";s:13:\"CategoryList1\";s:4:\"type\";a:2:{i:0;s:13:\"category_list\";i:1;s:24:\"selectable_category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:2:{s:2:\"id\";s:11:\"simple_list\";s:8:\"category\";a:3:{s:2:\"id\";s:4:\"main\";s:5:\"title\";s:35:\"دسته‌بندی های اصلی\";s:14:\"dropdown_title\";s:35:\"دسته‌بندی های اصلی\";}}s:5:\"style\";a:5:{s:10:\"item_count\";i:9;s:15:\"main_background\";s:8:\"gradient\";s:16:\"items_background\";b:1;s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}s:10:\"with_image\";b:0;}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"909254\";s:9:\"component\";s:9:\"SearchBox\";s:4:\"type\";a:1:{i:0;s:15:\"full_search_box\";}s:4:\"data\";a:2:{s:7:\"content\";a:1:{s:5:\"title\";s:69:\"هرچی میخوای داریم, کافیه اسمشو بنویسی!\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"784842\";s:9:\"component\";s:12:\"ProductList5\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:14:\"instant_offers\";s:5:\"label\";s:32:\"پیشنهادات لحظه ای\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"599204\";s:9:\"component\";s:9:\"Banner1th\";s:4:\"type\";a:2:{i:0;s:6:\"banner\";i:1;s:13:\"banner-single\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:1;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"188332\";s:9:\"component\";s:12:\"ProductList2\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:15:\"latest_products\";s:5:\"label\";s:31:\"جدیدترین محصولات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"894772\";s:9:\"component\";s:12:\"ProductList3\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:19:\"most_sales_products\";s:5:\"label\";s:36:\"پرفروش ترین محصولات\";s:7:\"archive\";a:1:{s:9:\"most_sale\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:6;a:5:{s:2:\"id\";s:6:\"207500\";s:9:\"component\";s:9:\"Banner4th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:4;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:7;a:5:{s:2:\"id\";s:6:\"852763\";s:9:\"component\";s:12:\"ProductList4\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:16:\"popular_products\";s:5:\"label\";s:34:\"محبوب ترین محصولات\";s:7:\"archive\";a:1:{s:7:\"popular\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:8;a:5:{s:2:\"id\";s:6:\"365428\";s:9:\"component\";s:12:\"ProductList1\";s:4:\"type\";a:2:{i:0;s:12:\"product_list\";i:1;s:16:\"product_box_list\";}s:4:\"data\";a:3:{s:12:\"product_list\";a:0:{}s:16:\"product_box_list\";a:2:{s:5:\"color\";s:7:\"#e8ecf0\";s:5:\"image\";a:2:{s:3:\"src\";s:55:\"https://vima.ir/img/temp/amazing-product-image-temp.png\";s:3:\"alt\";N;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:9;a:5:{s:2:\"id\";s:6:\"983836\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"45\";}}}s:8:\"settings\";b:1;}i:10;a:5:{s:2:\"id\";s:6:\"247251\";s:9:\"component\";s:10:\"BrandList2\";s:4:\"type\";a:1:{i:0;s:10:\"brand_list\";}s:4:\"data\";a:2:{s:10:\"brand_list\";a:1:{s:6:\"brands\";a:0:{}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}}s:7:\"product\";a:1:{s:8:\"settings\";a:1:{s:11:\"tabs_status\";b:1;}}}', 'a:2:{s:5:\"index\";a:11:{i:0;a:5:{s:2:\"id\";s:6:\"374212\";s:9:\"component\";s:13:\"CategoryList1\";s:4:\"type\";a:2:{i:0;s:13:\"category_list\";i:1;s:24:\"selectable_category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:2:{s:2:\"id\";s:11:\"simple_list\";s:8:\"category\";a:3:{s:2:\"id\";s:4:\"main\";s:5:\"title\";s:35:\"دسته‌بندی های اصلی\";s:14:\"dropdown_title\";s:35:\"دسته‌بندی های اصلی\";}}s:5:\"style\";a:5:{s:10:\"item_count\";i:9;s:15:\"main_background\";s:8:\"gradient\";s:16:\"items_background\";b:1;s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}s:10:\"with_image\";b:0;}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"909254\";s:9:\"component\";s:9:\"SearchBox\";s:4:\"type\";a:1:{i:0;s:15:\"full_search_box\";}s:4:\"data\";a:2:{s:7:\"content\";a:1:{s:5:\"title\";s:69:\"هرچی میخوای داریم, کافیه اسمشو بنویسی!\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"784842\";s:9:\"component\";s:12:\"ProductList5\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:14:\"instant_offers\";s:5:\"label\";s:32:\"پیشنهادات لحظه ای\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"599204\";s:9:\"component\";s:9:\"Banner1th\";s:4:\"type\";a:2:{i:0;s:6:\"banner\";i:1;s:13:\"banner-single\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:1;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"188332\";s:9:\"component\";s:12:\"ProductList2\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:15:\"latest_products\";s:5:\"label\";s:31:\"جدیدترین محصولات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"894772\";s:9:\"component\";s:12:\"ProductList3\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:19:\"most_sales_products\";s:5:\"label\";s:36:\"پرفروش ترین محصولات\";s:7:\"archive\";a:1:{s:9:\"most_sale\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:6;a:5:{s:2:\"id\";s:6:\"207500\";s:9:\"component\";s:9:\"Banner4th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:4;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:7;a:5:{s:2:\"id\";s:6:\"852763\";s:9:\"component\";s:12:\"ProductList4\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:16:\"popular_products\";s:5:\"label\";s:34:\"محبوب ترین محصولات\";s:7:\"archive\";a:1:{s:7:\"popular\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:8;a:5:{s:2:\"id\";s:6:\"365428\";s:9:\"component\";s:12:\"ProductList1\";s:4:\"type\";a:2:{i:0;s:12:\"product_list\";i:1;s:16:\"product_box_list\";}s:4:\"data\";a:3:{s:12:\"product_list\";a:0:{}s:16:\"product_box_list\";a:2:{s:5:\"color\";s:7:\"#e8ecf0\";s:5:\"image\";a:2:{s:3:\"src\";s:55:\"https://vima.ir/img/temp/amazing-product-image-temp.png\";s:3:\"alt\";N;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:9;a:5:{s:2:\"id\";s:6:\"983836\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"45\";}}}s:8:\"settings\";b:1;}i:10;a:5:{s:2:\"id\";s:6:\"247251\";s:9:\"component\";s:10:\"BrandList2\";s:4:\"type\";a:1:{i:0;s:10:\"brand_list\";}s:4:\"data\";a:2:{s:10:\"brand_list\";a:1:{s:6:\"brands\";a:0:{}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}}s:7:\"product\";a:1:{s:8:\"settings\";a:1:{s:11:\"tabs_status\";b:1;}}}', 'a:2:{s:5:\"index\";a:5:{i:0;a:5:{s:2:\"id\";s:6:\"532679\";s:9:\"component\";s:17:\"BlogCategoryList1\";s:4:\"type\";a:1:{i:0;s:13:\"category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:1:{s:2:\"id\";s:11:\"simple_list\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"789591\";s:9:\"component\";s:12:\"ArticleList1\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:20:\"most_viewed_articles\";s:5:\"label\";s:30:\"پربازدید ترین ها\";s:7:\"archive\";a:1:{s:11:\"most_viewed\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"582310\";s:9:\"component\";s:12:\"ArticleList2\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"207448\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"random_articles\";s:5:\"label\";s:25:\"مقالات تصادفی\";s:7:\"archive\";a:1:{s:6:\"random\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"456431\";s:9:\"component\";s:13:\"HashtagsType1\";s:4:\"type\";a:1:{i:0;s:8:\"hashtags\";}s:4:\"data\";a:2:{s:8:\"hashtags\";a:0:{}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"45\";}}}s:8:\"settings\";b:1;}}s:7:\"article\";a:1:{s:7:\"banners\";a:0:{}}}', 'a:2:{s:5:\"index\";a:5:{i:0;a:5:{s:2:\"id\";s:6:\"532679\";s:9:\"component\";s:17:\"BlogCategoryList1\";s:4:\"type\";a:1:{i:0;s:13:\"category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:1:{s:2:\"id\";s:11:\"simple_list\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"789591\";s:9:\"component\";s:12:\"ArticleList1\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:20:\"most_viewed_articles\";s:5:\"label\";s:30:\"پربازدید ترین ها\";s:7:\"archive\";a:1:{s:11:\"most_viewed\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"582310\";s:9:\"component\";s:12:\"ArticleList2\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"207448\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"random_articles\";s:5:\"label\";s:25:\"مقالات تصادفی\";s:7:\"archive\";a:1:{s:6:\"random\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"456431\";s:9:\"component\";s:13:\"HashtagsType1\";s:4:\"type\";a:1:{i:0;s:8:\"hashtags\";}s:4:\"data\";a:2:{s:8:\"hashtags\";a:0:{}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"45\";}}}s:8:\"settings\";b:1;}}s:7:\"article\";a:1:{s:7:\"banners\";a:0:{}}}', 'system', 'deactive', '2026-08-14 00:37:01', '2026-08-14 00:53:36'),
(6, 'قالب  آهن‌آلات و مصالح ساختمانی', 'فروش انواع آهن‌آلات و مصالح ساختمانی و شیرآلات', '/img/demo/templates/iron_template.png', 'a:1:{s:5:\"style\";a:7:{s:15:\"site_main_color\";s:7:\"#242f9b\";s:20:\"site_secondary_color\";s:7:\"#f43904\";s:21:\"site_background_color\";s:7:\"#f7f8fa\";s:16:\"site_main_shadow\";s:1:\"0\";s:23:\"header_categories_style\";s:8:\"dropdown\";s:10:\"custom_css\";s:222:\"@media (min-width: 768px) {\n  .swiper-categories-slider-container .product-simple--img {\n    padding: 15px;\n  }\n}\n\n.swiper-brands-slider-container .swiper-slide .card .card-body .brand--title {\n    opacity: 1 !important;\n}\";s:9:\"custom_js\";N;}}', 'a:1:{s:5:\"style\";a:7:{s:15:\"site_main_color\";s:7:\"#242f9b\";s:20:\"site_secondary_color\";s:7:\"#f43904\";s:21:\"site_background_color\";s:7:\"#f7f8fa\";s:16:\"site_main_shadow\";s:1:\"0\";s:23:\"header_categories_style\";s:8:\"dropdown\";s:10:\"custom_css\";s:222:\"@media (min-width: 768px) {\n  .swiper-categories-slider-container .product-simple--img {\n    padding: 15px;\n  }\n}\n\n.swiper-brands-slider-container .swiper-slide .card .card-body .brand--title {\n    opacity: 1 !important;\n}\";s:9:\"custom_js\";N;}}', 'a:3:{s:7:\"desktop\";a:3:{s:7:\"file_id\";N;s:5:\"image\";N;s:3:\"alt\";N;}s:6:\"mobile\";a:3:{s:7:\"file_id\";N;s:5:\"image\";N;s:3:\"alt\";N;}s:4:\"link\";N;}', 'HeaderType2', 'HeaderType2', 'FooterType3', 'FooterType3', 'a:2:{s:5:\"index\";a:11:{i:0;a:5:{s:2:\"id\";s:6:\"259138\";s:9:\"component\";s:11:\"SliderType3\";s:4:\"type\";a:2:{i:0;s:6:\"slider\";i:1;s:12:\"product_list\";}s:4:\"data\";a:3:{s:6:\"slider\";a:0:{}s:12:\"product_list\";a:3:{s:2:\"id\";s:14:\"instant_offers\";s:5:\"label\";s:32:\"پیشنهادات لحظه ای\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"836894\";s:9:\"component\";s:13:\"CategoryList1\";s:4:\"type\";a:2:{i:0;s:13:\"category_list\";i:1;s:24:\"selectable_category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:2:{s:2:\"id\";s:11:\"simple_list\";s:8:\"category\";a:3:{s:2:\"id\";s:3:\"all\";s:5:\"title\";s:31:\"همه دسته‌بندی ها\";s:14:\"dropdown_title\";s:31:\"همه دسته‌بندی ها\";}}s:5:\"style\";a:5:{s:10:\"item_count\";i:9;s:15:\"main_background\";s:5:\"solid\";s:16:\"items_background\";b:1;s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"30\";}s:10:\"with_image\";b:0;}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"181324\";s:9:\"component\";s:12:\"ProductList1\";s:4:\"type\";a:2:{i:0;s:12:\"product_list\";i:1;s:16:\"product_box_list\";}s:4:\"data\";a:3:{s:12:\"product_list\";a:3:{s:2:\"id\";s:19:\"discounted_products\";s:5:\"label\";s:32:\"محصولات تخفیف دار\";s:7:\"archive\";a:1:{s:8:\"discount\";b:1;}}s:16:\"product_box_list\";a:2:{s:5:\"color\";s:7:\"#e8ecf0\";s:5:\"image\";a:2:{s:3:\"src\";s:40:\"/img/temp/amazing-product-image-temp.png\";s:3:\"alt\";N;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"238766\";s:9:\"component\";s:12:\"ProductList3\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:15:\"latest_products\";s:5:\"label\";s:31:\"جدیدترین محصولات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"20\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"227039\";s:9:\"component\";s:9:\"Banner1th\";s:4:\"type\";a:2:{i:0;s:6:\"banner\";i:1;s:13:\"banner-single\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:1;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"695733\";s:9:\"component\";s:12:\"ProductList2\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:16:\"popular_products\";s:5:\"label\";s:34:\"محبوب ترین محصولات\";s:7:\"archive\";a:1:{s:7:\"popular\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:6;a:5:{s:2:\"id\";s:6:\"261816\";s:9:\"component\";s:13:\"CategoryList2\";s:4:\"type\";a:1:{i:0;s:13:\"category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:1:{s:2:\"id\";s:13:\"with_products\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:7;a:5:{s:2:\"id\";s:6:\"984064\";s:9:\"component\";s:12:\"ProductList4\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:20:\"most_viewed_products\";s:5:\"label\";s:40:\"پربازدید ترین محصولات\";s:7:\"archive\";a:1:{s:11:\"most_viewed\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:8;a:5:{s:2:\"id\";s:6:\"472978\";s:9:\"component\";s:12:\"ProductList3\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:19:\"most_sales_products\";s:5:\"label\";s:36:\"پرفروش ترین محصولات\";s:7:\"archive\";a:1:{s:9:\"most_sale\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:9;a:5:{s:2:\"id\";s:6:\"126724\";s:9:\"component\";s:10:\"BrandList1\";s:4:\"type\";a:1:{i:0;s:10:\"brand_list\";}s:4:\"data\";a:2:{s:10:\"brand_list\";a:1:{s:6:\"brands\";a:0:{}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"35\";}}}s:8:\"settings\";b:1;}i:10;a:5:{s:2:\"id\";s:6:\"777110\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"45\";}}}s:8:\"settings\";b:1;}}s:7:\"product\";a:1:{s:8:\"settings\";a:1:{s:11:\"tabs_status\";b:1;}}}', 'a:2:{s:5:\"index\";a:11:{i:0;a:5:{s:2:\"id\";s:6:\"259138\";s:9:\"component\";s:11:\"SliderType3\";s:4:\"type\";a:2:{i:0;s:6:\"slider\";i:1;s:12:\"product_list\";}s:4:\"data\";a:3:{s:6:\"slider\";a:0:{}s:12:\"product_list\";a:3:{s:2:\"id\";s:14:\"instant_offers\";s:5:\"label\";s:32:\"پیشنهادات لحظه ای\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"836894\";s:9:\"component\";s:13:\"CategoryList1\";s:4:\"type\";a:2:{i:0;s:13:\"category_list\";i:1;s:24:\"selectable_category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:2:{s:2:\"id\";s:11:\"simple_list\";s:8:\"category\";a:3:{s:2:\"id\";s:3:\"all\";s:5:\"title\";s:31:\"همه دسته‌بندی ها\";s:14:\"dropdown_title\";s:31:\"همه دسته‌بندی ها\";}}s:5:\"style\";a:5:{s:10:\"item_count\";i:9;s:15:\"main_background\";s:5:\"solid\";s:16:\"items_background\";b:1;s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"30\";}s:10:\"with_image\";b:0;}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"181324\";s:9:\"component\";s:12:\"ProductList1\";s:4:\"type\";a:2:{i:0;s:12:\"product_list\";i:1;s:16:\"product_box_list\";}s:4:\"data\";a:3:{s:12:\"product_list\";a:3:{s:2:\"id\";s:19:\"discounted_products\";s:5:\"label\";s:32:\"محصولات تخفیف دار\";s:7:\"archive\";a:1:{s:8:\"discount\";b:1;}}s:16:\"product_box_list\";a:2:{s:5:\"color\";s:7:\"#e8ecf0\";s:5:\"image\";a:2:{s:3:\"src\";s:40:\"/img/temp/amazing-product-image-temp.png\";s:3:\"alt\";N;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"238766\";s:9:\"component\";s:12:\"ProductList3\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:15:\"latest_products\";s:5:\"label\";s:31:\"جدیدترین محصولات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"20\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"227039\";s:9:\"component\";s:9:\"Banner1th\";s:4:\"type\";a:2:{i:0;s:6:\"banner\";i:1;s:13:\"banner-single\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:1;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"695733\";s:9:\"component\";s:12:\"ProductList2\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:16:\"popular_products\";s:5:\"label\";s:34:\"محبوب ترین محصولات\";s:7:\"archive\";a:1:{s:7:\"popular\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:6;a:5:{s:2:\"id\";s:6:\"261816\";s:9:\"component\";s:13:\"CategoryList2\";s:4:\"type\";a:1:{i:0;s:13:\"category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:1:{s:2:\"id\";s:13:\"with_products\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:7;a:5:{s:2:\"id\";s:6:\"984064\";s:9:\"component\";s:12:\"ProductList4\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:20:\"most_viewed_products\";s:5:\"label\";s:40:\"پربازدید ترین محصولات\";s:7:\"archive\";a:1:{s:11:\"most_viewed\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:8;a:5:{s:2:\"id\";s:6:\"472978\";s:9:\"component\";s:12:\"ProductList3\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:19:\"most_sales_products\";s:5:\"label\";s:36:\"پرفروش ترین محصولات\";s:7:\"archive\";a:1:{s:9:\"most_sale\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:9;a:5:{s:2:\"id\";s:6:\"126724\";s:9:\"component\";s:10:\"BrandList1\";s:4:\"type\";a:1:{i:0;s:10:\"brand_list\";}s:4:\"data\";a:2:{s:10:\"brand_list\";a:1:{s:6:\"brands\";a:0:{}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"35\";}}}s:8:\"settings\";b:1;}i:10;a:5:{s:2:\"id\";s:6:\"777110\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"45\";}}}s:8:\"settings\";b:1;}}s:7:\"product\";a:1:{s:8:\"settings\";a:1:{s:11:\"tabs_status\";b:1;}}}', 'a:2:{s:5:\"index\";a:6:{i:0;a:5:{s:2:\"id\";s:6:\"721714\";s:9:\"component\";s:17:\"BlogCategoryList1\";s:4:\"type\";a:1:{i:0;s:13:\"category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:1:{s:2:\"id\";s:11:\"simple_list\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"974003\";s:9:\"component\";s:12:\"ArticleList1\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:22:\"editor_choice_articles\";s:5:\"label\";s:19:\"برگزیده ها\";s:7:\"archive\";a:1:{s:13:\"editor_choice\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"364297\";s:9:\"component\";s:9:\"Banner4th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:4;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"655727\";s:9:\"component\";s:12:\"ArticleList2\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"460632\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:20:\"most_viewed_articles\";s:5:\"label\";s:30:\"پربازدید ترین ها\";s:7:\"archive\";a:1:{s:11:\"most_viewed\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"136023\";s:9:\"component\";s:13:\"HashtagsType1\";s:4:\"type\";a:1:{i:0;s:8:\"hashtags\";}s:4:\"data\";a:2:{s:8:\"hashtags\";a:0:{}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}}s:7:\"article\";a:1:{s:7:\"banners\";a:0:{}}}', 'a:2:{s:5:\"index\";a:6:{i:0;a:5:{s:2:\"id\";s:6:\"721714\";s:9:\"component\";s:17:\"BlogCategoryList1\";s:4:\"type\";a:1:{i:0;s:13:\"category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:1:{s:2:\"id\";s:11:\"simple_list\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"974003\";s:9:\"component\";s:12:\"ArticleList1\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:22:\"editor_choice_articles\";s:5:\"label\";s:19:\"برگزیده ها\";s:7:\"archive\";a:1:{s:13:\"editor_choice\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"364297\";s:9:\"component\";s:9:\"Banner4th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:4;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"655727\";s:9:\"component\";s:12:\"ArticleList2\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"460632\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:20:\"most_viewed_articles\";s:5:\"label\";s:30:\"پربازدید ترین ها\";s:7:\"archive\";a:1:{s:11:\"most_viewed\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"136023\";s:9:\"component\";s:13:\"HashtagsType1\";s:4:\"type\";a:1:{i:0;s:8:\"hashtags\";}s:4:\"data\";a:2:{s:8:\"hashtags\";a:0:{}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}}s:7:\"article\";a:1:{s:7:\"banners\";a:0:{}}}', 'system', 'deactive', '2025-04-06 23:01:25', '2025-04-06 23:01:25');
INSERT INTO `templates` (`id`, `title`, `description`, `image`, `options`, `options_backup`, `top_banner`, `header`, `header_backup`, `footer`, `footer_backup`, `data`, `data_backup`, `blog_data`, `blog_data_backup`, `type`, `status`, `created_at`, `updated_at`) VALUES
(7, 'قالب رونیکس', 'فروش انواع ابزارآلات شرکت رونیکس', '/img/demo/templates/ronix_template.png', 'a:1:{s:5:\"style\";a:7:{s:15:\"site_main_color\";s:7:\"#ed1c24\";s:20:\"site_secondary_color\";s:7:\"#ed1c24\";s:21:\"site_background_color\";s:7:\"#f7f8fa\";s:16:\"site_main_shadow\";s:1:\"0\";s:23:\"header_categories_style\";s:8:\"dropdown\";s:10:\"custom_css\";N;s:9:\"custom_js\";N;}}', 'a:1:{s:5:\"style\";a:7:{s:15:\"site_main_color\";s:7:\"#ed1c24\";s:20:\"site_secondary_color\";s:7:\"#ed1c24\";s:21:\"site_background_color\";s:7:\"#f7f8fa\";s:16:\"site_main_shadow\";s:1:\"0\";s:23:\"header_categories_style\";s:8:\"dropdown\";s:10:\"custom_css\";N;s:9:\"custom_js\";N;}}', 'a:3:{s:7:\"desktop\";a:3:{s:7:\"file_id\";N;s:5:\"image\";N;s:3:\"alt\";N;}s:6:\"mobile\";a:3:{s:7:\"file_id\";N;s:5:\"image\";N;s:3:\"alt\";N;}s:4:\"link\";N;}', 'HeaderType6', 'HeaderType6', 'FooterType3', 'FooterType3', 'a:2:{s:5:\"index\";a:12:{i:0;a:5:{s:2:\"id\";s:6:\"547332\";s:9:\"component\";s:15:\"InformationBox2\";s:4:\"type\";a:2:{i:0;s:17:\"information_box_1\";i:1;s:12:\"product_list\";}s:4:\"data\";a:3:{s:7:\"content\";a:5:{s:5:\"title\";s:54:\"لورم ایپسوم متن ساختگی میباشد\";s:11:\"description\";s:625:\"لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ، و با استفاده از طراحان گرافیک است، چاپگرها و متون بلکه روزنامه و مجله در ستون و سطرآنچنان که لازم است، و برای شرایط فعلی تکنولوژی مورد نیاز، و کاربردهای متنوع با هدف بهبود ابزارهای کاربردی می باشد، کتابهای زیادی در شصت و سه درصد گذشته حال و آینده، شناخت فراوان جامعه و متخصصان را می طلبد\";s:6:\"button\";a:2:{s:5:\"title\";s:19:\"تنظیم نشده\";s:4:\"link\";N;}s:5:\"image\";N;s:5:\"video\";N;}s:12:\"product_list\";a:0:{}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:40;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"961662\";s:9:\"component\";s:9:\"FilterBox\";s:4:\"type\";a:1:{i:0;s:10:\"filter_box\";}s:4:\"data\";a:3:{s:7:\"content\";a:1:{s:5:\"title\";s:92:\"براساس گروه فیلترها محصول مورد نظرتان را پیدا کنید\";}s:7:\"filters\";a:0:{}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"60\";}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"495369\";s:9:\"component\";s:13:\"CategoryList1\";s:4:\"type\";a:2:{i:0;s:13:\"category_list\";i:1;s:24:\"selectable_category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:2:{s:2:\"id\";s:11:\"simple_list\";s:8:\"category\";a:3:{s:2:\"id\";s:4:\"main\";s:5:\"title\";s:35:\"دسته‌بندی های اصلی\";s:14:\"dropdown_title\";s:35:\"دسته‌بندی های اصلی\";}}s:5:\"style\";a:5:{s:10:\"item_count\";s:2:\"10\";s:15:\"main_background\";s:8:\"gradient\";s:16:\"items_background\";b:1;s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}s:10:\"with_image\";b:0;}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"790480\";s:9:\"component\";s:9:\"Banner1th\";s:4:\"type\";a:2:{i:0;s:6:\"banner\";i:1;s:13:\"banner-single\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:1;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"480799\";s:9:\"component\";s:12:\"ProductList3\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:15:\"latest_products\";s:5:\"label\";s:31:\"جدیدترین محصولات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"173388\";s:9:\"component\";s:12:\"ProductList4\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:16:\"popular_products\";s:5:\"label\";s:34:\"محبوب ترین محصولات\";s:7:\"archive\";a:1:{s:7:\"popular\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:6;a:5:{s:2:\"id\";s:6:\"964486\";s:9:\"component\";s:9:\"Banner2th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:2;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:7;a:5:{s:2:\"id\";s:6:\"743024\";s:9:\"component\";s:13:\"CategoryList2\";s:4:\"type\";a:1:{i:0;s:13:\"category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:1:{s:2:\"id\";s:13:\"with_products\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:8;a:5:{s:2:\"id\";s:6:\"504305\";s:9:\"component\";s:12:\"ProductList5\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:14:\"instant_offers\";s:5:\"label\";s:32:\"پیشنهادات لحظه ای\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:9;a:5:{s:2:\"id\";s:6:\"583149\";s:9:\"component\";s:7:\"FormBox\";s:4:\"type\";a:1:{i:0;s:8:\"form_box\";}s:4:\"data\";a:2:{s:4:\"form\";a:2:{s:2:\"id\";i:1;s:5:\"title\";s:18:\"تماس با ما\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:40;s:6:\"bottom\";i:40;}}}s:8:\"settings\";b:1;}i:10;a:5:{s:2:\"id\";s:6:\"697985\";s:9:\"component\";s:6:\"FaqBox\";s:4:\"type\";a:1:{i:0;s:7:\"faq_box\";}s:4:\"data\";a:3:{s:7:\"content\";a:2:{s:5:\"title\";s:37:\"برقراری ارتباط با ما\";s:11:\"description\";s:57:\"در کوتاه ترین ممکن پاسخکو هستیم\";}s:3:\"faq\";a:2:{i:0;a:3:{s:2:\"id\";d:1786669933809.8228;s:8:\"question\";s:56:\"لورم ایپسوم متن ساختگی میباشد؟\";s:6:\"answer\";s:1252:\"لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ، و با استفاده از طراحان گرافیک است، چاپگرها و متون بلکه روزنامه و مجله در ستون و سطرآنچنان که لازم است، و برای شرایط فعلی تکنولوژی مورد نیاز، و کاربردهای متنوع با هدف بهبود ابزارهای کاربردی می باشد، کتابهای زیادی در شصت و سه درصد گذشته حال و آینده، شناخت فراوان جامعه و متخصصان را می طلبد، تا با نرم افزارها شناخت بیشتری را برای طراحان رایانه ای علی الخصوص طراحان خلاقی، و فرهنگ پیشرو در زبان فارسی ایجاد کرد، در این صورت می توان امید داشت که تمام و دشواری موجود در ارائه راهکارها، و شرایط سخت تایپ به پایان رسد و زمان مورد نیاز شامل حروفچینی دستاوردهای اصلی، و جوابگوی سوالات پیوسته اهل دنیای موجود طراحی اساسا مورد استفاده قرار گیرد.\";}i:1;a:3:{s:2:\"id\";d:1786669954686.2935;s:8:\"question\";s:56:\"لورم ایپسوم متن ساختگی میباشد؟\";s:6:\"answer\";s:1252:\"لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ، و با استفاده از طراحان گرافیک است، چاپگرها و متون بلکه روزنامه و مجله در ستون و سطرآنچنان که لازم است، و برای شرایط فعلی تکنولوژی مورد نیاز، و کاربردهای متنوع با هدف بهبود ابزارهای کاربردی می باشد، کتابهای زیادی در شصت و سه درصد گذشته حال و آینده، شناخت فراوان جامعه و متخصصان را می طلبد، تا با نرم افزارها شناخت بیشتری را برای طراحان رایانه ای علی الخصوص طراحان خلاقی، و فرهنگ پیشرو در زبان فارسی ایجاد کرد، در این صورت می توان امید داشت که تمام و دشواری موجود در ارائه راهکارها، و شرایط سخت تایپ به پایان رسد و زمان مورد نیاز شامل حروفچینی دستاوردهای اصلی، و جوابگوی سوالات پیوسته اهل دنیای موجود طراحی اساسا مورد استفاده قرار گیرد.\";}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:40;s:6:\"bottom\";i:40;}}}s:8:\"settings\";b:1;}i:11;a:5:{s:2:\"id\";s:6:\"859849\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"random_articles\";s:5:\"label\";s:25:\"مقالات تصادفی\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"45\";}}}s:8:\"settings\";b:1;}}s:7:\"product\";a:1:{s:8:\"settings\";a:1:{s:11:\"tabs_status\";b:1;}}}', 'a:2:{s:5:\"index\";a:12:{i:0;a:5:{s:2:\"id\";s:6:\"547332\";s:9:\"component\";s:15:\"InformationBox2\";s:4:\"type\";a:2:{i:0;s:17:\"information_box_1\";i:1;s:12:\"product_list\";}s:4:\"data\";a:3:{s:7:\"content\";a:5:{s:5:\"title\";s:54:\"لورم ایپسوم متن ساختگی میباشد\";s:11:\"description\";s:625:\"لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ، و با استفاده از طراحان گرافیک است، چاپگرها و متون بلکه روزنامه و مجله در ستون و سطرآنچنان که لازم است، و برای شرایط فعلی تکنولوژی مورد نیاز، و کاربردهای متنوع با هدف بهبود ابزارهای کاربردی می باشد، کتابهای زیادی در شصت و سه درصد گذشته حال و آینده، شناخت فراوان جامعه و متخصصان را می طلبد\";s:6:\"button\";a:2:{s:5:\"title\";s:19:\"تنظیم نشده\";s:4:\"link\";N;}s:5:\"image\";N;s:5:\"video\";N;}s:12:\"product_list\";a:0:{}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:40;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"961662\";s:9:\"component\";s:9:\"FilterBox\";s:4:\"type\";a:1:{i:0;s:10:\"filter_box\";}s:4:\"data\";a:3:{s:7:\"content\";a:1:{s:5:\"title\";s:92:\"براساس گروه فیلترها محصول مورد نظرتان را پیدا کنید\";}s:7:\"filters\";a:0:{}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"60\";}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"495369\";s:9:\"component\";s:13:\"CategoryList1\";s:4:\"type\";a:2:{i:0;s:13:\"category_list\";i:1;s:24:\"selectable_category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:2:{s:2:\"id\";s:11:\"simple_list\";s:8:\"category\";a:3:{s:2:\"id\";s:4:\"main\";s:5:\"title\";s:35:\"دسته‌بندی های اصلی\";s:14:\"dropdown_title\";s:35:\"دسته‌بندی های اصلی\";}}s:5:\"style\";a:5:{s:10:\"item_count\";s:2:\"10\";s:15:\"main_background\";s:8:\"gradient\";s:16:\"items_background\";b:1;s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}s:10:\"with_image\";b:0;}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"790480\";s:9:\"component\";s:9:\"Banner1th\";s:4:\"type\";a:2:{i:0;s:6:\"banner\";i:1;s:13:\"banner-single\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:1;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"480799\";s:9:\"component\";s:12:\"ProductList3\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:15:\"latest_products\";s:5:\"label\";s:31:\"جدیدترین محصولات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"173388\";s:9:\"component\";s:12:\"ProductList4\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:16:\"popular_products\";s:5:\"label\";s:34:\"محبوب ترین محصولات\";s:7:\"archive\";a:1:{s:7:\"popular\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:6;a:5:{s:2:\"id\";s:6:\"964486\";s:9:\"component\";s:9:\"Banner2th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:2;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:7;a:5:{s:2:\"id\";s:6:\"743024\";s:9:\"component\";s:13:\"CategoryList2\";s:4:\"type\";a:1:{i:0;s:13:\"category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:1:{s:2:\"id\";s:13:\"with_products\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:8;a:5:{s:2:\"id\";s:6:\"504305\";s:9:\"component\";s:12:\"ProductList5\";s:4:\"type\";a:1:{i:0;s:12:\"product_list\";}s:4:\"data\";a:2:{s:12:\"product_list\";a:3:{s:2:\"id\";s:14:\"instant_offers\";s:5:\"label\";s:32:\"پیشنهادات لحظه ای\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:9;a:5:{s:2:\"id\";s:6:\"583149\";s:9:\"component\";s:7:\"FormBox\";s:4:\"type\";a:1:{i:0;s:8:\"form_box\";}s:4:\"data\";a:2:{s:4:\"form\";a:2:{s:2:\"id\";i:1;s:5:\"title\";s:18:\"تماس با ما\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:40;s:6:\"bottom\";i:40;}}}s:8:\"settings\";b:1;}i:10;a:5:{s:2:\"id\";s:6:\"697985\";s:9:\"component\";s:6:\"FaqBox\";s:4:\"type\";a:1:{i:0;s:7:\"faq_box\";}s:4:\"data\";a:3:{s:7:\"content\";a:2:{s:5:\"title\";s:37:\"برقراری ارتباط با ما\";s:11:\"description\";s:57:\"در کوتاه ترین ممکن پاسخکو هستیم\";}s:3:\"faq\";a:2:{i:0;a:3:{s:2:\"id\";d:1786669933809.8228;s:8:\"question\";s:56:\"لورم ایپسوم متن ساختگی میباشد؟\";s:6:\"answer\";s:1252:\"لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ، و با استفاده از طراحان گرافیک است، چاپگرها و متون بلکه روزنامه و مجله در ستون و سطرآنچنان که لازم است، و برای شرایط فعلی تکنولوژی مورد نیاز، و کاربردهای متنوع با هدف بهبود ابزارهای کاربردی می باشد، کتابهای زیادی در شصت و سه درصد گذشته حال و آینده، شناخت فراوان جامعه و متخصصان را می طلبد، تا با نرم افزارها شناخت بیشتری را برای طراحان رایانه ای علی الخصوص طراحان خلاقی، و فرهنگ پیشرو در زبان فارسی ایجاد کرد، در این صورت می توان امید داشت که تمام و دشواری موجود در ارائه راهکارها، و شرایط سخت تایپ به پایان رسد و زمان مورد نیاز شامل حروفچینی دستاوردهای اصلی، و جوابگوی سوالات پیوسته اهل دنیای موجود طراحی اساسا مورد استفاده قرار گیرد.\";}i:1;a:3:{s:2:\"id\";d:1786669954686.2935;s:8:\"question\";s:56:\"لورم ایپسوم متن ساختگی میباشد؟\";s:6:\"answer\";s:1252:\"لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ، و با استفاده از طراحان گرافیک است، چاپگرها و متون بلکه روزنامه و مجله در ستون و سطرآنچنان که لازم است، و برای شرایط فعلی تکنولوژی مورد نیاز، و کاربردهای متنوع با هدف بهبود ابزارهای کاربردی می باشد، کتابهای زیادی در شصت و سه درصد گذشته حال و آینده، شناخت فراوان جامعه و متخصصان را می طلبد، تا با نرم افزارها شناخت بیشتری را برای طراحان رایانه ای علی الخصوص طراحان خلاقی، و فرهنگ پیشرو در زبان فارسی ایجاد کرد، در این صورت می توان امید داشت که تمام و دشواری موجود در ارائه راهکارها، و شرایط سخت تایپ به پایان رسد و زمان مورد نیاز شامل حروفچینی دستاوردهای اصلی، و جوابگوی سوالات پیوسته اهل دنیای موجود طراحی اساسا مورد استفاده قرار گیرد.\";}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:40;s:6:\"bottom\";i:40;}}}s:8:\"settings\";b:1;}i:11;a:5:{s:2:\"id\";s:6:\"859849\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"random_articles\";s:5:\"label\";s:25:\"مقالات تصادفی\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"45\";}}}s:8:\"settings\";b:1;}}s:7:\"product\";a:1:{s:8:\"settings\";a:1:{s:11:\"tabs_status\";b:1;}}}', 'a:2:{s:5:\"index\";a:6:{i:0;a:5:{s:2:\"id\";s:6:\"721714\";s:9:\"component\";s:17:\"BlogCategoryList1\";s:4:\"type\";a:1:{i:0;s:13:\"category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:1:{s:2:\"id\";s:11:\"simple_list\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"974003\";s:9:\"component\";s:12:\"ArticleList1\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:22:\"editor_choice_articles\";s:5:\"label\";s:19:\"برگزیده ها\";s:7:\"archive\";a:1:{s:13:\"editor_choice\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"364297\";s:9:\"component\";s:9:\"Banner4th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:4;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"655727\";s:9:\"component\";s:12:\"ArticleList2\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"460632\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:20:\"most_viewed_articles\";s:5:\"label\";s:30:\"پربازدید ترین ها\";s:7:\"archive\";a:1:{s:11:\"most_viewed\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"136023\";s:9:\"component\";s:13:\"HashtagsType1\";s:4:\"type\";a:1:{i:0;s:8:\"hashtags\";}s:4:\"data\";a:2:{s:8:\"hashtags\";a:0:{}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}}s:7:\"article\";a:1:{s:7:\"banners\";a:0:{}}}', 'a:2:{s:5:\"index\";a:6:{i:0;a:5:{s:2:\"id\";s:6:\"721714\";s:9:\"component\";s:17:\"BlogCategoryList1\";s:4:\"type\";a:1:{i:0;s:13:\"category_list\";}s:4:\"data\";a:2:{s:13:\"category_list\";a:1:{s:2:\"id\";s:11:\"simple_list\";}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:1;a:5:{s:2:\"id\";s:6:\"974003\";s:9:\"component\";s:12:\"ArticleList1\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:22:\"editor_choice_articles\";s:5:\"label\";s:19:\"برگزیده ها\";s:7:\"archive\";a:1:{s:13:\"editor_choice\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:2;a:5:{s:2:\"id\";s:6:\"364297\";s:9:\"component\";s:9:\"Banner4th\";s:4:\"type\";a:1:{i:0;s:6:\"banner\";}s:4:\"data\";a:3:{s:6:\"banner\";a:0:{}s:5:\"count\";i:4;s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";i:20;}}}s:8:\"settings\";b:1;}i:3;a:5:{s:2:\"id\";s:6:\"655727\";s:9:\"component\";s:12:\"ArticleList2\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:15:\"latest_articles\";s:5:\"label\";s:29:\"جدیدترین مقالات\";s:7:\"archive\";a:1:{s:6:\"latest\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:4;a:5:{s:2:\"id\";s:6:\"460632\";s:9:\"component\";s:12:\"ArticleList3\";s:4:\"type\";a:1:{i:0;s:12:\"article_list\";}s:4:\"data\";a:2:{s:12:\"article_list\";a:3:{s:2:\"id\";s:20:\"most_viewed_articles\";s:5:\"label\";s:30:\"پربازدید ترین ها\";s:7:\"archive\";a:1:{s:11:\"most_viewed\";b:1;}}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}i:5;a:5:{s:2:\"id\";s:6:\"136023\";s:9:\"component\";s:13:\"HashtagsType1\";s:4:\"type\";a:1:{i:0;s:8:\"hashtags\";}s:4:\"data\";a:2:{s:8:\"hashtags\";a:0:{}s:5:\"style\";a:1:{s:6:\"margin\";a:2:{s:3:\"top\";i:20;s:6:\"bottom\";s:2:\"40\";}}}s:8:\"settings\";b:1;}}s:7:\"article\";a:1:{s:7:\"banners\";a:0:{}}}', 'system', 'deactive', '2026-08-14 01:03:24', '2026-08-14 01:13:42');

-- --------------------------------------------------------

--
-- Table structure for table `tickets`
--

CREATE TABLE `tickets` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `title` varchar(255) NOT NULL,
  `priority` varchar(255) NOT NULL,
  `status` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `ticket_answers`
--

CREATE TABLE `ticket_answers` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `ticket_id` bigint(20) UNSIGNED NOT NULL,
  `type` varchar(255) NOT NULL,
  `content` text DEFAULT NULL,
  `file` varchar(255) DEFAULT NULL,
  `status` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `tokens`
--

CREATE TABLE `tokens` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `code` varchar(5) NOT NULL,
  `ip` varchar(255) NOT NULL,
  `used` tinyint(1) NOT NULL DEFAULT 0,
  `session` varchar(255) DEFAULT NULL,
  `meta` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `transactions`
--

CREATE TABLE `transactions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `amount` bigint(20) NOT NULL,
  `transaction_id` bigint(20) NOT NULL,
  `payment_gateway` varchar(255) DEFAULT NULL,
  `gateway_transaction_id` text DEFAULT NULL,
  `gateway_reference_id` varchar(255) DEFAULT NULL,
  `return_response` text DEFAULT NULL,
  `payment_details` text DEFAULT NULL,
  `description` text DEFAULT NULL,
  `type` enum('admin_increase','admin_decrease','user_charge','user_order_returned','coupon_charge','order_decrease','seller_revenue','seller_returned_decrease','affiliate_revenue','affiliate_returned_decrease','bank_withdrawal') NOT NULL,
  `status` enum('accepted','rejected','waiting_payment','waiting_admin') NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `wallets`
--

CREATE TABLE `wallets` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `amount` bigint(20) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `wallets`
--

INSERT INTO `wallets` (`id`, `user_id`, `amount`, `created_at`, `updated_at`) VALUES
(1, 1, 0, '2025-03-19 11:24:42', '2025-03-19 11:24:42');

-- --------------------------------------------------------

--
-- Table structure for table `withdrawals`
--

CREATE TABLE `withdrawals` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `amount` bigint(20) NOT NULL,
  `bank_account` text NOT NULL,
  `transaction_id` bigint(20) NOT NULL,
  `tracking_code` varchar(255) DEFAULT NULL,
  `reason` text DEFAULT NULL,
  `status` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `addresses`
--
ALTER TABLE `addresses`
  ADD PRIMARY KEY (`id`),
  ADD KEY `addresses_user_id_index` (`user_id`);

--
-- Indexes for table `affiliates`
--
ALTER TABLE `affiliates`
  ADD PRIMARY KEY (`id`),
  ADD KEY `affiliates_product_id_index` (`product_id`);

--
-- Indexes for table `articles`
--
ALTER TABLE `articles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `articles_uuid_unique` (`uuid`),
  ADD UNIQUE KEY `articles_slug_unique` (`slug`),
  ADD KEY `articles_user_id_index` (`user_id`),
  ADD KEY `articles_edited_by_index` (`edited_by`),
  ADD KEY `articles_brand_id_index` (`brand_id`),
  ADD KEY `articles_category_id_index` (`category_id`);

--
-- Indexes for table `article_article_tag`
--
ALTER TABLE `article_article_tag`
  ADD PRIMARY KEY (`article_tag_id`,`article_id`),
  ADD KEY `article_article_tag_article_id_foreign` (`article_id`);

--
-- Indexes for table `article_categories`
--
ALTER TABLE `article_categories`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `article_categories_slug_unique` (`slug`);

--
-- Indexes for table `article_comments`
--
ALTER TABLE `article_comments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `article_comments_user_id_index` (`user_id`),
  ADD KEY `article_comments_article_id_index` (`article_id`);

--
-- Indexes for table `article_tags`
--
ALTER TABLE `article_tags`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `brands`
--
ALTER TABLE `brands`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `brands_uuid_unique` (`uuid`),
  ADD UNIQUE KEY `brands_slug_unique` (`slug`),
  ADD KEY `brands_edited_by_foreign` (`edited_by`),
  ADD KEY `brands_user_id_index` (`user_id`);

--
-- Indexes for table `category_product`
--
ALTER TABLE `category_product`
  ADD UNIQUE KEY `category_product_product_id_category_id_unique` (`product_id`,`category_id`),
  ADD KEY `category_product_product_id_index` (`product_id`),
  ADD KEY `category_product_category_id_index` (`category_id`);

--
-- Indexes for table `colors`
--
ALTER TABLE `colors`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `compares`
--
ALTER TABLE `compares`
  ADD PRIMARY KEY (`id`),
  ADD KEY `compares_user_id_index` (`user_id`),
  ADD KEY `compares_product_id_index` (`product_id`);

--
-- Indexes for table `consignments`
--
ALTER TABLE `consignments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `consignments_order_id_index` (`order_id`),
  ADD KEY `consignments_user_id_index` (`user_id`),
  ADD KEY `consignments_store_id_index` (`store_id`);

--
-- Indexes for table `consignment_items`
--
ALTER TABLE `consignment_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `consignment_items_consignment_id_index` (`consignment_id`),
  ADD KEY `consignment_items_store_id_index` (`store_id`),
  ADD KEY `consignment_items_inventory_id_index` (`inventory_id`),
  ADD KEY `consignment_items_product_id_index` (`product_id`),
  ADD KEY `consignment_items_storage_id_index` (`storage_id`),
  ADD KEY `idx_consignment_product_status_count` (`product_id`,`status`,`count`);

--
-- Indexes for table `discounts`
--
ALTER TABLE `discounts`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `discounts_code_unique` (`code`);

--
-- Indexes for table `discount_user`
--
ALTER TABLE `discount_user`
  ADD KEY `discount_user_discount_id_foreign` (`discount_id`),
  ADD KEY `discount_user_user_id_foreign` (`user_id`);

--
-- Indexes for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`);

--
-- Indexes for table `faqs`
--
ALTER TABLE `faqs`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `files`
--
ALTER TABLE `files`
  ADD PRIMARY KEY (`id`),
  ADD KEY `files_user_id_index` (`user_id`);

--
-- Indexes for table `filters`
--
ALTER TABLE `filters`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `filter_keys`
--
ALTER TABLE `filter_keys`
  ADD PRIMARY KEY (`id`),
  ADD KEY `filter_keys_filter_id_index` (`filter_id`);

--
-- Indexes for table `filter_values`
--
ALTER TABLE `filter_values`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `filter_values_filter_key_id_product_id_unique` (`filter_key_id`,`product_id`),
  ADD KEY `filter_values_filter_key_id_index` (`filter_key_id`),
  ADD KEY `filter_values_product_id_index` (`product_id`);

--
-- Indexes for table `forms`
--
ALTER TABLE `forms`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `forms_uuid_unique` (`uuid`),
  ADD UNIQUE KEY `forms_slug_unique` (`slug`);

--
-- Indexes for table `form_answers`
--
ALTER TABLE `form_answers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `form_answers_form_id_index` (`form_id`);

--
-- Indexes for table `inventories`
--
ALTER TABLE `inventories`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `inventories_uuid_unique` (`uuid`),
  ADD KEY `inventories_storage_id_index` (`storage_id`),
  ADD KEY `inventories_product_id_index` (`product_id`),
  ADD KEY `inventories_store_id_index` (`store_id`),
  ADD KEY `idx_inv_product_status_count_discount` (`product_id`,`status`,`count`,`discount_price`);

--
-- Indexes for table `inventory_props`
--
ALTER TABLE `inventory_props`
  ADD PRIMARY KEY (`id`),
  ADD KEY `inventory_props_inventory_id_index` (`inventory_id`),
  ADD KEY `idx_inventory_props_child` (`child`);

--
-- Indexes for table `menus`
--
ALTER TABLE `menus`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `newsletters`
--
ALTER TABLE `newsletters`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `notifications`
--
ALTER TABLE `notifications`
  ADD PRIMARY KEY (`id`),
  ADD KEY `notifications_notifiable_type_notifiable_id_index` (`notifiable_type`,`notifiable_id`);

--
-- Indexes for table `orders`
--
ALTER TABLE `orders`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `orders_uuid_unique` (`uuid`),
  ADD KEY `orders_user_id_index` (`user_id`),
  ADD KEY `orders_order_group_id_index` (`order_group_id`);

--
-- Indexes for table `order_groups`
--
ALTER TABLE `order_groups`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `order_groups_uuid_unique` (`uuid`),
  ADD KEY `order_groups_user_id_index` (`user_id`),
  ADD KEY `order_groups_transaction_id_index` (`transaction_id`);

--
-- Indexes for table `pages`
--
ALTER TABLE `pages`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `pages_uuid_unique` (`uuid`),
  ADD UNIQUE KEY `pages_slug_unique` (`slug`);

--
-- Indexes for table `payment_metas`
--
ALTER TABLE `payment_metas`
  ADD PRIMARY KEY (`id`),
  ADD KEY `payment_metas_store_id_index` (`store_id`);

--
-- Indexes for table `pending_payments`
--
ALTER TABLE `pending_payments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `pending_payments_user_id_index` (`user_id`),
  ADD KEY `pending_payments_order_id_index` (`order_id`);

--
-- Indexes for table `permissions`
--
ALTER TABLE `permissions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `permissions_name_unique` (`name`);

--
-- Indexes for table `permission_role`
--
ALTER TABLE `permission_role`
  ADD PRIMARY KEY (`role_id`,`permission_id`),
  ADD KEY `permission_role_permission_id_foreign` (`permission_id`);

--
-- Indexes for table `prefactors`
--
ALTER TABLE `prefactors`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `prefactors_order_id_unique` (`order_id`),
  ADD UNIQUE KEY `prefactors_order_group_id_unique` (`order_group_id`),
  ADD KEY `prefactors_user_id_index` (`user_id`);

--
-- Indexes for table `products`
--
ALTER TABLE `products`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `products_uuid_unique` (`uuid`),
  ADD UNIQUE KEY `products_slug_unique` (`slug`),
  ADD KEY `products_user_id_index` (`user_id`),
  ADD KEY `products_edited_by_index` (`edited_by`),
  ADD KEY `products_brand_id_index` (`brand_id`),
  ADD KEY `products_category_id_index` (`category_id`),
  ADD KEY `idx_products_status_created` (`status`,`created_at`),
  ADD KEY `idx_products_view_count` (`view_count`),
  ADD KEY `idx_products_status_is_vip` (`status`,`is_vip`),
  ADD KEY `idx_products_status_category` (`status`,`category_id`);

--
-- Indexes for table `product_categories`
--
ALTER TABLE `product_categories`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `product_categories_slug_unique` (`slug`);

--
-- Indexes for table `product_comments`
--
ALTER TABLE `product_comments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_comments_user_id_index` (`user_id`),
  ADD KEY `product_comments_product_id_index` (`product_id`),
  ADD KEY `idx_comments_prod_status_rating_date` (`product_id`,`status`,`rating`,`created_at`);

--
-- Indexes for table `product_favorites`
--
ALTER TABLE `product_favorites`
  ADD PRIMARY KEY (`user_id`,`product_id`),
  ADD KEY `product_favorites_user_id_index` (`user_id`),
  ADD KEY `product_favorites_product_id_index` (`product_id`);

--
-- Indexes for table `product_notifications`
--
ALTER TABLE `product_notifications`
  ADD PRIMARY KEY (`user_id`,`product_id`),
  ADD KEY `product_notifications_user_id_index` (`user_id`),
  ADD KEY `product_notifications_product_id_index` (`product_id`);

--
-- Indexes for table `product_product_tag`
--
ALTER TABLE `product_product_tag`
  ADD PRIMARY KEY (`product_tag_id`,`product_id`),
  ADD KEY `product_product_tag_product_id_foreign` (`product_id`),
  ADD KEY `idx_ppt_product_id` (`product_id`);

--
-- Indexes for table `product_props`
--
ALTER TABLE `product_props`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_props_product_id_index` (`product_id`);

--
-- Indexes for table `product_store`
--
ALTER TABLE `product_store`
  ADD PRIMARY KEY (`store_id`,`product_id`),
  ADD KEY `product_store_product_id_foreign` (`product_id`);

--
-- Indexes for table `product_tags`
--
ALTER TABLE `product_tags`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `questions`
--
ALTER TABLE `questions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `questions_user_id_index` (`user_id`),
  ADD KEY `questions_product_id_index` (`product_id`),
  ADD KEY `idx_questions_prod_status_created` (`product_id`,`status`,`created_at`);

--
-- Indexes for table `question_answers`
--
ALTER TABLE `question_answers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `question_answers_user_id_index` (`user_id`),
  ADD KEY `question_answers_question_id_index` (`question_id`);

--
-- Indexes for table `reports`
--
ALTER TABLE `reports`
  ADD PRIMARY KEY (`id`),
  ADD KEY `reports_user_id_index` (`user_id`);

--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `roles_name_unique` (`name`);

--
-- Indexes for table `role_user`
--
ALTER TABLE `role_user`
  ADD PRIMARY KEY (`role_id`,`user_id`),
  ADD KEY `role_user_user_id_foreign` (`user_id`);

--
-- Indexes for table `scores`
--
ALTER TABLE `scores`
  ADD PRIMARY KEY (`id`),
  ADD KEY `scores_user_id_index` (`user_id`);

--
-- Indexes for table `searches`
--
ALTER TABLE `searches`
  ADD PRIMARY KEY (`id`),
  ADD KEY `searches_user_id_index` (`user_id`);

--
-- Indexes for table `specifications`
--
ALTER TABLE `specifications`
  ADD PRIMARY KEY (`id`),
  ADD KEY `specifications_category_id_index` (`category_id`);

--
-- Indexes for table `specification_values`
--
ALTER TABLE `specification_values`
  ADD PRIMARY KEY (`id`),
  ADD KEY `specification_values_product_id_index` (`product_id`),
  ADD KEY `specification_values_specification_key_id_index` (`specification_key_id`);

--
-- Indexes for table `statistics`
--
ALTER TABLE `statistics`
  ADD PRIMARY KEY (`id`),
  ADD KEY `statistics_user_id_index` (`user_id`);

--
-- Indexes for table `storages`
--
ALTER TABLE `storages`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `storages_uuid_unique` (`uuid`),
  ADD KEY `storages_store_id_index` (`store_id`);

--
-- Indexes for table `stores`
--
ALTER TABLE `stores`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `stores_uuid_unique` (`uuid`),
  ADD KEY `stores_user_id_index` (`user_id`),
  ADD KEY `idx_stores_status` (`status`);

--
-- Indexes for table `stories`
--
ALTER TABLE `stories`
  ADD PRIMARY KEY (`id`),
  ADD KEY `stories_user_id_index` (`user_id`);

--
-- Indexes for table `templates`
--
ALTER TABLE `templates`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tickets`
--
ALTER TABLE `tickets`
  ADD PRIMARY KEY (`id`),
  ADD KEY `tickets_user_id_index` (`user_id`);

--
-- Indexes for table `ticket_answers`
--
ALTER TABLE `ticket_answers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `ticket_answers_user_id_index` (`user_id`),
  ADD KEY `ticket_answers_ticket_id_index` (`ticket_id`);

--
-- Indexes for table `tokens`
--
ALTER TABLE `tokens`
  ADD PRIMARY KEY (`id`),
  ADD KEY `tokens_user_id_index` (`user_id`);

--
-- Indexes for table `transactions`
--
ALTER TABLE `transactions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `transactions_transaction_id_unique` (`transaction_id`),
  ADD KEY `transactions_user_id_index` (`user_id`);

--
-- Indexes for table `wallets`
--
ALTER TABLE `wallets`
  ADD PRIMARY KEY (`id`),
  ADD KEY `wallets_user_id_index` (`user_id`);

--
-- Indexes for table `withdrawals`
--
ALTER TABLE `withdrawals`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `withdrawals_transaction_id_unique` (`transaction_id`),
  ADD KEY `withdrawals_user_id_index` (`user_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `addresses`
--
ALTER TABLE `addresses`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `affiliates`
--
ALTER TABLE `affiliates`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `articles`
--
ALTER TABLE `articles`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `article_categories`
--
ALTER TABLE `article_categories`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `article_comments`
--
ALTER TABLE `article_comments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `article_tags`
--
ALTER TABLE `article_tags`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `brands`
--
ALTER TABLE `brands`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `colors`
--
ALTER TABLE `colors`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=40;

--
-- AUTO_INCREMENT for table `compares`
--
ALTER TABLE `compares`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `consignments`
--
ALTER TABLE `consignments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `consignment_items`
--
ALTER TABLE `consignment_items`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `discounts`
--
ALTER TABLE `discounts`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `faqs`
--
ALTER TABLE `faqs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `files`
--
ALTER TABLE `files`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `filters`
--
ALTER TABLE `filters`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `filter_keys`
--
ALTER TABLE `filter_keys`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `filter_values`
--
ALTER TABLE `filter_values`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `forms`
--
ALTER TABLE `forms`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `form_answers`
--
ALTER TABLE `form_answers`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `inventories`
--
ALTER TABLE `inventories`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `inventory_props`
--
ALTER TABLE `inventory_props`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `menus`
--
ALTER TABLE `menus`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=59;

--
-- AUTO_INCREMENT for table `newsletters`
--
ALTER TABLE `newsletters`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `orders`
--
ALTER TABLE `orders`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `order_groups`
--
ALTER TABLE `order_groups`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `pages`
--
ALTER TABLE `pages`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `payment_metas`
--
ALTER TABLE `payment_metas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `pending_payments`
--
ALTER TABLE `pending_payments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `permissions`
--
ALTER TABLE `permissions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=28;

--
-- AUTO_INCREMENT for table `prefactors`
--
ALTER TABLE `prefactors`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `products`
--
ALTER TABLE `products`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `product_categories`
--
ALTER TABLE `product_categories`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `product_comments`
--
ALTER TABLE `product_comments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `product_props`
--
ALTER TABLE `product_props`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `product_tags`
--
ALTER TABLE `product_tags`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `questions`
--
ALTER TABLE `questions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `question_answers`
--
ALTER TABLE `question_answers`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `reports`
--
ALTER TABLE `reports`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `roles`
--
ALTER TABLE `roles`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `scores`
--
ALTER TABLE `scores`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `searches`
--
ALTER TABLE `searches`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `specifications`
--
ALTER TABLE `specifications`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `specification_values`
--
ALTER TABLE `specification_values`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `statistics`
--
ALTER TABLE `statistics`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `storages`
--
ALTER TABLE `storages`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `stores`
--
ALTER TABLE `stores`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `stories`
--
ALTER TABLE `stories`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `templates`
--
ALTER TABLE `templates`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `tickets`
--
ALTER TABLE `tickets`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `ticket_answers`
--
ALTER TABLE `ticket_answers`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tokens`
--
ALTER TABLE `tokens`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `transactions`
--
ALTER TABLE `transactions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `wallets`
--
ALTER TABLE `wallets`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `withdrawals`
--
ALTER TABLE `withdrawals`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `addresses`
--
ALTER TABLE `addresses`
  ADD CONSTRAINT `addresses_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `affiliates`
--
ALTER TABLE `affiliates`
  ADD CONSTRAINT `affiliates_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `articles`
--
ALTER TABLE `articles`
  ADD CONSTRAINT `articles_brand_id_foreign` FOREIGN KEY (`brand_id`) REFERENCES `brands` (`id`) ON DELETE NO ACTION,
  ADD CONSTRAINT `articles_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `article_categories` (`id`) ON DELETE NO ACTION,
  ADD CONSTRAINT `articles_edited_by_foreign` FOREIGN KEY (`edited_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `articles_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `article_article_tag`
--
ALTER TABLE `article_article_tag`
  ADD CONSTRAINT `article_article_tag_article_id_foreign` FOREIGN KEY (`article_id`) REFERENCES `articles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `article_article_tag_article_tag_id_foreign` FOREIGN KEY (`article_tag_id`) REFERENCES `article_tags` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `article_comments`
--
ALTER TABLE `article_comments`
  ADD CONSTRAINT `article_comments_article_id_foreign` FOREIGN KEY (`article_id`) REFERENCES `articles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `article_comments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `brands`
--
ALTER TABLE `brands`
  ADD CONSTRAINT `brands_edited_by_foreign` FOREIGN KEY (`edited_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `brands_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `category_product`
--
ALTER TABLE `category_product`
  ADD CONSTRAINT `category_product_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `product_categories` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `category_product_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `compares`
--
ALTER TABLE `compares`
  ADD CONSTRAINT `compares_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `compares_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `consignments`
--
ALTER TABLE `consignments`
  ADD CONSTRAINT `consignments_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `consignments_store_id_foreign` FOREIGN KEY (`store_id`) REFERENCES `stores` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `consignments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `consignment_items`
--
ALTER TABLE `consignment_items`
  ADD CONSTRAINT `consignment_items_consignment_id_foreign` FOREIGN KEY (`consignment_id`) REFERENCES `consignments` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `consignment_items_inventory_id_foreign` FOREIGN KEY (`inventory_id`) REFERENCES `inventories` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `consignment_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE NO ACTION,
  ADD CONSTRAINT `consignment_items_storage_id_foreign` FOREIGN KEY (`storage_id`) REFERENCES `storages` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `consignment_items_store_id_foreign` FOREIGN KEY (`store_id`) REFERENCES `stores` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `discount_user`
--
ALTER TABLE `discount_user`
  ADD CONSTRAINT `discount_user_discount_id_foreign` FOREIGN KEY (`discount_id`) REFERENCES `discounts` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `discount_user_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `files`
--
ALTER TABLE `files`
  ADD CONSTRAINT `files_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `filter_keys`
--
ALTER TABLE `filter_keys`
  ADD CONSTRAINT `filter_keys_filter_id_foreign` FOREIGN KEY (`filter_id`) REFERENCES `filters` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `filter_values`
--
ALTER TABLE `filter_values`
  ADD CONSTRAINT `filter_values_filter_key_id_foreign` FOREIGN KEY (`filter_key_id`) REFERENCES `filter_keys` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `filter_values_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `form_answers`
--
ALTER TABLE `form_answers`
  ADD CONSTRAINT `form_answers_form_id_foreign` FOREIGN KEY (`form_id`) REFERENCES `forms` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `inventories`
--
ALTER TABLE `inventories`
  ADD CONSTRAINT `inventories_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `inventories_storage_id_foreign` FOREIGN KEY (`storage_id`) REFERENCES `storages` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `inventories_store_id_foreign` FOREIGN KEY (`store_id`) REFERENCES `stores` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `inventory_props`
--
ALTER TABLE `inventory_props`
  ADD CONSTRAINT `inventory_props_inventory_id_foreign` FOREIGN KEY (`inventory_id`) REFERENCES `inventories` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `orders`
--
ALTER TABLE `orders`
  ADD CONSTRAINT `orders_order_group_id_foreign` FOREIGN KEY (`order_group_id`) REFERENCES `order_groups` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `orders_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `order_groups`
--
ALTER TABLE `order_groups`
  ADD CONSTRAINT `order_groups_transaction_id_foreign` FOREIGN KEY (`transaction_id`) REFERENCES `transactions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `order_groups_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `payment_metas`
--
ALTER TABLE `payment_metas`
  ADD CONSTRAINT `payment_metas_store_id_foreign` FOREIGN KEY (`store_id`) REFERENCES `stores` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `pending_payments`
--
ALTER TABLE `pending_payments`
  ADD CONSTRAINT `pending_payments_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `pending_payments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `permission_role`
--
ALTER TABLE `permission_role`
  ADD CONSTRAINT `permission_role_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `permission_role_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `prefactors`
--
ALTER TABLE `prefactors`
  ADD CONSTRAINT `prefactors_order_group_id_foreign` FOREIGN KEY (`order_group_id`) REFERENCES `order_groups` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `prefactors_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`),
  ADD CONSTRAINT `prefactors_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `products`
--
ALTER TABLE `products`
  ADD CONSTRAINT `products_brand_id_foreign` FOREIGN KEY (`brand_id`) REFERENCES `brands` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `products_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `product_categories` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `products_edited_by_foreign` FOREIGN KEY (`edited_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `products_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_comments`
--
ALTER TABLE `product_comments`
  ADD CONSTRAINT `product_comments_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `product_comments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_favorites`
--
ALTER TABLE `product_favorites`
  ADD CONSTRAINT `product_favorites_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `product_favorites_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_notifications`
--
ALTER TABLE `product_notifications`
  ADD CONSTRAINT `product_notifications_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `product_notifications_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_product_tag`
--
ALTER TABLE `product_product_tag`
  ADD CONSTRAINT `product_product_tag_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `product_product_tag_product_tag_id_foreign` FOREIGN KEY (`product_tag_id`) REFERENCES `product_tags` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_props`
--
ALTER TABLE `product_props`
  ADD CONSTRAINT `product_props_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_store`
--
ALTER TABLE `product_store`
  ADD CONSTRAINT `product_store_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `product_store_store_id_foreign` FOREIGN KEY (`store_id`) REFERENCES `stores` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `questions`
--
ALTER TABLE `questions`
  ADD CONSTRAINT `questions_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `questions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `question_answers`
--
ALTER TABLE `question_answers`
  ADD CONSTRAINT `question_answers_question_id_foreign` FOREIGN KEY (`question_id`) REFERENCES `questions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `question_answers_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `reports`
--
ALTER TABLE `reports`
  ADD CONSTRAINT `reports_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `role_user`
--
ALTER TABLE `role_user`
  ADD CONSTRAINT `role_user_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `role_user_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `scores`
--
ALTER TABLE `scores`
  ADD CONSTRAINT `scores_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `searches`
--
ALTER TABLE `searches`
  ADD CONSTRAINT `searches_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `specifications`
--
ALTER TABLE `specifications`
  ADD CONSTRAINT `specifications_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `product_categories` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `specification_values`
--
ALTER TABLE `specification_values`
  ADD CONSTRAINT `specification_values_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `specification_values_specification_key_id_foreign` FOREIGN KEY (`specification_key_id`) REFERENCES `specification_keys` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `statistics`
--
ALTER TABLE `statistics`
  ADD CONSTRAINT `statistics_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `storages`
--
ALTER TABLE `storages`
  ADD CONSTRAINT `storages_store_id_foreign` FOREIGN KEY (`store_id`) REFERENCES `stores` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `stores`
--
ALTER TABLE `stores`
  ADD CONSTRAINT `stores_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `stories`
--
ALTER TABLE `stories`
  ADD CONSTRAINT `stories_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `tickets`
--
ALTER TABLE `tickets`
  ADD CONSTRAINT `tickets_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `ticket_answers`
--
ALTER TABLE `ticket_answers`
  ADD CONSTRAINT `ticket_answers_ticket_id_foreign` FOREIGN KEY (`ticket_id`) REFERENCES `tickets` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `ticket_answers_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `tokens`
--
ALTER TABLE `tokens`
  ADD CONSTRAINT `tokens_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `transactions`
--
ALTER TABLE `transactions`
  ADD CONSTRAINT `transactions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `wallets`
--
ALTER TABLE `wallets`
  ADD CONSTRAINT `wallets_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `withdrawals`
--
ALTER TABLE `withdrawals`
  ADD CONSTRAINT `withdrawals_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;
COMMIT;

