change homepages to contents, add new methods to deliveries and sale_channels by customer

This commit is contained in:
ludo
2023-12-09 23:55:50 +01:00
parent 7561a8e8ba
commit 71ecb13af0
28 changed files with 185 additions and 153 deletions

View File

@@ -5,6 +5,8 @@ namespace App\Http\Controllers\Shop;
use App\Http\Controllers\Controller;
use App\Repositories\Core\User\ShopCart;
use App\Repositories\Shop\Baskets;
use App\Repositories\Shop\Contents;
use App\Repositories\Shop\Customers;
use App\Repositories\Shop\Offers;
use App\Repositories\Shop\Orders;
use App\Repositories\Users;
@@ -45,6 +47,8 @@ class BasketController extends Controller
{
$data = [
'basket' => Baskets::getBasket(),
'sale_channel' => Customers::getSaleChannel(),
'header' => Contents::getBasketContent(),
];
return view('Shop.Baskets.basket', $data);