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

#   No control of products in product listing

##

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

Less More

- Posts: 9
- Thank you received: 0
-
-

11 years 6 months ago -  11 years 6 months ago [\#197239](#197239) by [stefanos64](/forum/user/36640-stefanos64 "View stefanos64's Profile")  *[No control of products in product listing](/forum/25-install-update/876155-no-control-of-products-in-product-listing#197239 "-- HikaShop version -- : Business 2.4.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : chrome  Hello I made a main root item menu for product listing . Everything is OK, but I lost the products from the Submenus that they are coming from category module (MEGA MENU) and also from categories content module... When I assosiate the main menu item with default hikashop product listing, the others menu are working but the root item bring 100 product from ALL the categories. PLS HELP  I can send the credentials if needed")* was created by *[stefanos64](/forum/user/36640-stefanos64 "View stefanos64's Profile")*

-- HikaShop version -- : Business 2.4.0
-- Joomla version -- : 3.4.0
-- PHP version -- : 5.3.29
-- Browser(s) name and version -- : chrome

Hello
I made a main root item menu for product listing . Everything is OK, but I lost the products from the Submenus that they are coming from category module (MEGA MENU) and also from categories content module...
When I assosiate the main menu item with default hikashop product listing, the others menu are working but the root item bring 100 product from ALL the categories. PLS HELP

I can send the credentials if needed

Last edit: 11 years 6 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: remove credentials

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3NjE1NS1uby1jb250cm9sLW9mLXByb2R1Y3RzLWluLXByb2R1Y3QtbGlzdGluZz90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 6 months ago [\#197270](#197270) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[No control of products in product listing](/forum/25-install-update/876155-no-control-of-products-in-product-listing#197270 "-- HikaShop version -- : Business 2.4.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : chrome  Hello I made a main root item menu for product listing . Everything is OK, but I lost the products from the Submenus that they are coming from category module (MEGA MENU) and also from categories content module... When I assosiate the main menu item with default hikashop product listing, the others menu are working but the root item bring 100 product from ALL the categories. PLS HELP  I can send the credentials if needed")*

Hi,

I'm not following you.
Could you provide links to the pages you're talking about and screenshots of the options of the menus/modules you're talking about ?

The following user(s) said Thank You: [stefanos64](/forum/user/36640-stefanos64 "View stefanos64's Profile")

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

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

Less More

- Posts: 9
- Thank you received: 0
-
-

11 years 6 months ago [\#197427](#197427) by [stefanos64](/forum/user/36640-stefanos64 "View stefanos64's Profile")  Replied by *[stefanos64](/forum/user/36640-stefanos64 "View stefanos64's Profile")* on topic *[No control of products in product listing](/forum/25-install-update/876155-no-control-of-products-in-product-listing#197427 "-- HikaShop version -- : Business 2.4.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : chrome  Hello I made a main root item menu for product listing . Everything is OK, but I lost the products from the Submenus that they are coming from category module (MEGA MENU) and also from categories content module... When I assosiate the main menu item with default hikashop product listing, the others menu are working but the root item bring 100 product from ALL the categories. PLS HELP  I can send the credentials if needed")*

Dear sir
Sorry for my poor english

I made the root menu item "ΠΑΡΤΥ" as a product listing to bring products from all the subcategories (img pro_1, pro_2) with hikashop options (pro_3), and it works perfect bringing products from all the subcategories.

But when you click on sub categories (IMAGES pro_4, pro_5) there no more products.
These are the hikashop options for the module "Προσκλητήρια Πάρτυ" (for the MEGA MENU) (IMAGE pro_6) that its not working any more. Before I made the main root item "ΠΑΡΤΥ" as product listing, it was working perfect.

These are the hikashop options for the module " categories Πάρτυ" (left position) that its not working any more (IMAGE pro_7)

To see the site please use the folder protection credentials : username : katerina#15 pass: 45f7ha9n

Thank you in advance

- [ ![pro&#95;1.jpg](/forum/attachment/23575) ](/forum/attachment/23575 "pro&#95;1.jpg") [ ](/forum/attachment/23575?download=1 "pro&#95;1.jpg")
- [ ![pro&#95;2.jpg](/forum/attachment/23576) ](/forum/attachment/23576 "pro&#95;2.jpg") [ ](/forum/attachment/23576?download=1 "pro&#95;2.jpg")
- [ ![pro&#95;3.jpg](/forum/attachment/23577) ](/forum/attachment/23577 "pro&#95;3.jpg") [ ](/forum/attachment/23577?download=1 "pro&#95;3.jpg")
- [ ![pro&#95;4.jpg](/forum/attachment/23578) ](/forum/attachment/23578 "pro&#95;4.jpg") [ ](/forum/attachment/23578?download=1 "pro&#95;4.jpg")
- [ ![pro&#95;5.jpg](/forum/attachment/23579) ](/forum/attachment/23579 "pro&#95;5.jpg") [ ](/forum/attachment/23579?download=1 "pro&#95;5.jpg")
- [ ![pro&#95;6.jpg](/forum/attachment/23580) ](/forum/attachment/23580 "pro&#95;6.jpg") [ ](/forum/attachment/23580?download=1 "pro&#95;6.jpg")
- [ ![pro&#95;7.jpg](/forum/attachment/23581) ](/forum/attachment/23581 "pro&#95;7.jpg") [ ](/forum/attachment/23581?download=1 "pro&#95;7.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3NjE1NS1uby1jb250cm9sLW9mLXByb2R1Y3RzLWluLXByb2R1Y3QtbGlzdGluZz90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 6 months ago [\#197468](#197468) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[No control of products in product listing](/forum/25-install-update/876155-no-control-of-products-in-product-listing#197468 "-- HikaShop version -- : Business 2.4.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : chrome  Hello I made a main root item menu for product listing . Everything is OK, but I lost the products from the Submenus that they are coming from category module (MEGA MENU) and also from categories content module... When I assosiate the main menu item with default hikashop product listing, the others menu are working but the root item bring 100 product from ALL the categories. PLS HELP  I can send the credentials if needed")*

Hi,

Based on all the information I can see, the issue is that you selected a products listing menu item in the "menu" option of your module.
You should instead select a category listing menu item in that option as the categories listing modules only accept category listing menu items in that option.

I've actually pondered about that and I've made up a patch to allow the selection of products listing menu items in that option.
replace the code: Code:

return hikashop_contentLink('category&amp;task=listing&amp;cid='.$cid-&gt;category_id.'&amp;name='.$cid-&gt;alias.$this-&gt;menu_id,$cid);

by the line: Code:

$type = 'category'; if(!empty($this-&gt;menu_id)){ $parts = explode('=',$this-&gt;menu_id); $app = JFactory::getApplication(); $menus = $app-&gt;getMenu(); $menu = $menus-&gt;getItem($parts[1]); if(!empty($menu) &amp;&amp; !empty($menu-&gt;link) &amp;&amp; strpos($menu-&gt;link,'option='.HIKASHOP_COMPONENT)!==false &amp;&amp; (strpos($menu-&gt;link,'view=')===false &#124;&#124; strpos($menu-&gt;link,'view=product')!==false)){ $type = 'product'; } } return hikashop_contentLink($type.'&amp;task=listing&amp;cid='.$cid-&gt;category_id.'&amp;name='.$cid-&gt;alias.$this-&gt;menu_id,$cid);

in the file components/com_hikashop/views/category/view.html.php and that should do it.

The following user(s) said Thank You: [stefanos64](/forum/user/36640-stefanos64 "View stefanos64's Profile")

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

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

Less More

- Posts: 9
- Thank you received: 0
-
-

11 years 6 months ago -  11 years 6 months ago [\#197544](#197544) by [stefanos64](/forum/user/36640-stefanos64 "View stefanos64's Profile")  Replied by *[stefanos64](/forum/user/36640-stefanos64 "View stefanos64's Profile")* on topic *[No control of products in product listing](/forum/25-install-update/876155-no-control-of-products-in-product-listing#197544 "-- HikaShop version -- : Business 2.4.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : chrome  Hello I made a main root item menu for product listing . Everything is OK, but I lost the products from the Submenus that they are coming from category module (MEGA MENU) and also from categories content module... When I assosiate the main menu item with default hikashop product listing, the others menu are working but the root item bring 100 product from ALL the categories. PLS HELP  I can send the credentials if needed")*

Dear, friend
Thanks you very much for your quick responses and time spending .
I used your code as u told me to and i changed the menu option to catecogy listing in "categories module" (left potition) and in categories module( megamenu). The problems are solved , exept now , it shows all three categories modules (left potition ) when i click in the sub items of all three categories modules (on both megamenu and left potition modules).
I want it to show only the matching module category in addition the users selection . I also tried to fix this problem using the exlude option in the advance module assingment , having no results .
Thank you again for your help and quick responses.
Cheers

- [ ![pro&#95;8.jpg](/forum/attachment/23599) ](/forum/attachment/23599 "pro&#95;8.jpg") [ ](/forum/attachment/23599?download=1 "pro&#95;8.jpg")

Last edit: 11 years 6 months ago by [stefanos64](/forum/user/36640-stefanos64 "View stefanos64's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3NjE1NS1uby1jb250cm9sLW9mLXByb2R1Y3RzLWluLXByb2R1Y3QtbGlzdGluZz90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 6 months ago [\#197761](#197761) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[No control of products in product listing](/forum/25-install-update/876155-no-control-of-products-in-product-listing#197761 "-- HikaShop version -- : Business 2.4.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : chrome  Hello I made a main root item menu for product listing . Everything is OK, but I lost the products from the Submenus that they are coming from category module (MEGA MENU) and also from categories content module... When I assosiate the main menu item with default hikashop product listing, the others menu are working but the root item bring 100 product from ALL the categories. PLS HELP  I can send the credentials if needed")*

Hi,

How exactly do you exclude the modules for the sub categories ?
Do you use Advanced Modules Manager ?
Because besides that, the way you configured your menus and modules structure, I don't see how you can do what you want with the options of the Joomla modules manager.

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

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

[](#top)
