Подскажите. Вы писали в другой теме. им ггде как раз выищить нужно фото что после вот этого кода
foreach ($results as $result) {
$data['images'][] = array(
'popup' => $this->model_tool_image->resize($result['image'], $this->config->get($this->config->get('config_theme') . '_image_popup_width'), $this->config->get($this->config->get('config_theme') . '_image_popup_height')),
'thumb' => $this->model_tool_image->resize($result['image'], $this->config->get($this->config->get('config_theme') . '_image_additional_width'), $this->config->get($this->config->get('config_theme') . '_image_additional_height'))
);
}
добавить вот икой код
{{ last_image.thumb }}
Я точно ик же сгделал. Но что то не выходит. добавил по пути catalog/controller/product/product.php строка уже не 287 а в 2.3 oStore 311 строка
Дное вывожу как вы выше написали в html код <?php echo $last_image['popup'] ?>
Но выдает вот икую ошибку
Notice: Undefined variable: last_image in /home/ilua2019/myshoop.com.ua/barocco/system/storage/modification/catalog/view/theme/storeset/template/product/product.tpl on line 1728