fix: cart
This commit is contained in:
@@ -70,7 +70,8 @@ INSERT IGNORE INTO `b2b_routes` (`id`, `name`, `path`, `component`, `meta`, `act
|
||||
}', 1),
|
||||
(20, 'customer-products', 'products', '/components/customer/PageProducts.vue', '{ "guest":true, "name": "Products" }', 1),
|
||||
(21, 'customer-product-details', 'products/:product_id', '/components/customer/PageProduct.vue', '{ "guest":true, "name": "Products" }', 1),
|
||||
(22, 'customer-page-carts', 'carts', '/components/customer/PageCarts.vue', '{ "guest":true, "name": "Carts" }', 1);
|
||||
(22, 'customer-page-carts', 'carts', '/components/customer/PageCarts.vue', '{ "guest":true, "name": "Carts" }', 1),
|
||||
(24, 'customer-search-products', 'search-products', '/components/customer/PageSearchProducts.vue', '{ "guest":true, "name": "Carts" }', 1);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS b2b_top_menu (
|
||||
menu_id INT AUTO_INCREMENT NOT NULL,
|
||||
@@ -286,6 +287,28 @@ INSERT IGNORE INTO `b2b_top_menu` (`menu_id`, `label`, `parent_id`, `params`, `a
|
||||
"locale": ""
|
||||
}
|
||||
}
|
||||
}', 1, 1),
|
||||
(17, '{
|
||||
"name": "customer-search-products",
|
||||
"trans": {
|
||||
"pl": {
|
||||
"label": "Search-Products"
|
||||
},
|
||||
"en": {
|
||||
"label": "Search-Products"
|
||||
},
|
||||
"de": {
|
||||
"label": "Search-Products"
|
||||
}
|
||||
},
|
||||
"icon": "proicons:cart1"
|
||||
}', 1, '{
|
||||
"route": {
|
||||
"name": "customer-search-products",
|
||||
"params": {
|
||||
"locale": ""
|
||||
}
|
||||
}
|
||||
}', 1, 1);
|
||||
|
||||
|
||||
|
||||
@@ -114,5 +114,6 @@ INSERT INTO `b2b_route_roles` (`route_id`, `role_id`) VALUES
|
||||
(19, '1'),
|
||||
(20, '1'),
|
||||
(21, '1'),
|
||||
(22, '1');
|
||||
(22, '1'),
|
||||
(24, '1');
|
||||
-- +goose Down
|
||||
Reference in New Issue
Block a user