update icon,fixed menu, modal category, modal brand
This commit is contained in:
@@ -6,7 +6,7 @@ return array(
|
||||
"url" => "",
|
||||
"menu" => array(
|
||||
array(
|
||||
'enable' => false ,
|
||||
'enable' => true ,
|
||||
'module' => 'marketing',
|
||||
'view' => 'promotion',
|
||||
'id' => 'marketing/promotion',
|
||||
@@ -15,7 +15,7 @@ return array(
|
||||
),
|
||||
|
||||
array(
|
||||
'enable' => false ,
|
||||
'enable' => true ,
|
||||
'module' => 'marketing',
|
||||
'view' => 'coupon',
|
||||
'id' => 'marketing/coupon',
|
||||
|
||||
@@ -33,4 +33,196 @@ return [
|
||||
'html' => $tb_page,
|
||||
'total_pages' => $total_pages,
|
||||
],
|
||||
];
|
||||
|
||||
"list_category" => [
|
||||
[
|
||||
'id' => 1,
|
||||
'title' => 'Màn hình máy tính',
|
||||
'url' => '/admin/product?category=9',
|
||||
'parentId' => 0,
|
||||
'isParent' => 1,
|
||||
'children' => [
|
||||
[
|
||||
'id' => 10,
|
||||
'title' => 'Màn hình theo khoảng giá',
|
||||
'url' => '/admin/product?category=148',
|
||||
'parentId' => 1,
|
||||
'isParent' => 0,
|
||||
'totalProduct' => 0,
|
||||
'children' => [
|
||||
|
||||
]
|
||||
],
|
||||
[
|
||||
'id' => 11,
|
||||
'title' => 'Màn Hình Theo Kích Thước',
|
||||
'url' => '/admin/product?category=54',
|
||||
'parentId' => 1,
|
||||
'isParent' => 0,
|
||||
'totalProduct' => 0,
|
||||
'children' => [
|
||||
[
|
||||
'id' => 148,
|
||||
'title' => '17 inch - 21.5 inch',
|
||||
'url' => '/admin/product?category=148',
|
||||
'parentId' => 11,
|
||||
'isParent' => 0,
|
||||
'totalProduct' => 5,
|
||||
],
|
||||
[
|
||||
'id' => 66,
|
||||
'title' => '22 inch - 24 inch',
|
||||
'url' => '/admin/product?category=66',
|
||||
'parentId' => 11,
|
||||
'isParent' => 0,
|
||||
'totalProduct' => 41,
|
||||
],
|
||||
[
|
||||
'id' => 67,
|
||||
'title' => '25 inch - 27 inch',
|
||||
'url' => '/admin/product?category=67',
|
||||
'parentId' => 11,
|
||||
'isParent' => 0,
|
||||
'totalProduct' => 42,
|
||||
],
|
||||
[
|
||||
'id' => 68,
|
||||
'title' => '28 inch - 32 inch',
|
||||
'url' => '/admin/product?category=68',
|
||||
'parentId' => 11,
|
||||
'isParent' => 0,
|
||||
'totalProduct' => 11,
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
]
|
||||
],
|
||||
[
|
||||
'id' => 65,
|
||||
'title' => 'PC, Workstation',
|
||||
'url' => '/admin/product?category=65',
|
||||
'parentId' => 0,
|
||||
'isParent' => 1,
|
||||
'children' => []
|
||||
],
|
||||
[
|
||||
'id' => 3,
|
||||
'title' => 'Gaming Gear',
|
||||
'url' => '/admin/product?category=3',
|
||||
'parentId' => 0,
|
||||
'isParent' => 1,
|
||||
'children' => []
|
||||
],[
|
||||
'id' => 4,
|
||||
'title' => 'CPU - Bộ Vi Xử Lý',
|
||||
'url' => '/admin/product?category=4',
|
||||
'parentId' => 0,
|
||||
'isParent' => 1,
|
||||
'children' => []
|
||||
]
|
||||
|
||||
],
|
||||
|
||||
"brand_letters" => [
|
||||
[
|
||||
'key' => 'A',
|
||||
'url' => '/ajax/brand.php?action=show-brand-list&letter=A&popup=1',
|
||||
'total' => 13,
|
||||
],
|
||||
[
|
||||
'key' => 'B',
|
||||
'url' => '/ajax/brand.php?action=show-brand-list&letter=B&popup=1',
|
||||
'total' => 2,
|
||||
],
|
||||
[
|
||||
'key' => 'C',
|
||||
'url' => '/ajax/brand.php?action=show-brand-list&letter=C&popup=1',
|
||||
'total' => 5,
|
||||
]
|
||||
|
||||
],
|
||||
|
||||
"list_brands" => [
|
||||
|
||||
'A' => [
|
||||
[
|
||||
'id' => 1,
|
||||
'name' => 'ABS',
|
||||
'letter' => 'A',
|
||||
'url' => '/admin/?brand=83&opt=product',
|
||||
'product' => 1,
|
||||
],
|
||||
[
|
||||
'id' => 2,
|
||||
'name' => 'ACE GAMING',
|
||||
'letter' => 'A',
|
||||
'url' => '/admin/?brand=83&opt=product',
|
||||
'product' => 6,
|
||||
],
|
||||
[
|
||||
'id' => 3,
|
||||
'name' => 'ADATA',
|
||||
'letter' => 'A',
|
||||
'url' => '/admin/?brand=83&opt=product',
|
||||
'product' => 15,
|
||||
]
|
||||
],
|
||||
|
||||
'B' => [
|
||||
[
|
||||
'id' => 3,
|
||||
'name' => 'BE QUIET ',
|
||||
'letter' => 'B',
|
||||
'url' => '/admin/?brand=83&opt=product',
|
||||
'product' => 2,
|
||||
],
|
||||
[
|
||||
'id' => 3,
|
||||
'name' => 'BENQ',
|
||||
'letter' => 'B',
|
||||
'url' => '/admin/?brand=83&opt=product',
|
||||
'product' => 6,
|
||||
],
|
||||
],
|
||||
|
||||
'C' => [
|
||||
[
|
||||
'id' => 3,
|
||||
'name' => 'CISCO',
|
||||
'letter' => 'C',
|
||||
'url' => '/admin/?brand=83&opt=product',
|
||||
'product' => 2,
|
||||
],
|
||||
[
|
||||
'id' => 3,
|
||||
'name' => 'Colorful',
|
||||
'letter' => 'C',
|
||||
'url' => '/admin/?brand=83&opt=product',
|
||||
'product' => 6,
|
||||
],
|
||||
[
|
||||
'id' => 3,
|
||||
'name' => 'COOLER MASTER',
|
||||
'letter' => 'C',
|
||||
'url' => '/admin/?brand=83&opt=product',
|
||||
'product' => 6,
|
||||
],
|
||||
[
|
||||
'id' => 3,
|
||||
'name' => 'COOLMOON',
|
||||
'letter' => 'C',
|
||||
'url' => '/admin/?brand=83&opt=product',
|
||||
'product' => 6,
|
||||
],
|
||||
[
|
||||
'id' => 3,
|
||||
'name' => 'CORSAIR',
|
||||
'letter' => 'C',
|
||||
'url' => '/admin/?brand=83&opt=product',
|
||||
'product' => 6,
|
||||
],
|
||||
]
|
||||
]
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user