[Skip to main content](#vessel-content)

#   Метки, тэги товаров

##

- **[stepashin](/forum/user/58145-stepashin "View stepashin's Profile")**
- [![stepashin's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/58145-stepashin "View stepashin's Profile") Topic Author
- [ Offline](/forum/user/58145-stepashin)

Less More

- Posts: 12
- Thank you received: 1
-
-

7 years 8 months ago [\#304397](#304397) by [stepashin](/forum/user/58145-stepashin "View stepashin's Profile")  *[Метки, тэги товаров](/forum/12-faq----hikashop----/897034-metki-tegi-tovarov#304397 "Пытаюсь реализовать теги-метки, и вот собственно вопрос. Отображаются они у меня в описании причем...")* was created by *[stepashin](/forum/user/58145-stepashin "View stepashin's Profile")*

Пытаюсь реализовать теги-метки, и вот собственно вопрос. Отображаются они у меня в описании причем накладываются друг на друга. Каким образом их можно неренести в другое место?

- [ ![ScreenShot00005.png](/forum/attachment/46280) ](/forum/attachment/46280 "...nShot00005.png") [ ](/forum/attachment/46280?download=1 "...nShot00005.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzEyLWZhcS0tLS1oaWthc2hvcC0tLS0vODk3MDM0LW1ldGtpLXRlZ2ktdG92YXJvdj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[stepashin](/forum/user/58145-stepashin "View stepashin's Profile")**
- [![stepashin's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/58145-stepashin "View stepashin's Profile") Topic Author
- [ Offline](/forum/user/58145-stepashin)

Less More

- Posts: 12
- Thank you received: 1
-
-

7 years 8 months ago [\#304399](#304399) by [stepashin](/forum/user/58145-stepashin "View stepashin's Profile")  Replied by *[stepashin](/forum/user/58145-stepashin "View stepashin's Profile")* on topic *[Метки, тэги товаров](/forum/12-faq----hikashop----/897034-metki-tegi-tovarov#304399 "Пытаюсь реализовать теги-метки, и вот собственно вопрос. Отображаются они у меня в описании причем...")*

> stepashin wrote: Пытаюсь реализовать теги-метки, и вот собственно вопрос. Отображаются они у меня в описании причем накладываются друг на друга. Каким образом их можно неренести в другое место?

И так, может кому пригодится:
Из файла show_block_tags.php
Вырезал кусок кода: &lt;div id="hikashop_product_tags_main" class="hikashop_product_tags"&gt;&lt;?php
if(!empty($this-&gt;element-&gt;main)){
$main_prod =&amp; $this-&gt;element-&gt;main;
}else{
$main_prod =&amp; $this-&gt;element;
}
if(!empty($main_prod-&gt;product_id)) {
$main_prod-&gt;tags = new JHelperTags;
$main_prod-&gt;tags-&gt;getItemTags('com_hikashop.product', $main_prod-&gt;product_id);
if(!empty($main_prod-&gt;tags)) {
$main_prod-&gt;tagLayout = new JLayoutFile('joomla.content.tags');
echo $main_prod-&gt;tagLayout-&gt;render($main_prod-&gt;tags-&gt;itemTags);
}
}
?&gt;&lt;/div&gt;
Прописал его в файл show.php:
после строк: &lt;div class="hikashop_submodules" id="hikashop_submodules" style="clear:both"&gt;
&lt;?php
if(!empty ($this-&gt;modules) &amp;&amp; is_array($this-&gt;modules)) {
jimport('joomla.application.module.helper');
foreach($this-&gt;modules as $module) {
echo JModuleHelper::renderModule($module);
}
}
?&gt;
в итоге получился такой вот результат
[ ![ScreenShot00006.png](/forum/attachment/46281) ](/forum/attachment/46281 "...nShot00006.png")

- [ ![ScreenShot00006.png](/forum/attachment/46281) ](/forum/attachment/46281 "...nShot00006.png") [ ](/forum/attachment/46281?download=1 "...nShot00006.png")

The following user(s) said Thank You: [XxaMRuS](/forum/user/52863-xxamrus "View XxaMRuS's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzEyLWZhcS0tLS1oaWthc2hvcC0tLS0vODk3MDM0LW1ldGtpLXRlZ2ktdG92YXJvdj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [progreccor](/forum/user/4816-progreccor "View progreccor's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.052 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
