Добрый день.
В модуле есть функционал автоматического добавления изображений опций к товару.
Что бы его отключить, найдите в модуле этот код:
if (!empty($option_value['image']) && is_file(DIR_IMAGE . $option_value['image'])) {
$owq_has_image = true;
$image_index = 0;
$opt_thumb = $this->model_tool_image->resize($option_value['image'], $this->config->get($this->config->get('config_theme') . '_image_additional_width') ? $this->config->get($this->config->get('config_theme') . '_image_additional_width') : $this->config->get('config_image_additional_width'), $this->config->get($this->config->get('config_theme') . '_image_additional_width') ? $this->config->get($this->config->get('config_theme') . '_image_additional_width') : $this->config->get('config_image_additional_height'));
$opt_popup = $this->model_tool_image->resize($option_value['image'], $this->config->get($this->config->get('config_theme') . '_image_popup_width') ? $this->config->get($this->config->get('config_theme') . '_image_popup_width') : $this->config->get('config_image_popup_width'), $this->config->get($this->config->get('config_theme') . '_image_popup_height') ? $this->config->get($this->config->get('config_theme') . '_image_popup_height') : $this->config->get('config_image_popup_height'));
foreach ($data['images'] as $key => $add_image_data) {
if ($opt_thumb == $add_image_data['thumb']) {
$image_index = $key + 1;
break;
}
}
if ($image_index == 0) {
$data['images'][] /**/ = array(
'thumb' => $opt_thumb,
'thumb1' => $this->model_tool_image->resize($option_value['image'], $this->config->get($this->config->get('config_theme') . '_image_thumb_width') ? $this->config->get($this->config->get('config_theme') . '_image_thumb_width') : $this->config->get('config_image_thumb_width'), $this->config->get($this->config->get('config_theme') . '_image_thumb_width') ? $this->config->get($this->config->get('config_theme') . '_image_thumb_width') : $this->config->get('config_image_thumb_height')),
'popup' => $opt_popup,
'fix' => $this->model_tool_image->resize($option_value['image'], $this->config->get($this->config->get('config_theme') . '_image_thumb_width') ? $this->config->get($this->config->get('config_theme') . '_image_thumb_width') : $this->config->get('config_image_thumb_width'), $this->config->get($this->config->get('config_theme') . '_image_thumb_width') ? $this->config->get($this->config->get('config_theme') . '_image_thumb_width') : $this->config->get('config_image_thumb_height')),
);
$image_index = count($data['images']);
}
}
И замените его на этот:
if (!empty($option_value['image']) && is_file(DIR_IMAGE . $option_value['image'])) {
$owq_has_image = true;
}
Подумаю насчёт добавления настройки к опции. По отключению данного функционала.