VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: lindapowers on February 03, 2017, 16:19:58 PM

Title: Minicart product thumbnails and checkout product thumbnails
Post by: lindapowers on February 03, 2017, 16:19:58 PM
Hi

VM 3.0.19.4 Blue Corvus 9440 and J! 3.6.5

We have never used product images in minicart and checkout but looking recently in to this feature.

In VM/Checkout/Show product images setting YES seems to enable both product images in minicart and checkout.

Is this correct? Both are connected cause I don't see a config to show product images only at minicart and not at checkout which is what would like.


Regards
Title: Re: Minicart product thumbnails and checkout product thumbnails
Post by: AH on February 03, 2017, 17:26:46 PM

I think that you will have to do an override to the default_pricelist.php if you wish to remove the images from the cart display and still have them in the minicart module

Remove this

<?php if ($prow->virtuemart_media_id) { ?>
<span class="cart-images">
<?php
if (!empty($prow->images[0])) {
echo $prow->images[0]->displayMediaThumb (''FALSE);
?>

</span>
<?php ?>
Title: Re: Minicart product thumbnails and checkout product thumbnails
Post by: lindapowers on February 03, 2017, 20:45:05 PM
Quote from: AH on February 03, 2017, 17:26:46 PM

I think that you will have to do an override to the default_pricelist.php if you wish to remove the images from the cart display and still have them in the minicart module

Remove this

<?php if ($prow->virtuemart_media_id) { ?>
<span class="cart-images">
<?php
if (!empty($prow->images[0])) {
echo $prow->images[0]->displayMediaThumb (''FALSE);
?>

</span>
<?php ?>


Thank you, ill look into this,

Regards