How to remove “View Full-Size Image” text link in Virtuemart product description?

15 Aug ’11

in Coding,Joomla

One way to remove the text “View Full-Size Image” from beneath your product thumbnail on your flypage, make a copy of, then edit this file:

components/com_virtuemart/themes/your_theme/theme.php

Find the function vmBuildFullImageLink and within that find this line:

Code: [Select]
$text = ps_product::image_tag($product['product_thumb_image'], $img_attributes, 0)."<br/>".$VM_LANG->_('PHPSHOP_FLYPAGE_ENLARGE_IMAGE');

Change it so it looks like this:

Code: [Select]
$text = ps_product::image_tag($product['product_thumb_image'], $img_attributes, 0);

Save and test.

Another method would be to clear out the ‘PHPSHOP_FLYPAGE_ENLARGE_IMAGE’ text in your langauge file.

{ 3 comments… read them below or add one }

Julian Ricci August 31, 2011 at 8:50 am

Thank you for providing quick and concise instructions for a resolution to this issue.

Cheers
J. Ricci

Reply

Julian Ricci August 31, 2011 at 8:59 am

Do you have instructions for increasing media file upload size and increase time out for uploads for VM 1.9.9? Thanks

J. Ricci

Reply

Enrique January 5, 2012 at 9:03 pm

Great. Worked fine… was looking for this hack

Reply

Leave a Comment

*

Previous post:

Next post: