image resolution & quick view price issue resolved

This commit is contained in:
shubhammehrotra.symfony@webkul.com 2020-03-06 13:24:31 +05:30
parent b564e63ad7
commit d212536170
4 changed files with 22 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
{
"/js/velocity.js": "/js/velocity.js?id=6ddbe8cf2f5f023bf2af",
"/css/velocity-admin.css": "/css/velocity-admin.css?id=612d35e452446366eef7",
"/css/velocity.css": "/css/velocity.css?id=3d8d4648fa70ccf81482"
"/css/velocity.css": "/css/velocity.css?id=84682d653fd625fc680a"
}

View File

@ -242,7 +242,19 @@ class Helper extends Review
$avgRatings = ceil($reviewHelper->getAverageRating($product));
$galleryImages = $productImageHelper->getGalleryImages($product);
$productImage = $productImageHelper->getProductBaseImage($product)['large_image_url'];
$productImage = $productImageHelper->getProductBaseImage($product)['medium_image_url'];
$largeProductImageName = "large-product-placeholder.png";
$mediumProductImageName = "meduim-product-placeholder.png";
if (strpos($productImage, $mediumProductImageName) > -1) {
$productImageNameCollection = explode('/', $productImage);
$productImageName = $productImageNameCollection[sizeof($productImageNameCollection) - 1];
if ($productImageName == $mediumProductImageName) {
$productImage = str_replace($mediumProductImageName, $largeProductImageName, $productImage);
}
}
return [
'avgRating' => $avgRatings,

View File

@ -666,6 +666,13 @@ body::after {
font-size: 20px;
font-weight: 600;
}
.price-from {
span:nth-child(3) {
margin-left: 6px;
display: inline-block !important;
}
}
}
.quick-view-name {