fix: cart

This commit is contained in:
2026-04-16 09:40:04 +02:00
parent cf48624d7f
commit 9b525f06cd
5 changed files with 220 additions and 217 deletions

View File

@@ -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);

View File

@@ -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