挨拶、
タイトルのとおり、この機能を無効にする方法を知っている人はいますか? 以下の 2 つの方法を試しましたが、どちらも機能しません。
検索の方法 1/catalog/controller/product/product.php
:
$this->data['popup'] = $this->model_tool_image->resize($image, $this->config->get('config_image_popup_width'), $this->config->get('config_image_popup_height'));
への変更:
$this->data['popup'] = 'image/' . $image;
同じファイルで次を見つけます:
'popup' => $this->model_tool_image->resize($result['image'] , $this->config->get('config_image_popup_width'), $this->config->get('config_image_popup_height')),
への変更:
'popup' => 'image/' . $result['image'] ,
検索の方法 2catalog/view/theme/default/template/product/product.tpl
:
<div class="image"><a href="<?php echo $popup; ?>" title="<?php echo $heading_title; ?>" class="colorbox" rel="colorbox"> <img src="<?php echo $thumb; ?>" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>" id="image" /></a></div>
への変更:
<div class="image"><a href="<?php echo $popup; ?>" title="<?php echo $heading_title; ?>" class="colorbox" rel="colorbox"></a><img src="<?php echo $thumb; ?>" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>" id="image" /> </div>