56 lines
2.1 KiB
JavaScript
56 lines
2.1 KiB
JavaScript
/**
|
|
* Vvveb
|
|
*
|
|
* Copyright (C) 2021 Ziadin Givan
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Affero General Public License as
|
|
* published by the Free Software Foundation, either version 3 of the
|
|
* License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Affero General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
*
|
|
*/
|
|
|
|
import {productComponent} from './product.js';
|
|
import {productsComponent} from './products.js';
|
|
import {productCategoriesComponent} from './categories.js';
|
|
import {productGalleryComponent} from './productGallery.js';
|
|
import {manufacturersComponent} from './manufacturers.js';
|
|
import {vendorsComponent} from './vendors.js';
|
|
import {cartComponent} from './cart.js';
|
|
import {checkoutComponent} from './checkout.js';
|
|
import {filtersComponent} from './filters.js';
|
|
|
|
|
|
Vvveb.Components.add("ecommerce/product", productComponent);
|
|
Vvveb.Components.add("ecommerce/products", productsComponent);
|
|
Vvveb.Components.add("ecommerce/productGallery", productGalleryComponent);
|
|
Vvveb.Components.add("ecommerce/categories", productCategoriesComponent);
|
|
Vvveb.Components.add("ecommerce/manufacturers", manufacturersComponent);
|
|
Vvveb.Components.add("ecommerce/vendors", vendorsComponent);
|
|
Vvveb.Components.add("ecommerce/cart", cartComponent);
|
|
Vvveb.Components.add("ecommerce/checkout", checkoutComponent);
|
|
Vvveb.Components.add("ecommerce/filters", filtersComponent);
|
|
|
|
|
|
Vvveb.ComponentsGroup['Ecommerce'] = ["ecommerce/products",
|
|
"ecommerce/product",
|
|
"ecommerce/categories",
|
|
"ecommerce/manufacturers",
|
|
"ecommerce/vendors",
|
|
"ecommerce/search",
|
|
"ecommerce/user",
|
|
"ecommerce/product_gallery",
|
|
"ecommerce/cart",
|
|
"ecommerce/checkout",
|
|
"ecommerce/filters",
|
|
// "ecommerce/slider"
|
|
];
|