Fixed review controller compact undefined variable issue
This commit is contained in:
parent
8db495446a
commit
9fbe756075
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"/js/shop.js": "/js/shop.js?id=1458efe560aa39b1c7e3",
|
||||
"/js/shop.js": "/js/shop.js?id=a598c0a229d69d3fa067",
|
||||
"/css/shop.css": "/css/shop.css?id=b7ced6169cf80ef65f80"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ class ReviewController extends Controller
|
|||
if (auth()->guard('customer')->check() || core()->getConfigData('catalog.products.review.guest_review')) {
|
||||
$product = $this->productRepository->findBySlugOrFail($slug);
|
||||
|
||||
return view($this->_config['view'], compact('product', 'guest_review'));
|
||||
return view($this->_config['view'], compact('product'));
|
||||
}
|
||||
|
||||
abort(404);
|
||||
|
|
|
|||
|
|
@ -2955,9 +2955,12 @@ section.review {
|
|||
display: flex;
|
||||
|
||||
.product-info {
|
||||
font-size: 24px;
|
||||
max-width: 25%;
|
||||
|
||||
.product-name {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.product-image {
|
||||
img {
|
||||
height: 280px;
|
||||
|
|
|
|||
Loading…
Reference in New Issue