News:

Support the VirtueMart project and become a member

Main Menu

Minicart product thumbnails and checkout product thumbnails

Started by lindapowers, February 03, 2017, 16:19:58 PM

Previous topic - Next topic

lindapowers

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

AH


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 ?>
Regards
A

Joomla 4.4.5
php 8.1

lindapowers

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