quick add to basket on shelves

This commit is contained in:
Ludovic CANDELLIER
2023-02-27 23:16:15 +01:00
parent b3d16a06b0
commit 0828ac3377
7 changed files with 53 additions and 14 deletions

View File

@@ -64,7 +64,6 @@ class CategoryController extends Controller
]),
'tags' => TagGroups::getWithTagsAndCountOffers($category_id),
];
// dump($data);
return view('Shop.Shelves.shelve', $data);
}

View File

@@ -200,6 +200,7 @@ class Articles
'product_id' => $article->product_id,
'product_name' => $article->product->name,
'parent_name' => trim(str_replace($article->product->name, '', $article->name)),
'offers' => $article->offers->toArray(),
];
}