begin order form with registration
This commit is contained in:
@@ -13,15 +13,13 @@ class HomeController extends Controller
|
||||
{
|
||||
public function index(Request $request)
|
||||
{
|
||||
$input = $request->input();
|
||||
$data = self::init();
|
||||
$data['display_by_rows'] = $input['by_rows'] ?? false;
|
||||
$data['shelves'] = Articles::getArticlesByHomepage();
|
||||
$data['text'] = Homepages::getHomepage();
|
||||
// dump($data['shelves']);
|
||||
// exit;
|
||||
$data['tags'] = TagGroups::getWithTagsAndCountOffers();
|
||||
$data['no_filter'] = true;
|
||||
$data = [
|
||||
'display_by_rows' => $request->input('by_rows') ?? false,
|
||||
'shelves' => Articles::getArticlesByHomepage(),
|
||||
'text' => Homepages::getHomepage(),
|
||||
'tags' => TagGroups::getWithTagsAndCountOffers(),
|
||||
'no_filter' => true,
|
||||
];
|
||||
return view('Shop.home', $data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user