JoomlaFAQs.org

JoomlaFAQsBanner
How To Groom Your Dog At Home

Favourites Create PDF Email Print

How To Display Big Image In VirtueMart Product Details Page

Author:
technojoom
Hits:
983
Rating:
 
Vote for this:
Good - Bad
favoured:
0 Favour

Answer

Component : VirtueMart 1.1.2

Sometimes you may want to display the full big product image instead of the thumbnail in the Product Details page in Virtuemart. To do that, you need to find the flypage. If you are using the default theme, you should find it in yoursite/components/com_virtuemart/themes/default/templates/product_details folder. Look for the flypage.tpl.php or whichever flypage file you are using for your site.

  1. Look for this line below
  2. < ?php echo $product_image ? >
  3. Replace the line with this one below
  4. < img src= " < ?php echo $mosConfig_live_site; ? >/components/
    com_virtuemart/shop_image/product/
    < ?php echo $product_full_image; ? >" class="fullvmimage" >
  5. Save the file
  6. Reload your browser!

 


SITE NOTE: To display the HTML tags on JoomlaFAQs, there is a space between the name of the tags and the enclosing "less than" (<) and "more than" (>) brackets. If you copy the code, make sure you delete the spaces to make it work!

If you have found this site to be useful and has helped you, kindly consider to donate. Your donation will encourage me and help to upkeep JoomlaFAQs.org! Cheers!





Category

Tags for this item

Add comment


Security code
Refresh

JoomlaFAQs Categories