Fixed review controller compact undefined variable issue

This commit is contained in:
Jitendra Singh 2020-01-10 15:14:29 +05:30
parent 8db495446a
commit 9fbe756075
4 changed files with 7 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -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"
}

View File

@ -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);

View File

@ -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;