commit
26c5caea94
|
|
@ -312,8 +312,8 @@ class Helper extends Review
|
|||
|
||||
$avgRatings = ceil($reviewHelper->getAverageRating($product));
|
||||
|
||||
$galleryImages = ProductImage::getGalleryImages($product);
|
||||
$productImage = ProductImage::getProductBaseImage($product)['medium_image_url'];
|
||||
$galleryImages = \ProductImage::getGalleryImages($product);
|
||||
$productImage = \ProductImage::getProductBaseImage($product)['medium_image_url'];
|
||||
|
||||
$largeProductImageName = "large-product-placeholder.png";
|
||||
$mediumProductImageName = "meduim-product-placeholder.png";
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ class ShopController extends Controller
|
|||
if ($product) {
|
||||
$productReviewHelper = app('Webkul\Product\Helpers\Review');
|
||||
|
||||
$galleryImages = $this->productImageHelper->getProductBaseImage($product);
|
||||
$galleryImages = \ProductImage::getProductBaseImage($product);
|
||||
|
||||
$response = [
|
||||
'status' => true,
|
||||
|
|
|
|||
Loading…
Reference in New Issue