VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Piombo on March 03, 2015, 14:33:39 PM

Title: Product thumbs are not shown in a cart page
Post by: Piombo on March 03, 2015, 14:33:39 PM
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 (
Title: Re: Product thumbs are not shown in a cart page
Post by: Piombo on March 04, 2015, 15:56:33 PM
Everything worked, I made a mistake in the database. I make settings in the wrong database