Hello,
A solution can be to create an override view on your "show_block_img" in Components => HikaShop => Configuration, in Display dropdown select Views.
Then, use the three filters dropdown with : Product, your frontend template, and frontend.
Find the show_block_img view and click on it to edit it.
Around line 60, change this :
...
if (!empty ($this->element->images) && count($this->element->images) > 1) {
$attr .= ' onclick="return window.localPage.openImage(\'hikashop_main_image'.$variant_name.'\', \''.$variant_name.'\', event);"';
}
$html = '<img id="hikashop_main_image'.$variant_name.'" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle" title="'.$this->escape(@$image->file_description).'" alt="'.$this->escape(@$image->file_name).'" src="'.$img->url.'"/>';
if(!empty($this->element->badges))
...
For this :
...
if (!empty ($this->element->images) && count($this->element->images) > 1) {
$attr .= ' onclick="return window.localPage.openImage(\'hikashop_main_image'.$variant_name.'\', \''.$variant_name.'\', event);"';
}
$html = '<img id="hikashop_main_image'.$variant_name.'" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle" title="'.$this->escape(@$image->file_description).'" alt="ACU" src="'.$img->url.'"/>';
if(!empty($this->element->badges))
...
Hope this will fit your needs.
Regards