VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: old_fritz on October 07, 2013, 09:05:44 AM

Title: How to remove/ hide the related product image?
Post by: old_fritz on October 07, 2013, 09:05:44 AM
Hi there,

would like to remove/ hide or unshow each image of the related products in detailsview.

guess its this part from the default_relatedproducts.php to change:

<div class="product-field product-field-type-<?php echo $field->field_type ?>">
    <span class="product-field-display">
    <?php echo $field->display ?>
    </span>
</div>


I tried so many variations to change it, but always if I removed the image,
I lost the information of the product name/ description as well.

So might there“s another place in code to tell to just hide the image, nothing else.

Thanks for your help!