edit the product.tpl file

ThemeBurn SupportForumsOpenCart ThemesKiddos OpenCart Themeedit the product.tpl file

This topic has been marked as resolved.

Dear Colleagues, good day

Tell us how you can edit the product.tpl file located in /catalog/view/theme/BurnEngine/template/product
It does not respond to the changes, we need to put the following code in the description:

We need that the product description be generated based on our text, price and product name. Help with this problem.

April 13, 2018 at 11:58 am #63948

Hi,

Why edit the template file? You can use Page Builder and add this text from the theme admin panel:

https://i.imgur.com/vLW8UQa.png
https://i.imgur.com/dccUT8G.png

BR,
ThemeBurn team

April 17, 2018 at 5:44 pm #63983

Sorry, some information from my previous message was missed. We need some automatically generated text for description in all products:
“Вы собираетесь купить в Киеве, в нашем интернет магазине ТМ Татошка.
Здесь на сайте, можно купить по низкой цене, причем есть возможность купить в Киеве
с доставкой по Украине или же прямо здесь купить в Киеве. В розницу купить
можно прямо сейчас. Наша цена за в Киеве

уже всего .


We need that the product description be generated based on our text, price and product name. Help with this problem.

I have added picture with code, as when I submit post it replace code ))

 
Вы собираетесь <strong>купить <?php echo $heading_title; ?> в Киеве</strong>, в нашем <a href="/">интернет магазине ТМ Татошка</a>. 
Здесь на сайте, можно купить <?php echo $heading_title; ?> по низкой цене, причем есть возможность купить <?php echo $heading_title; ?> в Киеве 
с доставкой по Украине или же прямо здесь купить <?php echo $heading_title; ?> в Киеве. В розницу <strong>купить <?php echo $heading_title; ?></strong> 
можно прямо сейчас. Наша цена за <b><?php echo $heading_title; ?> в Киеве</b> - 
        <?php if (!$special) { ?>
        <?php echo $price; ?>
        <?php } else { ?>
        уже всего <span class="price-new"><?php echo $special; ?></span>.
        <?php } ?>

  • This reply was modified 121 days ago by  Slivkiss.
  • This reply was modified 121 days ago by  Slivkiss.
April 17, 2018 at 5:55 pm #63984

Hi,

You need to make sure when you edit the description that all the new code will be between these two lines:

<?php $tbData->slotStart('product/product.product_description', array('data' => $data)); ?>

<?php $tbData->slotStop(); ?>

The easiest way is to replace

<?php echo $description; ?>

without touching anything else.

P.S. Do not forget to clear theme cache after the modification.

BR,
ThemeBurn team

April 24, 2018 at 10:23 pm #64071

We tried to do described actions. But nothing was changed.
Could you please do it?
Please find credentials to ftp
This is test environment (not production).

Thank you in advance for prompt answer

April 27, 2018 at 12:23 am #64096

Dear support team, any update on my question? 17 days have passed… could you please help.
Thank you in advance

May 14, 2018 at 11:46 am #64238

Hi,

Sorry but we’ve somehow missed your topic.

Unfortunately, we were not able to log into your server. However the mod we’ve proposed is working locally. Please, have a look at these screenshots:

https://i.imgur.com/6nYlvjy.png
https://i.imgur.com/4AcKBIS.png

BR,
ThemeBurn team

May 18, 2018 at 11:26 am #64273

HI dear colleagues.

We have prepared all like you show on screenshots.
Have cleared cache, but auto generated text is not appeared.

Could you please have a look what we did and help?
The details of access is here:

Thank you very much in advance.

May 24, 2018 at 9:38 pm #64321

Hi,

The modification is now live. It seems you had some modification of the product template and you haven’t re-build your cache:

https://i.imgur.com/IlKrX02.png

BR,
ThemeBurn team

May 25, 2018 at 3:29 pm #64363

thank you. It works good

August 3, 2018 at 3:26 pm #65038

Glad we’ve helped!

BR,
ThemeBurn team

August 6, 2018 at 12:29 pm #65058
Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.