News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

How to view Product as image on mouseover

Started by jagjot, April 03, 2013, 23:27:45 PM

Previous topic - Next topic

jagjot

Folks,

I have hundreds of products in my virtuemart 2.0.6 on joomla 2.5.8... And I have to update 50 to 60 product prices.

But the problem is I have to go through every item and open the products and view the images and then update the prices. Wondering if I can make product name display images on mouseover (in administration area).

Thanks in advance...


jagjot

Folks,

I found the php file which displays Product (List) in administrator page.

Path is : administrator/components/com_virtuemart/views/product/tmpl/default.php

code :


<!-- Media -->
<?php
        
/* Create URL */
        
$link JRoute::_('index.php?view=media&virtuemart_product_id='.$product->virtuemart_product_id.'&option=com_virtuemart');
?>

<td><?php echo JHTML::_('link'$link'<span class="icon-nofloat vmicon vmicon-16-media"></span> ('.$product->mediaitems.')''title ="'JText::_('COM_VIRTUEMART_MEDIA_MANAGER').'" ' );
?>
</td>


Now,
1. the question is how to get the image of my product image displayed? 
2. should display first image, if there are multiple images?
3. or the best option will be onmouseover display first image of the product?

looking forward to hear from you guys..