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

#   The routing for brand list pages fails in the product detail

##

- **[E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")**
- [![E. van Doorne's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile") Topic Author
- [ Offline](/forum/user/46105-e-van-doorne)

Less More

- Posts: 22
- Thank you received: 1
-

6 months 2 weeks ago [\#371604](#371604) by [E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")  *[The routing for brand list pages fails in the product detail](/forum/3-bug-report/910464-the-routing-for-brand-list-pages-fails-in-the-product-detail#371604 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 5.4.5 -- PHP version -- : 8.3.21 -- Browser(s) name and version -- : Firefox 149.0.2 -- Error-message(debug-mod must be tuned on) -- : Routing for Brand list page failes in product detail view  On the product details page, the block 'show&#95;dimensions' renders a link to the 'brand page', but it always routes to the first menu item.  This code calls the hikashopMenuClass (/administrator/components/com&#95;hikashop/classes/menus.php) and tries to search for a menu item that has the key 'content&#95;type' and value 'manufacturer'. No matter what i try i can't manage to create a menu item with those params.  After the code can't find a menu item it returns the first menu item in the list.")* was created by *[E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")*

-- HikaShop version -- : 6.4.1
-- Joomla version -- : 5.4.5
-- PHP version -- : 8.3.21
-- Browser(s) name and version -- : Firefox 149.0.2
-- Error-message(debug-mod must be tuned on) -- : Routing for Brand list page failes in product detail view

On the product details page, the block 'show_dimensions' renders a link to the 'brand page', but it always routes to the first menu item.
[ ![Hikashop show dimensions.JPG](/forum/attachment/63098) ](/forum/attachment/63098 "...dimensions.JPG")

This code calls the hikashopMenuClass (/administrator/components/com_hikashop/classes/menus.php) and tries to search for a menu item that has the key 'content_type' and value 'manufacturer'. No matter what i try i can't manage to create a menu item with those params.
[ ![HIkashop param search.JPG](/forum/attachment/63099) ](/forum/attachment/63099 "...ram search.JPG")

After the code can't find a menu item it returns the first menu item in the list.

- [ ![Hikashop show dimensions.JPG](/forum/attachment/63098) ](/forum/attachment/63098 "...dimensions.JPG") [ ](/forum/attachment/63098?download=1 "...dimensions.JPG")
- [ ![HIkashop param search.JPG](/forum/attachment/63099) ](/forum/attachment/63099 "...ram search.JPG") [ ](/forum/attachment/63099?download=1 "...ram search.JPG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MTA0NjQtdGhlLXJvdXRpbmctZm9yLWJyYW5kLWxpc3QtcGFnZXMtZmFpbHMtaW4tdGhlLXByb2R1Y3QtZGV0YWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86324
- Thank you received: 14286
-
-

6 months 2 weeks ago [\#371609](#371609) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[The routing for brand list pages fails in the product detail](/forum/3-bug-report/910464-the-routing-for-brand-list-pages-fails-in-the-product-detail#371609 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 5.4.5 -- PHP version -- : 8.3.21 -- Browser(s) name and version -- : Firefox 149.0.2 -- Error-message(debug-mod must be tuned on) -- : Routing for Brand list page failes in product detail view  On the product details page, the block 'show&#95;dimensions' renders a link to the 'brand page', but it always routes to the first menu item.  This code calls the hikashopMenuClass (/administrator/components/com&#95;hikashop/classes/menus.php) and tries to search for a menu item that has the key 'content&#95;type' and value 'manufacturer'. No matter what i try i can't manage to create a menu item with those params.  After the code can't find a menu item it returns the first menu item in the list.")*

Hello,

Thanks for the detailed report. You identified correctly where the problem was: the menu-item lookup in hikashopMenuClass is matching manufacturer-listing menus too narrowly. Specifically, it is comparing the menu's selected category against a single category id picked by a SELECT with no LIMIT or ORDER BY, so a category-listing menu pointing to a brand other than the one that row happens to return is not recognised as a manufacturer listing, and the fallback then returns an unrelated menu item.

We have broadened the lookup so that any category-listing menu whose selected category has category_type=manufacturer is now accepted, in addition to menus that explicitly carry content_type=manufacturer in their params. The change is in the 6.4.1 branch. Please download the latest 6.4.1 build from your member area on our website and install it over your current installation. After the update your brand link should route through your intended manufacturer-listing menu instead of the first available HikaShop menu.

The following user(s) said Thank You: [E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MTA0NjQtdGhlLXJvdXRpbmctZm9yLWJyYW5kLWxpc3QtcGFnZXMtZmFpbHMtaW4tdGhlLXByb2R1Y3QtZGV0YWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")**
- [![E. van Doorne's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile") Topic Author
- [ Offline](/forum/user/46105-e-van-doorne)

Less More

- Posts: 22
- Thank you received: 1
-

6 months 1 week ago [\#371646](#371646) by [E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")  Replied by *[E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")* on topic *[The routing for brand list pages fails in the product detail](/forum/3-bug-report/910464-the-routing-for-brand-list-pages-fails-in-the-product-detail#371646 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 5.4.5 -- PHP version -- : 8.3.21 -- Browser(s) name and version -- : Firefox 149.0.2 -- Error-message(debug-mod must be tuned on) -- : Routing for Brand list page failes in product detail view  On the product details page, the block 'show&#95;dimensions' renders a link to the 'brand page', but it always routes to the first menu item.  This code calls the hikashopMenuClass (/administrator/components/com&#95;hikashop/classes/menus.php) and tries to search for a menu item that has the key 'content&#95;type' and value 'manufacturer'. No matter what i try i can't manage to create a menu item with those params.  After the code can't find a menu item it returns the first menu item in the list.")*

I have downloaded the 6.4.1 installer, but when saving our brand menu item, the &#96;param&#96; column does not have a 'content_type' defined or filled. I have downloaded the 6.4.1 installer from my account -&gt; my subscriptions -&gt; hikashop multisites -&gt; latest stable version. Do i need to use a different installer?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MTA0NjQtdGhlLXJvdXRpbmctZm9yLWJyYW5kLWxpc3QtcGFnZXMtZmFpbHMtaW4tdGhlLXByb2R1Y3QtZGV0YWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86324
- Thank you received: 14286
-
-

6 months 1 week ago [\#371647](#371647) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[The routing for brand list pages fails in the product detail](/forum/3-bug-report/910464-the-routing-for-brand-list-pages-fails-in-the-product-detail#371647 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 5.4.5 -- PHP version -- : 8.3.21 -- Browser(s) name and version -- : Firefox 149.0.2 -- Error-message(debug-mod must be tuned on) -- : Routing for Brand list page failes in product detail view  On the product details page, the block 'show&#95;dimensions' renders a link to the 'brand page', but it always routes to the first menu item.  This code calls the hikashopMenuClass (/administrator/components/com&#95;hikashop/classes/menus.php) and tries to search for a menu item that has the key 'content&#95;type' and value 'manufacturer'. No matter what i try i can't manage to create a menu item with those params.  After the code can't find a menu item it returns the first menu item in the list.")*

Hi,

No. It doesn't need it. You can use a categories / products listing menu item with the "main category" setting set to the main "brand" category, or a brand.
The system will now automatically look for a menu item matching with the brand, or with a menu item matching with the main brand category.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MTA0NjQtdGhlLXJvdXRpbmctZm9yLWJyYW5kLWxpc3QtcGFnZXMtZmFpbHMtaW4tdGhlLXByb2R1Y3QtZGV0YWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")**
- [![E. van Doorne's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile") Topic Author
- [ Offline](/forum/user/46105-e-van-doorne)

Less More

- Posts: 22
- Thank you received: 1
-

6 months 1 week ago [\#371680](#371680) by [E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")  Replied by *[E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")* on topic *[The routing for brand list pages fails in the product detail](/forum/3-bug-report/910464-the-routing-for-brand-list-pages-fails-in-the-product-detail#371680 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 5.4.5 -- PHP version -- : 8.3.21 -- Browser(s) name and version -- : Firefox 149.0.2 -- Error-message(debug-mod must be tuned on) -- : Routing for Brand list page failes in product detail view  On the product details page, the block 'show&#95;dimensions' renders a link to the 'brand page', but it always routes to the first menu item.  This code calls the hikashopMenuClass (/administrator/components/com&#95;hikashop/classes/menus.php) and tries to search for a menu item that has the key 'content&#95;type' and value 'manufacturer'. No matter what i try i can't manage to create a menu item with those params.  After the code can't find a menu item it returns the first menu item in the list.")*

We actually already have such menu items in place, both for the main "Brands' category as well as for numerous individual brands. Yet the brand redirects from the individual product's pages do not work and route incorrectly to the first me menu item.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MTA0NjQtdGhlLXJvdXRpbmctZm9yLWJyYW5kLWxpc3QtcGFnZXMtZmFpbHMtaW4tdGhlLXByb2R1Y3QtZGV0YWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86324
- Thank you received: 14286
-
-

6 months 1 week ago [\#371682](#371682) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[The routing for brand list pages fails in the product detail](/forum/3-bug-report/910464-the-routing-for-brand-list-pages-fails-in-the-product-detail#371682 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 5.4.5 -- PHP version -- : 8.3.21 -- Browser(s) name and version -- : Firefox 149.0.2 -- Error-message(debug-mod must be tuned on) -- : Routing for Brand list page failes in product detail view  On the product details page, the block 'show&#95;dimensions' renders a link to the 'brand page', but it always routes to the first menu item.  This code calls the hikashopMenuClass (/administrator/components/com&#95;hikashop/classes/menus.php) and tries to search for a menu item that has the key 'content&#95;type' and value 'manufacturer'. No matter what i try i can't manage to create a menu item with those params.  After the code can't find a menu item it returns the first menu item in the list.")*

Hi,

Since we're not able to reproduce the issue anymore, please provide a backend access and a FTP access so that we can look into the situation on your website directly. Maybe there's a corner case that isn't handled properly.
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MTA0NjQtdGhlLXJvdXRpbmctZm9yLWJyYW5kLWxpc3QtcGFnZXMtZmFpbHMtaW4tdGhlLXByb2R1Y3QtZGV0YWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86324
- Thank you received: 14286
-
-

5 months 3 weeks ago [\#371883](#371883) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[The routing for brand list pages fails in the product detail](/forum/3-bug-report/910464-the-routing-for-brand-list-pages-fails-in-the-product-detail#371883 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 5.4.5 -- PHP version -- : 8.3.21 -- Browser(s) name and version -- : Firefox 149.0.2 -- Error-message(debug-mod must be tuned on) -- : Routing for Brand list page failes in product detail view  On the product details page, the block 'show&#95;dimensions' renders a link to the 'brand page', but it always routes to the first menu item.  This code calls the hikashopMenuClass (/administrator/components/com&#95;hikashop/classes/menus.php) and tries to search for a menu item that has the key 'content&#95;type' and value 'manufacturer'. No matter what i try i can't manage to create a menu item with those params.  After the code can't find a menu item it returns the first menu item in the list.")*

Hi,

Thank you for the access. I was able to reproduce the issue and made another patch for it. We've added it on your website and confirm it now works as expected there. We've also included the patch on our end. So, for anyone else with the issue, download again the install package of HikaShop on our website and install it on yours to get the patch.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MTA0NjQtdGhlLXJvdXRpbmctZm9yLWJyYW5kLWxpc3QtcGFnZXMtZmFpbHMtaW4tdGhlLXByb2R1Y3QtZGV0YWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")**
- [![E. van Doorne's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile") Topic Author
- [ Offline](/forum/user/46105-e-van-doorne)

Less More

- Posts: 22
- Thank you received: 1
-

5 months 3 weeks ago -  5 months 3 weeks ago [\#371889](#371889) by [E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")  Replied by *[E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")* on topic *[The routing for brand list pages fails in the product detail](/forum/3-bug-report/910464-the-routing-for-brand-list-pages-fails-in-the-product-detail#371889 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 5.4.5 -- PHP version -- : 8.3.21 -- Browser(s) name and version -- : Firefox 149.0.2 -- Error-message(debug-mod must be tuned on) -- : Routing for Brand list page failes in product detail view  On the product details page, the block 'show&#95;dimensions' renders a link to the 'brand page', but it always routes to the first menu item.  This code calls the hikashopMenuClass (/administrator/components/com&#95;hikashop/classes/menus.php) and tries to search for a menu item that has the key 'content&#95;type' and value 'manufacturer'. No matter what i try i can't manage to create a menu item with those params.  After the code can't find a menu item it returns the first menu item in the list.")*

Hello Nicolas, thank you for taking the time to sort this out. If I go to a number of existing individual Product pages on our website, the Brand name stil links to the wrong url. Some other Product pages now give a Brand url that is basically correct, but the brand name gets repeated twice in the url (eg. [ mydomain.com/brands/brand-name/brand-name/](https://mydomain.com/brands/brand-name/brand-name/) )

Do I need to recreate those url's in some way, or is there anything else I need to do in order to make the fix work for existing products/brands and have uniform Brand urls?

Last edit: 5 months 3 weeks ago by [E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MTA0NjQtdGhlLXJvdXRpbmctZm9yLWJyYW5kLWxpc3QtcGFnZXMtZmFpbHMtaW4tdGhlLXByb2R1Y3QtZGV0YWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86324
- Thank you received: 14286
-
-

5 months 3 weeks ago [\#371890](#371890) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[The routing for brand list pages fails in the product detail](/forum/3-bug-report/910464-the-routing-for-brand-list-pages-fails-in-the-product-detail#371890 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 5.4.5 -- PHP version -- : 8.3.21 -- Browser(s) name and version -- : Firefox 149.0.2 -- Error-message(debug-mod must be tuned on) -- : Routing for Brand list page failes in product detail view  On the product details page, the block 'show&#95;dimensions' renders a link to the 'brand page', but it always routes to the first menu item.  This code calls the hikashopMenuClass (/administrator/components/com&#95;hikashop/classes/menus.php) and tries to search for a menu item that has the key 'content&#95;type' and value 'manufacturer'. No matter what i try i can't manage to create a menu item with those params.  After the code can't find a menu item it returns the first menu item in the list.")*

Mmm. It worked fine on the one product I tested on your website.
Please provide URLs of the products with the 2 issues.
You can go through our contact form if necessary.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MTA0NjQtdGhlLXJvdXRpbmctZm9yLWJyYW5kLWxpc3QtcGFnZXMtZmFpbHMtaW4tdGhlLXByb2R1Y3QtZGV0YWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")**
- [![E. van Doorne's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile") Topic Author
- [ Offline](/forum/user/46105-e-van-doorne)

Less More

- Posts: 22
- Thank you received: 1
-

5 months 2 weeks ago [\#371996](#371996) by [E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")  Replied by *[E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")* on topic *[The routing for brand list pages fails in the product detail](/forum/3-bug-report/910464-the-routing-for-brand-list-pages-fails-in-the-product-detail#371996 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 5.4.5 -- PHP version -- : 8.3.21 -- Browser(s) name and version -- : Firefox 149.0.2 -- Error-message(debug-mod must be tuned on) -- : Routing for Brand list page failes in product detail view  On the product details page, the block 'show&#95;dimensions' renders a link to the 'brand page', but it always routes to the first menu item.  This code calls the hikashopMenuClass (/administrator/components/com&#95;hikashop/classes/menus.php) and tries to search for a menu item that has the key 'content&#95;type' and value 'manufacturer'. No matter what i try i can't manage to create a menu item with those params.  After the code can't find a menu item it returns the first menu item in the list.")*

I have posted example url's via the contact form

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MTA0NjQtdGhlLXJvdXRpbmctZm9yLWJyYW5kLWxpc3QtcGFnZXMtZmFpbHMtaW4tdGhlLXByb2R1Y3QtZGV0YWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86324
- Thank you received: 14286
-
-

5 months 2 weeks ago [\#372001](#372001) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[The routing for brand list pages fails in the product detail](/forum/3-bug-report/910464-the-routing-for-brand-list-pages-fails-in-the-product-detail#372001 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 5.4.5 -- PHP version -- : 8.3.21 -- Browser(s) name and version -- : Firefox 149.0.2 -- Error-message(debug-mod must be tuned on) -- : Routing for Brand list page failes in product detail view  On the product details page, the block 'show&#95;dimensions' renders a link to the 'brand page', but it always routes to the first menu item.  This code calls the hikashopMenuClass (/administrator/components/com&#95;hikashop/classes/menus.php) and tries to search for a menu item that has the key 'content&#95;type' and value 'manufacturer'. No matter what i try i can't manage to create a menu item with those params.  After the code can't find a menu item it returns the first menu item in the list.")*

Hi,

Thanks for the URLs. I was able to understand the situation, reproduce the issue on my end and make some patch to fix that.
Download again the install package of HikaShop and install it on yours.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MTA0NjQtdGhlLXJvdXRpbmctZm9yLWJyYW5kLWxpc3QtcGFnZXMtZmFpbHMtaW4tdGhlLXByb2R1Y3QtZGV0YWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")**
- [![E. van Doorne's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile") Topic Author
- [ Offline](/forum/user/46105-e-van-doorne)

Less More

- Posts: 22
- Thank you received: 1
-

5 months 2 weeks ago [\#372006](#372006) by [E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")  Replied by *[E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")* on topic *[The routing for brand list pages fails in the product detail](/forum/3-bug-report/910464-the-routing-for-brand-list-pages-fails-in-the-product-detail#372006 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 5.4.5 -- PHP version -- : 8.3.21 -- Browser(s) name and version -- : Firefox 149.0.2 -- Error-message(debug-mod must be tuned on) -- : Routing for Brand list page failes in product detail view  On the product details page, the block 'show&#95;dimensions' renders a link to the 'brand page', but it always routes to the first menu item.  This code calls the hikashopMenuClass (/administrator/components/com&#95;hikashop/classes/menus.php) and tries to search for a menu item that has the key 'content&#95;type' and value 'manufacturer'. No matter what i try i can't manage to create a menu item with those params.  After the code can't find a menu item it returns the first menu item in the list.")*

Hi Nicolas, thanks for the swift action. The patch almost solves it, but not entirely I'm afraid. It appears it works well for products from a brand where a dedicated page with all products from that brand is created. Bur for products from a brand for which no 'brand page' is created, the routing is now different and still not entirely correct. I'll post url's in the contact form.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MTA0NjQtdGhlLXJvdXRpbmctZm9yLWJyYW5kLWxpc3QtcGFnZXMtZmFpbHMtaW4tdGhlLXByb2R1Y3QtZGV0YWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86324
- Thank you received: 14286
-
-

5 months 2 weeks ago [\#372007](#372007) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[The routing for brand list pages fails in the product detail](/forum/3-bug-report/910464-the-routing-for-brand-list-pages-fails-in-the-product-detail#372007 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 5.4.5 -- PHP version -- : 8.3.21 -- Browser(s) name and version -- : Firefox 149.0.2 -- Error-message(debug-mod must be tuned on) -- : Routing for Brand list page failes in product detail view  On the product details page, the block 'show&#95;dimensions' renders a link to the 'brand page', but it always routes to the first menu item.  This code calls the hikashopMenuClass (/administrator/components/com&#95;hikashop/classes/menus.php) and tries to search for a menu item that has the key 'content&#95;type' and value 'manufacturer'. No matter what i try i can't manage to create a menu item with those params.  After the code can't find a menu item it returns the first menu item in the list.")*

Hi,

Thank you for the extra details. I've made a new patch for this. Please try again. It should be good now.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MTA0NjQtdGhlLXJvdXRpbmctZm9yLWJyYW5kLWxpc3QtcGFnZXMtZmFpbHMtaW4tdGhlLXByb2R1Y3QtZGV0YWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")**
- [![E. van Doorne's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile") Topic Author
- [ Offline](/forum/user/46105-e-van-doorne)

Less More

- Posts: 22
- Thank you received: 1
-

5 months 2 weeks ago [\#372011](#372011) by [E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")  Replied by *[E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")* on topic *[The routing for brand list pages fails in the product detail](/forum/3-bug-report/910464-the-routing-for-brand-list-pages-fails-in-the-product-detail#372011 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 5.4.5 -- PHP version -- : 8.3.21 -- Browser(s) name and version -- : Firefox 149.0.2 -- Error-message(debug-mod must be tuned on) -- : Routing for Brand list page failes in product detail view  On the product details page, the block 'show&#95;dimensions' renders a link to the 'brand page', but it always routes to the first menu item.  This code calls the hikashopMenuClass (/administrator/components/com&#95;hikashop/classes/menus.php) and tries to search for a menu item that has the key 'content&#95;type' and value 'manufacturer'. No matter what i try i can't manage to create a menu item with those params.  After the code can't find a menu item it returns the first menu item in the list.")*

Hello Nicolas, I downloaded and installed the 6.4.1 Multisites version from the website just now and installed it. I'm sorry to day I see no difference in behavior. Details in contact e-mail.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MTA0NjQtdGhlLXJvdXRpbmctZm9yLWJyYW5kLWxpc3QtcGFnZXMtZmFpbHMtaW4tdGhlLXByb2R1Y3QtZGV0YWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86324
- Thank you received: 14286
-
-

5 months 1 week ago [\#372016](#372016) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[The routing for brand list pages fails in the product detail](/forum/3-bug-report/910464-the-routing-for-brand-list-pages-fails-in-the-product-detail#372016 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 5.4.5 -- PHP version -- : 8.3.21 -- Browser(s) name and version -- : Firefox 149.0.2 -- Error-message(debug-mod must be tuned on) -- : Routing for Brand list page failes in product detail view  On the product details page, the block 'show&#95;dimensions' renders a link to the 'brand page', but it always routes to the first menu item.  This code calls the hikashopMenuClass (/administrator/components/com&#95;hikashop/classes/menus.php) and tries to search for a menu item that has the key 'content&#95;type' and value 'manufacturer'. No matter what i try i can't manage to create a menu item with those params.  After the code can't find a menu item it returns the first menu item in the list.")*

Hi,

Thanks. I've made a new patch for this. Please try again. It should be good now.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MTA0NjQtdGhlLXJvdXRpbmctZm9yLWJyYW5kLWxpc3QtcGFnZXMtZmFpbHMtaW4tdGhlLXByb2R1Y3QtZGV0YWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")**
- [![E. van Doorne's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile") Topic Author
- [ Offline](/forum/user/46105-e-van-doorne)

Less More

- Posts: 22
- Thank you received: 1
-

5 months 1 week ago [\#372066](#372066) by [E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")  Replied by *[E. van Doorne](/forum/user/46105-e-van-doorne "View E. van Doorne's Profile")* on topic *[The routing for brand list pages fails in the product detail](/forum/3-bug-report/910464-the-routing-for-brand-list-pages-fails-in-the-product-detail#372066 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 5.4.5 -- PHP version -- : 8.3.21 -- Browser(s) name and version -- : Firefox 149.0.2 -- Error-message(debug-mod must be tuned on) -- : Routing for Brand list page failes in product detail view  On the product details page, the block 'show&#95;dimensions' renders a link to the 'brand page', but it always routes to the first menu item.  This code calls the hikashopMenuClass (/administrator/components/com&#95;hikashop/classes/menus.php) and tries to search for a menu item that has the key 'content&#95;type' and value 'manufacturer'. No matter what i try i can't manage to create a menu item with those params.  After the code can't find a menu item it returns the first menu item in the list.")*

Many thanks for this new patch. This has solved the issue.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MTA0NjQtdGhlLXJvdXRpbmctZm9yLWJyYW5kLWxpc3QtcGFnZXMtZmFpbHMtaW4tdGhlLXByb2R1Y3QtZGV0YWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.087 seconds

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