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

#   Brand without current item

##

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

Less More

- Posts: 35
- Thank you received: 2
-
-

13 years 11 months ago -  13 years 11 months ago [\#80996](#80996) by [dynamicvitality](/forum/user/8140-dynamicvitality "View dynamicvitality's Profile")  *[Brand without current item](/forum/4-how-to/76549-brand-without-current-item#80996 "I have a content module that is displaying items from the &quot;same brand&quot; However, the current product is displayed in there as well, which is weird. I cannot figure out how to get the module to show...")* was created by *[dynamicvitality](/forum/user/8140-dynamicvitality "View dynamicvitality's Profile")*

I have a content module that is displaying items from the "same brand" However, the current product is displayed in there as well, which is weird. I cannot figure out how to get the module to show "items from the same brand, excluding the current item"

Last edit: 13 years 11 months ago by [dynamicvitality](/forum/user/8140-dynamicvitality "View dynamicvitality's Profile").

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86578
- Thank you received: 14321
-
-

13 years 11 months ago [\#81118](#81118) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Brand without current item](/forum/4-how-to/76549-brand-without-current-item#81118 "I have a content module that is displaying items from the &quot;same brand&quot; However, the current product is displayed in there as well, which is weird. I cannot figure out how to get the module to show...")*

There is no option to exclude the product itself from the listing.

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86578
- Thank you received: 14321
-
-

13 years 11 months ago [\#81120](#81120) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Brand without current item](/forum/4-how-to/76549-brand-without-current-item#81120 "I have a content module that is displaying items from the &quot;same brand&quot; However, the current product is displayed in there as well, which is weird. I cannot figure out how to get the module to show...")*

Actually, you can try to add the code:
$filters[]='b.product_id!='.$product_id;
$filters[]='b.product_parent_id!='.$product_id;

after the line:
$query = "SELECT product_manufacturer_id FROM ".hikashop_table('product').' WHERE product_id='.$product_id.' OR product_parent_id='.$product_id;

in the file components/com_hikashop/views/product/view.html.php

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

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

Less More

- Posts: 35
- Thank you received: 2
-
-

13 years 11 months ago [\#81137](#81137) by [dynamicvitality](/forum/user/8140-dynamicvitality "View dynamicvitality's Profile")  Replied by *[dynamicvitality](/forum/user/8140-dynamicvitality "View dynamicvitality's Profile")* on topic *[Brand without current item](/forum/4-how-to/76549-brand-without-current-item#81137 "I have a content module that is displaying items from the &quot;same brand&quot; However, the current product is displayed in there as well, which is weird. I cannot figure out how to get the module to show...")*

I really appreciate Hikashops excellent customer service. Thank you for all your help!

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

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