VirtueMart Forum

VirtueMart 2 + 3 => Templating & Layouts => Topic started by: zaheer45 on October 10, 2012, 19:41:28 pm

Title: Product Main images
Post by: zaheer45 on October 10, 2012, 19:41:28 pm
i want to remove product image in virtuemart, i try to create product without images but them default noimage.gif is shown. then i deleted noimage.gif from its location, image is gone but then is showing "No Images Set" at the place of image. How to get rid off this?
infect i don't need images for my products at all. so my question is how to remove image place completely from product page??
Joomla 2.5
VM 2.

regards
Title: Re: Product Main images
Post by: Engel Joris on May 08, 2013, 15:53:33 pm
Zaheer,

Did you ever found out how to do this?
Title: Re: Product Main images
Post by: Marga123 on May 09, 2013, 15:21:59 pm
add the

Template  > HTML/com_virtuemart/productdetails/default_images.php

Delete everything in the quote




<div id="images_gallery">


Quote
   <div class="images" id="images">


         <div class="pikachoose">


            <ul id="pikame">


               <?php


               foreach($this->product->images as $image) {


                  ?>


                  <li><?php echo JHTML::_('link',$image->file_url,JHTML::_('image',$image->file_url,$image->file_title)); ?><span><?php echo $image->file_meta; ?></span></li>


                  <?php


               }


               ?>


            </ul>


         </div>


   </div>


</div>