Fix on refreshing description & images from products
This commit is contained in:
@@ -45,8 +45,6 @@ class ArticleController extends Controller
|
||||
public function edit($id)
|
||||
{
|
||||
$data = Articles::getFull($id);
|
||||
// dump($data);
|
||||
// exit;
|
||||
return view('Admin.Shop.Articles.edit', $data);
|
||||
}
|
||||
|
||||
@@ -69,7 +67,8 @@ class ArticleController extends Controller
|
||||
|
||||
public function getProductImages($product_id, $model)
|
||||
{
|
||||
$data = Articles::getInheritedByProduct($product_id, base64_decode($model));
|
||||
$data['article']['product_id'] = $product_id;
|
||||
$data['no_popup'] = false;
|
||||
return view('Admin.Shop.Articles.partials.product.images', $data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user