issue of image at checkout #1209

This commit is contained in:
rahul shukla 2019-07-24 18:50:44 +05:30
parent 1dd5faa21d
commit 29763b902e
1 changed files with 4 additions and 1 deletions

View File

@ -70,7 +70,10 @@
<?php
$product = $item->product;
$productBaseImage = $productImageHelper->getProductBaseImage($product);
if ($product->type == "configurable")
$productBaseImage = $productImageHelper->getProductBaseImage($item->child->product);
else
$productBaseImage = $productImageHelper->getProductBaseImage($item->product);
?>
<div class="item mb-5" style="margin-bottom: 5px;">