product image pop up remove and image pixelated

  • Posts: 1
  • Thank you received: 0
10 years 5 months ago #183137

-- 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: 10 years 5 months ago by Jerome. Reason: formating

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

  • Posts: 26251
  • Thank you received: 4040
  • MODERATOR
10 years 5 months ago #183169

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.

echo $this->popup->image($html, $img->origin_url, null, $attr);
and replace it by
echo $html;

You can do the same for the thumbnails.
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
echo $html;

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.048 seconds
Powered by Kunena Forum
loading