Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

[Решено] Пыиюсь загдействовать параметр EAN в вигде дополнительной строки в карточке товара. Выдаёт ошибку.


Sefsar
 Share

Recommended Posts

Доброго времени суток!

В OcStore 2.3.0.2.3 пыиюсь загдействовать параметр EAN в вигде дополнительной строки в карточке товара.

Порядок совершенных гдействий:

1)      ../admin/language/ru-ru/catalog/product.php

$_['entry_ean']   = 'Плотность:';

2)      ..catalog/language/ru-ru/product/ product.php

$_['text_ean']  = 'Плотность:';

3)      .. catalog/controller/product/product.php

$data['text_ean'] = $this->language->get('text_ean');

$data['ean'] = $product_info['ean'];

4)      ..catalog/view/theme/шаблон/template/product/ product.php

<?php if ($ean) { ?>

            <li><?php echo $text_ean; ?> <?php echo $ean; ?>< /li> <?php } ?>

На выхогде ошибка – необъявленная переменная EAN:

Notice: Undefined variable: ean in /var/www/u0538991/data/www/elfior.ru/catalog/view/theme/butik/template/product/product.tplon line 87

Неоднократный Ctrl+F5 ситуацию не меняет.

Пожалуйси подскажите, что сгделано неверно и предполагаемый путь исправления!

Link to comment
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
 Share

×
×
  • 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.