Can remove the "Product Image Unavailable" image in the Manufacturer module?

Started by melprok, March 11, 2013, 04:26:40 AM

Previous topic - Next topic

melprok

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

joaquince

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!!!


Milbo

You can also just change the "image unavailable image to a transparent 1px big one.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/