Add variations, slider, fix cart ...

This commit is contained in:
Ludovic CANDELLIER
2022-03-21 21:52:12 +01:00
parent d9dba1c515
commit 36a63f3b14
27 changed files with 438 additions and 81 deletions

View File

@@ -23,7 +23,9 @@ class HomeController extends Controller
$input = $request->input();
$data = self::init();
$data['display_by_rows'] = $input['by_rows'] ?? false;
$data['articles'] = Articles::getArticlesToSell();
$data['shelves'] = Articles::getArticlesByHomepage();
// dump($data['shelves']);
// exit;
$data['tags'] = TagGroups::getWithTagsAndCountOffers();
return view('Shop.home', $data);
}