VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: melprok on March 11, 2013, 04:26:40 AM

Title: Can remove the "Product Image Unavailable" image in the Manufacturer module?
Post by: melprok on March 11, 2013, 04:26:40 AM
I set Manufacturers in my shop.  But I don't want a image for each one.

I can remove the image in this module that says, "Product Image Unavailable"

Thanks,
Jose
Title: Re: Can remove the "Product Image Unavailable" image in the Manufacturer module?
Post by: joaquince on March 18, 2013, 03:12:25 AM
Go to: /public_html/components/com_virtuemart/views/virtuemart/tmpl/default_categories.php

Remove:

<div>
               <?php // Product Image
               if ($product->images) {
                  echo JHTML::_ ( 'link', JRoute::_ ( 'index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $product->virtuemart_product_id . '&virtuemart_category_id=' . $product->virtuemart_category_id ), $product->images[0]->displayMediaThumb( 'class="featuredProductImage" border="0"',true,'class="modal"' ) );
               }
               ?>
               </div>

DONE!!!
Title: Re: Can remove the "Product Image Unavailable" image in the Manufacturer module?
Post by: melprok on June 12, 2013, 06:12:51 AM
Thanks
Title: Re: Can remove the "Product Image Unavailable" image in the Manufacturer module?
Post by: Milbo on June 12, 2013, 12:55:00 PM
You can also just change the "image unavailable image to a transparent 1px big one.