Skip to main content

product image pop up remove and image pixelated

More
11 years 9 months ago - 11 years 9 months ago #183137 by jeulo
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.29
-- Browser(s) name and version -- : chrome

hello

our client wants to remove the pop up image when click to device and browser in viewing image..
also the image when uploaded its pixelated, can anyone help me please its very urgent...

Thanks,,

:P
Last edit: 11 years 9 months ago by Jerome. Reason: formating

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #183169 by Jerome
Hi,

1/ To do so you have to override the product page view in order to remove the code which display the popup.

If you do not know how to perform a view override, we have a documentation page which talk about it :
www.hikashop.com/support/support/documen...ize-the-display.html

To remove the image popup, you have to override the view "show_block_img" and remove the code which create the popup.
Code:
echo $this->popup->image($html, $img->origin_url, null, $attr);
and replace it by
Code:
echo $html;

You can do the same for the thumbnails.
Code:
if(empty($variant_name)) { echo $this->popup->image($html, $img->origin_url, $id, $attr, array('gallery' => 'hikashop_main_image')); } else { echo $this->popup->image($html, $img->origin_url, $id, $attr, array('gallery' => 'hikashop_main_image_VARIANT_NAME')); }
into
Code:
echo $html;

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

Time to create page: 0.184 seconds
Powered by Kunena Forum