News:

Support the VirtueMart project and become a member

Main Menu

Product thumbs are not shown in a cart page

Started by Piombo, March 03, 2015, 14:33:39 PM

Previous topic - Next topic

Piombo

Hello!

VM2.6.10, J2.5.24

Option: "Configuration" - "Checkout (Tab) - "Show product images" - enabled

In template: templates/my-template/html/com_virtuemart/cart/default_pricelist.php code has:


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

</span>
<?php ?>


Image format: .jpg

On the shopping cart page I only see <span class="cart-images"></span>

And I know that everything should work - http://forum.virtuemart.net/index.php?topic=124152.msg424256#msg424256

Please help (

Piombo

Everything worked, I made a mistake in the database. I make settings in the wrong database