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

#   Show multiple badges in top right corner – Determined

##

- **[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")**
- [![neo191987's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35364.jpg)](/forum/user/35364-neo191987 "View neo191987's Profile") Topic Author
- [ Offline](/forum/user/35364-neo191987)

Less More

- Posts: 431
- Thank you received: 19
-
-

9 years 6 months ago -  9 years 6 months ago [\#267952](#267952) by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")  *[Show multiple badges in top right corner – Determined](/forum/2-general-talk-about-hikashop/889923-show-multiple-badges-in-top-right-corner---determined#267952 "-- HikaShop version -- : 3.0.1  Hi I want to add several badges in the top right corner but only one is displayed. Can some badges appear in this area?  I found out how to make new positions. It will not be bad to make several positions in a corner.")* was created by *[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")*

-- HikaShop version -- : 3.0.1

Hi I want to add several badges in the top right corner but only one is displayed. Can some badges appear in this area?

I found out how to make new positions. It will not be bad to make several positions in a corner.

Last edit: 9 years 6 months ago by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 6 months ago [\#267987](#267987) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Show multiple badges in top right corner – Determined](/forum/2-general-talk-about-hikashop/889923-show-multiple-badges-in-top-right-corner---determined#267987 "-- HikaShop version -- : 3.0.1  Hi I want to add several badges in the top right corner but only one is displayed. Can some badges appear in this area?  I found out how to make new positions. It will not be bad to make several positions in a corner.")*

Hello,

If you place several badges in the same place, you could have some "overlap" issues, one badge can be hover another and you might not see it.
But there is nothing in the badge system which would block you to have several badges for the same position.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 38
- Thank you received: 1
-
-

9 years 1 month ago [\#278400](#278400) by [n3t](/forum/user/47021-n3t "View n3t's Profile")  Replied by *[n3t](/forum/user/47021-n3t "View n3t's Profile")* on topic *[Show multiple badges in top right corner – Determined](/forum/2-general-talk-about-hikashop/889923-show-multiple-badges-in-top-right-corner---determined#278400 "-- HikaShop version -- : 3.0.1  Hi I want to add several badges in the top right corner but only one is displayed. Can some badges appear in this area?  I found out how to make new positions. It will not be bad to make several positions in a corner.")*

Hi,

I found same issue, and it is not only visibiity issue.

I have two categories (New and Action for example) and two assigned badges. If I assign product to one of these categories,
one badge is displayed correctly, if to both again only one badge is displayed. If changed position of one badge, both are displayed.

Try this on demo, just assign any of products to New products and Discount 10%.

Is there solution for this?

thanks

Pavel

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

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

Less More

- Posts: 38
- Thank you received: 1
-
-

9 years 1 month ago [\#278401](#278401) by [n3t](/forum/user/47021-n3t "View n3t's Profile")  Replied by *[n3t](/forum/user/47021-n3t "View n3t's Profile")* on topic *[Show multiple badges in top right corner – Determined](/forum/2-general-talk-about-hikashop/889923-show-multiple-badges-in-top-right-corner---determined#278401 "-- HikaShop version -- : 3.0.1  Hi I want to add several badges in the top right corner but only one is displayed. Can some badges appear in this area?  I found out how to make new positions. It will not be bad to make several positions in a corner.")*

Hi again,

seems the problem is in hikashopBadgeClass::placeBadges - for each position only one badge (with lowest ordering) is diaplyed.

Pavel

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

- **[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")**
- [![neo191987's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35364.jpg)](/forum/user/35364-neo191987 "View neo191987's Profile") Topic Author
- [ Offline](/forum/user/35364-neo191987)

Less More

- Posts: 431
- Thank you received: 19
-
-

9 years 1 month ago -  9 years 1 month ago [\#278402](#278402) by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")  Replied by *[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")* on topic *[Show multiple badges in top right corner – Determined](/forum/2-general-talk-about-hikashop/889923-show-multiple-badges-in-top-right-corner---determined#278402 "-- HikaShop version -- : 3.0.1  Hi I want to add several badges in the top right corner but only one is displayed. Can some badges appear in this area?  I found out how to make new positions. It will not be bad to make several positions in a corner.")*

Through modification can add many items. Let's ask developers to add more positions so they do not need to permanently modify this file after every update.

administrator/components/com_hikashop/classes/badge.php

replace line 217 - 232
Code:

if($position == 'topleft' &amp;&amp; ($position1 == 0 &#124;&#124; $badge-&gt;badge_ordering &lt; $position1)) { $html .= '&lt;div class="hikashop_badge_topleft_div" style="' . $styletopleft . '"&gt;' . $imageDisplayed . '&lt;/div&gt;'; $position1 = $badge-&gt;badge_ordering; } elseif($position == 'topleft' &amp;&amp; ($position2 == 0 &#124;&#124; $badge-&gt;badge_ordering &lt; $position2)) { $html .= '&lt;div class="hikashop_badge_topleft_div" style="' . $styletopleft . '"&gt;' . $imageDisplayed . '&lt;/div&gt;'; $position1 = $badge-&gt;badge_ordering; } elseif($position == 'topleft' &amp;&amp; ($position3 == 0 &#124;&#124; $badge-&gt;badge_ordering &lt; $position3)) { $html .= '&lt;div class="hikashop_badge_topleft_div" style="' . $styletopleft . '"&gt;' . $imageDisplayed . '&lt;/div&gt;'; $position1 = $badge-&gt;badge_ordering; } elseif($position == 'topleft' &amp;&amp; ($position4 == 0 &#124;&#124; $badge-&gt;badge_ordering &lt; $position4)) { $html .= '&lt;div class="hikashop_badge_topleft_div" style="' . $styletopleft . '"&gt;' . $imageDisplayed . '&lt;/div&gt;'; $position1 = $badge-&gt;badge_ordering; } elseif($position == 'topleft' &amp;&amp; ($position5 == 0 &#124;&#124; $badge-&gt;badge_ordering &lt; $position5)) { $html .= '&lt;div class="hikashop_badge_topleft_div" style="' . $styletopleft . '"&gt;' . $imageDisplayed . '&lt;/div&gt;'; $position1 = $badge-&gt;badge_ordering; } elseif($position == 'topright' &amp;&amp; ($position6 == 0 &#124;&#124; $badge-&gt;badge_ordering &lt; $position6)) { $html .= '&lt;div class="hikashop_badge_topright_div" style="' . $styletopright . '"&gt;' . $imageDisplayed . '&lt;/div&gt;'; $position2 = $badge-&gt;badge_ordering; } elseif($position == 'topright' &amp;&amp; ($position7 == 0 &#124;&#124; $badge-&gt;badge_ordering &lt; $position7)) { $html .= '&lt;div class="hikashop_badge_topright_div" style="' . $styletopright . '"&gt;' . $imageDisplayed . '&lt;/div&gt;'; $position2 = $badge-&gt;badge_ordering; } elseif($position == 'topright' &amp;&amp; ($position8 == 0 &#124;&#124; $badge-&gt;badge_ordering &lt; $position8)) { $html .= '&lt;div class="hikashop_badge_topright_div" style="' . $styletopright . '"&gt;' . $imageDisplayed . '&lt;/div&gt;'; $position2 = $badge-&gt;badge_ordering; } elseif($position == 'topright' &amp;&amp; ($position9 == 0 &#124;&#124; $badge-&gt;badge_ordering &lt; $position9)) { $html .= '&lt;div class="hikashop_badge_topright_div" style="' . $styletopright . '"&gt;' . $imageDisplayed . '&lt;/div&gt;'; $position2 = $badge-&gt;badge_ordering; } elseif($position == 'topright' &amp;&amp; ($position10 == 0 &#124;&#124; $badge-&gt;badge_ordering &lt; $position10)) { $html .= '&lt;div class="hikashop_badge_topright_div" style="' . $styletopright . '"&gt;' . $imageDisplayed . '&lt;/div&gt;'; $position2 = $badge-&gt;badge_ordering; } elseif($position == 'bottomright' &amp;&amp; ($position11 == 0 &#124;&#124; $badge-&gt;badge_ordering &lt; $position11)) { $html .= '&lt;div class="hikashop_badge_bottomright_div" style="' . $stylebottomright . '"&gt;' . $imageDisplayed . '&lt;/div&gt;'; $position3 = $badge-&gt;badge_ordering; } elseif($position == 'bottomright' &amp;&amp; ($position12 == 0 &#124;&#124; $badge-&gt;badge_ordering &lt; $position12)) { $html .= '&lt;div class="hikashop_badge_bottomright_div" style="' . $stylebottomright . '"&gt;' . $imageDisplayed . '&lt;/div&gt;'; $position3 = $badge-&gt;badge_ordering; } elseif($position == 'bottomright' &amp;&amp; ($position13 == 0 &#124;&#124; $badge-&gt;badge_ordering &lt; $position13)) { $html .= '&lt;div class="hikashop_badge_bottomright_div" style="' . $stylebottomright . '"&gt;' . $imageDisplayed . '&lt;/div&gt;'; $position3 = $badge-&gt;badge_ordering; } elseif($position == 'bottomright' &amp;&amp; ($position14 == 0 &#124;&#124; $badge-&gt;badge_ordering &lt; $position14)) { $html .= '&lt;div class="hikashop_badge_bottomright_div" style="' . $stylebottomright . '"&gt;' . $imageDisplayed . '&lt;/div&gt;'; $position3 = $badge-&gt;badge_ordering; } elseif($position == 'bottomright' &amp;&amp; ($position15 == 0 &#124;&#124; $badge-&gt;badge_ordering &lt; $position15)) { $html .= '&lt;div class="hikashop_badge_bottomright_div" style="' . $stylebottomright . '"&gt;' . $imageDisplayed . '&lt;/div&gt;'; $position3 = $badge-&gt;badge_ordering; } elseif($position == 'bottomleft' &amp;&amp; ($position16 == 0 &#124;&#124; $badge-&gt;badge_ordering &lt; $position16)) { $html .= '&lt;div class="hikashop_badge_bottomleft_div" style="' . $stylebottomleft . '"&gt;' . $imageDisplayed . '&lt;/div&gt;'; $position4 = $badge-&gt;badge_ordering; } elseif($position == 'bottomleft' &amp;&amp; ($position17 == 0 &#124;&#124; $badge-&gt;badge_ordering &lt; $position17)) { $html .= '&lt;div class="hikashop_badge_bottomleft_div" style="' . $stylebottomleft . '"&gt;' . $imageDisplayed . '&lt;/div&gt;'; $position4 = $badge-&gt;badge_ordering; } elseif($position == 'bottomleft' &amp;&amp; ($position18 == 0 &#124;&#124; $badge-&gt;badge_ordering &lt; $position18)) { $html .= '&lt;div class="hikashop_badge_bottomleft_div" style="' . $stylebottomleft . '"&gt;' . $imageDisplayed . '&lt;/div&gt;'; $position4 = $badge-&gt;badge_ordering; } elseif($position == 'bottomleft' &amp;&amp; ($position19 == 0 &#124;&#124; $badge-&gt;badge_ordering &lt; $position19)) { $html .= '&lt;div class="hikashop_badge_bottomleft_div" style="' . $stylebottomleft . '"&gt;' . $imageDisplayed . '&lt;/div&gt;'; $position4 = $badge-&gt;badge_ordering; } elseif($position == 'bottomleft' &amp;&amp; ($position20 == 0 &#124;&#124; $badge-&gt;badge_ordering &lt; $position20)) { $html .= '&lt;div class="hikashop_badge_bottomleft_div" style="' . $stylebottomleft . '"&gt;' . $imageDisplayed . '&lt;/div&gt;'; $position4 = $badge-&gt;badge_ordering; }

Last edit: 9 years 1 month ago by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile").

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

- **[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")**
- [![neo191987's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35364.jpg)](/forum/user/35364-neo191987 "View neo191987's Profile") Topic Author
- [ Offline](/forum/user/35364-neo191987)

Less More

- Posts: 431
- Thank you received: 19
-
-

9 years 1 month ago [\#278403](#278403) by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")  Replied by *[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")* on topic *[Show multiple badges in top right corner – Determined](/forum/2-general-talk-about-hikashop/889923-show-multiple-badges-in-top-right-corner---determined#278403 "-- HikaShop version -- : 3.0.1  Hi I want to add several badges in the top right corner but only one is displayed. Can some badges appear in this area?  I found out how to make new positions. It will not be bad to make several positions in a corner.")*

That must be the result
[ ![ScreenShot09-14-17at03.23AM.PNG](/forum/attachment/40331) ](/forum/attachment/40331 "...7at03.23AM.PNG")

- [ ![ScreenShot09-14-17at03.23AM.PNG](/forum/attachment/40331) ](/forum/attachment/40331 "...7at03.23AM.PNG") [ ](/forum/attachment/40331?download=1 "...7at03.23AM.PNG")

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

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

Less More

- Posts: 38
- Thank you received: 1
-
-

9 years 1 month ago [\#278405](#278405) by [n3t](/forum/user/47021-n3t "View n3t's Profile")  Replied by *[n3t](/forum/user/47021-n3t "View n3t's Profile")* on topic *[Show multiple badges in top right corner – Determined](/forum/2-general-talk-about-hikashop/889923-show-multiple-badges-in-top-right-corner---determined#278405 "-- HikaShop version -- : 3.0.1  Hi I want to add several badges in the top right corner but only one is displayed. Can some badges appear in this area?  I found out how to make new positions. It will not be bad to make several positions in a corner.")*

imho multiple badges in position should be better, even with all the settings provided by Hikashop, very tricky.

Simpler solution is to override views (product/show_block_img.php and product/listing_img_title.php) and use own placeBadges.
As I do not need to care abut offset settings, I simplified the function a lot and used custom CSS.

Pavel

The following user(s) said Thank You: [Jerome](/forum/user/80-jerome "View Jerome's Profile")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 1 month ago [\#278440](#278440) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Show multiple badges in top right corner – Determined](/forum/2-general-talk-about-hikashop/889923-show-multiple-badges-in-top-right-corner---determined#278440 "-- HikaShop version -- : 3.0.1  Hi I want to add several badges in the top right corner but only one is displayed. Can some badges appear in this area?  I found out how to make new positions. It will not be bad to make several positions in a corner.")*

Hello,

I agree with n3t ; and regarding your needs, it might want to use a product custom field to store the data of the "badges" instead of using the badge system.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

- **[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")**
- [![neo191987's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35364.jpg)](/forum/user/35364-neo191987 "View neo191987's Profile") Topic Author
- [ Offline](/forum/user/35364-neo191987)

Less More

- Posts: 431
- Thank you received: 19
-
-

9 years 1 month ago -  9 years 1 month ago [\#278468](#278468) by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")  Replied by *[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")* on topic *[Show multiple badges in top right corner – Determined](/forum/2-general-talk-about-hikashop/889923-show-multiple-badges-in-top-right-corner---determined#278468 "-- HikaShop version -- : 3.0.1  Hi I want to add several badges in the top right corner but only one is displayed. Can some badges appear in this area?  I found out how to make new positions. It will not be bad to make several positions in a corner.")*

> Jerome wrote: Hello,
>
> I agree with n3t ; and regarding your needs, it might want to use a product custom field to store the data of the "badges" instead of using the badge system.
>
> Regards,

Hi, can you explain in detail how it works. It's really annoying to change this file every time.

Last edit: 9 years 1 month ago by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile").

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

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

Less More

- Posts: 38
- Thank you received: 1
-
-

9 years 1 month ago [\#278471](#278471) by [n3t](/forum/user/47021-n3t "View n3t's Profile")  Replied by *[n3t](/forum/user/47021-n3t "View n3t's Profile")* on topic *[Show multiple badges in top right corner – Determined](/forum/2-general-talk-about-hikashop/889923-show-multiple-badges-in-top-right-corner---determined#278471 "-- HikaShop version -- : 3.0.1  Hi I want to add several badges in the top right corner but only one is displayed. Can some badges appear in this area?  I found out how to make new positions. It will not be bad to make several positions in a corner.")*

There are few ways, how to achieve this, I solve it like this:

1/ in your template create folder helpers
2/ Put in this folder file named hikashop.php and enter this content Code:

&lt;?php defined('_JEXEC') or die; class myHikaShop { public static function placeBadges(&amp;$image, &amp;$badges, $vertical, $horizontal, $echo = true) { // your custom code } }

3/ Go to HikaShop administration, menu Display - Views and search for show_block_img
4/ Click on show_block_img in column fFile in row with your template.
5/ Search for this code Code:

if(!empty($this-&gt;element-&gt;badges)) $html .= $this-&gt;classbadge-&gt;placeBadges($this-&gt;image, $this-&gt;element-&gt;badges, '0', '0',false);

and replace it with this code Code:

if(!empty($this-&gt;element-&gt;badges)) { JHtml::addIncludePath( JPATH_BASE.'/templates/'.JFactory::getApplication()-&gt;getTemplate(false).'/helpers'); $html .= JHtml::_('my.hikashop.placebadges', $this-&gt;image, $this-&gt;element-&gt;badges, '0', '0',false); }

6/ save and close - you just made your template override, you can find your modified file in your template in html/com_hikashop/product folder.
7/ do the same for listing_img_title or any other file you need.

Pavel

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

- **[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")**
- [![neo191987's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35364.jpg)](/forum/user/35364-neo191987 "View neo191987's Profile") Topic Author
- [ Offline](/forum/user/35364-neo191987)

Less More

- Posts: 431
- Thank you received: 19
-
-

9 years 1 month ago [\#278477](#278477) by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")  Replied by *[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")* on topic *[Show multiple badges in top right corner – Determined](/forum/2-general-talk-about-hikashop/889923-show-multiple-badges-in-top-right-corner---determined#278477 "-- HikaShop version -- : 3.0.1  Hi I want to add several badges in the top right corner but only one is displayed. Can some badges appear in this area?  I found out how to make new positions. It will not be bad to make several positions in a corner.")*

I prefer to use the above method I mentioned. After adding this code, there is no need to do anything else.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4OTkyMy1zaG93LW11bHRpcGxlLWJhZGdlcy1pbi10b3AtcmlnaHQtY29ybmVyLS0tZGV0ZXJtaW5lZD90bXBsPW1hcmtkb3du) 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?

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

Time to create page: 0.434 seconds

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

[](#top)
