Merge pull request #2 from prateek-webkul/pr4446

Pr4446
This commit is contained in:
Prateek Srivastava 2021-02-04 16:43:38 +05:30 committed by GitHub
commit 26c5caea94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

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

View File

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