Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Sign Up

Помогите пожалуйста исправить ошибку


Recommended Posts

Недавно установил модуль Product Image Zoom Panel Opencart Module – Code, увеличение товара работает:

ae271b8e8ec8.jpg

 

Но дополнительные изображение не отображаются, помогите пожалуйста исправить ошибку, думаю проблема в коде:



 <div class="image-additional">
		<a href="<?php echo $popup; ?>" title="<?php echo $heading_title; ?>" class = 'cloud-zoom-gallery' rel="useZoom: 'zoom1', smallImage: '<?php echo $thumb; ?>' "><img src="<?php echo $small; ?>" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>" /></a>
        <?php foreach ($images as $image) { ?>
			<a href="<?php echo $image['popup']; ?>" title="<?php echo $heading_title; ?>" class="cloud-zoom-gallery" rel="useZoom: 'zoom1', smallImage: '<?php echo $image['thumb']; ?>' "><img src="<?php echo $image['small']; ?>" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>" /></a>
        <?php } ?>

в файле template/product/product.tpl
Ссылки на изображение формируються не правельно <b>Notice</b>: Undefined variable: small in (исходный код при просмотре товара)



<a href="/image/cache/data/tovaru_26_05/2013-fam-700x700.jpg" title="Легкие летние сандали 38-42 размеров" class = 'cloud-zoom-gallery' rel="useZoom: 'zoom1', smallImage: 'http://домен/image/cache/data/tovaru_26_05/2013-fam-300x300.jpg' ">
<img src="<b>Notice</b>: Undefined variable: small in <b>/var/www/vhosts/домен/httpdocs/catalog/view/theme/default/template/product/product.tpl</b> on line <b>18</b>" title="Легкие летние сандали 38-42 размеров" alt="Легкие летние сандали 38-42 размеров" /></a>
Link to post
Share on other sites

Надо смотреть файл controller/product/product.php

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.