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

#   Show manufacturer on product listing table

##

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

Less More

- Posts: 24
- Thank you received: 0
-
-

11 years 11 months ago [\#181884](#181884) by [tampasounds](/forum/user/35020-tampasounds "View tampasounds's Profile")  *[Show manufacturer on product listing table](/forum/26-product-category-display/873372-show-manufacturer-on-product-listing-table#181884 "-- HikaShop version -- : 2.5.3 -- Joomla version -- : 3.3 -- PHP version -- : 5.3 -- Error-message(debug-mod must be tuned on) -- : How to show manufacturer on product listing table ?  How to show manufacturer (brand) on product listing table ?  Example  Product Name Product Code {Manufacturer} Vote Price &#91;Add to Cart&#93;")* was created by *[tampasounds](/forum/user/35020-tampasounds "View tampasounds's Profile")*

-- HikaShop version -- : 2.5.3
-- Joomla version -- : 3.3
-- PHP version -- : 5.3
-- Error-message(debug-mod must be tuned on) -- : How to show manufacturer on product listing table ?

How to show manufacturer (brand) on product listing table ?

Example

Product Name Product Code {Manufacturer} Vote Price [Add to Cart]

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

11 years 11 months ago [\#181910](#181910) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Show manufacturer on product listing table](/forum/26-product-category-display/873372-show-manufacturer-on-product-listing-table#181910 "-- HikaShop version -- : 2.5.3 -- Joomla version -- : 3.3 -- PHP version -- : 5.3 -- Error-message(debug-mod must be tuned on) -- : How to show manufacturer on product listing table ?  How to show manufacturer (brand) on product listing table ?  Example  Product Name Product Code {Manufacturer} Vote Price &#91;Add to Cart&#93;")*

Hi,

The best is to create a view override for the view product listing table.
Thanks to that you can add a new column and display the manufacturer in the cells.

[ www.hikashop.com/support/support/documen...ize-the-display.html](http://www.hikashop.com/support/support/documentation/153-customize-the-display.html)

Regards,

---

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

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

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

Less More

- Posts: 24
- Thank you received: 0
-
-

11 years 11 months ago [\#181949](#181949) by [tampasounds](/forum/user/35020-tampasounds "View tampasounds's Profile")  Replied by *[tampasounds](/forum/user/35020-tampasounds "View tampasounds's Profile")* on topic *[Show manufacturer on product listing table](/forum/26-product-category-display/873372-show-manufacturer-on-product-listing-table#181949 "-- HikaShop version -- : 2.5.3 -- Joomla version -- : 3.3 -- PHP version -- : 5.3 -- Error-message(debug-mod must be tuned on) -- : How to show manufacturer on product listing table ?  How to show manufacturer (brand) on product listing table ?  Example  Product Name Product Code {Manufacturer} Vote Price &#91;Add to Cart&#93;")*

Yes i have added the column and header in the listing_table view
I took this code from another thread because i do not know how to display the manufacturer url.
I see nowhere in your document where this is described ""How to show manufacturer url on listing_table""

I try this but does not work
&lt;td&gt;
&lt;?php echo JText :: sprintf('MANUFACTURER_URL', '&lt;a href="' . $this-&gt;element-&gt;product_url . '" target="_blank"&gt;' . $this-&gt;element-&gt;product_url . '&lt;/a&gt;');?&gt;
&lt;/td&gt;

It only display words ""Brand Url: ""

How do show the manufacturer in each row on product listing_table ?

Thanks in advance

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

11 years 11 months ago [\#181993](#181993) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Show manufacturer on product listing table](/forum/26-product-category-display/873372-show-manufacturer-on-product-listing-table#181993 "-- HikaShop version -- : 2.5.3 -- Joomla version -- : 3.3 -- PHP version -- : 5.3 -- Error-message(debug-mod must be tuned on) -- : How to show manufacturer on product listing table ?  How to show manufacturer (brand) on product listing table ?  Example  Product Name Product Code {Manufacturer} Vote Price &#91;Add to Cart&#93;")*

Hello,
Using that code through the file "listing_img_title" of the view "product" of your front-end template via "Hikashop-&gt;Display-&gt;Views" will probably help you : Code:

&lt;?php $manufacturerClass = hikashop_get('class.category'); $manufacturer = $manufacturerClass-&gt;get($this-&gt;row-&gt;product_manufacturer_id); echo $manufacturer-&gt;category_name; ?&gt;

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

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

Less More

- Posts: 24
- Thank you received: 0
-
-

11 years 11 months ago [\#182031](#182031) by [tampasounds](/forum/user/35020-tampasounds "View tampasounds's Profile")  Replied by *[tampasounds](/forum/user/35020-tampasounds "View tampasounds's Profile")* on topic *[Show manufacturer on product listing table](/forum/26-product-category-display/873372-show-manufacturer-on-product-listing-table#182031 "-- HikaShop version -- : 2.5.3 -- Joomla version -- : 3.3 -- PHP version -- : 5.3 -- Error-message(debug-mod must be tuned on) -- : How to show manufacturer on product listing table ?  How to show manufacturer (brand) on product listing table ?  Example  Product Name Product Code {Manufacturer} Vote Price &#91;Add to Cart&#93;")*

&lt;?php
$manufacturerClass = hikashop_get('class.category');
$manufacturer = $manufacturerClass-&gt;get($this-&gt;row-&gt;product_manufacturer_id);
echo $manufacturer-&gt;category_description;
?&gt;

This does not return manufacturer on Products Listing_Table either ....

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 11 months ago [\#182063](#182063) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Show manufacturer on product listing table](/forum/26-product-category-display/873372-show-manufacturer-on-product-listing-table#182063 "-- HikaShop version -- : 2.5.3 -- Joomla version -- : 3.3 -- PHP version -- : 5.3 -- Error-message(debug-mod must be tuned on) -- : How to show manufacturer on product listing table ?  How to show manufacturer (brand) on product listing table ?  Example  Product Name Product Code {Manufacturer} Vote Price &#91;Add to Cart&#93;")*

Hi,

Are you sure that you are editing the view in the correct template ?
Please try: echo $manufacturer-&gt;category_name; instead of echo $manufacturer-&gt;category_description;

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

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

Less More

- Posts: 24
- Thank you received: 0
-
-

11 years 10 months ago [\#182216](#182216) by [tampasounds](/forum/user/35020-tampasounds "View tampasounds's Profile")  Replied by *[tampasounds](/forum/user/35020-tampasounds "View tampasounds's Profile")* on topic *[Show manufacturer on product listing table](/forum/26-product-category-display/873372-show-manufacturer-on-product-listing-table#182216 "-- HikaShop version -- : 2.5.3 -- Joomla version -- : 3.3 -- PHP version -- : 5.3 -- Error-message(debug-mod must be tuned on) -- : How to show manufacturer on product listing table ?  How to show manufacturer (brand) on product listing table ?  Example  Product Name Product Code {Manufacturer} Vote Price &#91;Add to Cart&#93;")*

Xavior and Mohamed

That was the solution.
I was so tired I didn't even realize that I was calling the wrong column(description)
Thank you so much for the extra attention and noticing the little details. It saved my day

Thanks again

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

- **[babaei](/forum/user/34732-babaei "View babaei's Profile")**
- [![babaei's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34732_2016-05-13.jpg)](/forum/user/34732-babaei "View babaei's Profile")
- [ Offline](/forum/user/34732-babaei)

Less More

- Posts: 69
- Thank you received: 1
-
-
-

11 years 10 months ago [\#184811](#184811) by [babaei](/forum/user/34732-babaei "View babaei's Profile")  Replied by *[babaei](/forum/user/34732-babaei "View babaei's Profile")* on topic *[Show manufacturer on product listing table](/forum/26-product-category-display/873372-show-manufacturer-on-product-listing-table#184811 "-- HikaShop version -- : 2.5.3 -- Joomla version -- : 3.3 -- PHP version -- : 5.3 -- Error-message(debug-mod must be tuned on) -- : How to show manufacturer on product listing table ?  How to show manufacturer (brand) on product listing table ?  Example  Product Name Product Code {Manufacturer} Vote Price &#91;Add to Cart&#93;")*

Hello
I add this code and it works.
How can we add link to manufacture name?

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

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

Less More

- Posts: 24
- Thank you received: 0
-
-

11 years 10 months ago [\#184812](#184812) by [tampasounds](/forum/user/35020-tampasounds "View tampasounds's Profile")  Replied by *[tampasounds](/forum/user/35020-tampasounds "View tampasounds's Profile")* on topic *[Show manufacturer on product listing table](/forum/26-product-category-display/873372-show-manufacturer-on-product-listing-table#184812 "-- HikaShop version -- : 2.5.3 -- Joomla version -- : 3.3 -- PHP version -- : 5.3 -- Error-message(debug-mod must be tuned on) -- : How to show manufacturer on product listing table ?  How to show manufacturer (brand) on product listing table ?  Example  Product Name Product Code {Manufacturer} Vote Price &#91;Add to Cart&#93;")*

&lt;?php if ($this-&gt;config-&gt;get('show_code')) { $columns++;?&gt;
&lt;th class="hikashop_product_code_title" align="center"&gt;
&lt;?php echo "Manufacturer"; ?&gt;
&lt;/th&gt;

Worked for me

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

11 years 10 months ago [\#184845](#184845) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Show manufacturer on product listing table](/forum/26-product-category-display/873372-show-manufacturer-on-product-listing-table#184845 "-- HikaShop version -- : 2.5.3 -- Joomla version -- : 3.3 -- PHP version -- : 5.3 -- Error-message(debug-mod must be tuned on) -- : How to show manufacturer on product listing table ?  How to show manufacturer (brand) on product listing table ?  Example  Product Name Product Code {Manufacturer} Vote Price &#91;Add to Cart&#93;")*

Hello,

> How can we add link to manufacture name?

Where do you exactly want your customer to be redirected by using this link ?

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

- **[babaei](/forum/user/34732-babaei "View babaei's Profile")**
- [![babaei's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34732_2016-05-13.jpg)](/forum/user/34732-babaei "View babaei's Profile")
- [ Offline](/forum/user/34732-babaei)

Less More

- Posts: 69
- Thank you received: 1
-
-
-

11 years 10 months ago [\#184865](#184865) by [babaei](/forum/user/34732-babaei "View babaei's Profile")  Replied by *[babaei](/forum/user/34732-babaei "View babaei's Profile")* on topic *[Show manufacturer on product listing table](/forum/26-product-category-display/873372-show-manufacturer-on-product-listing-table#184865 "-- HikaShop version -- : 2.5.3 -- Joomla version -- : 3.3 -- PHP version -- : 5.3 -- Error-message(debug-mod must be tuned on) -- : How to show manufacturer on product listing table ?  How to show manufacturer (brand) on product listing table ?  Example  Product Name Product Code {Manufacturer} Vote Price &#91;Add to Cart&#93;")*

> Mohamed Thelji wrote: Hello,
>
> > How can we add link to manufacture name?
>
> Where do you exactly want your customer to be redirected by using this link ?

Hello
I want the customer redirected to manufacture products list.

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

11 years 9 months ago [\#185238](#185238) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Show manufacturer on product listing table](/forum/26-product-category-display/873372-show-manufacturer-on-product-listing-table#185238 "-- HikaShop version -- : 2.5.3 -- Joomla version -- : 3.3 -- PHP version -- : 5.3 -- Error-message(debug-mod must be tuned on) -- : How to show manufacturer on product listing table ?  How to show manufacturer (brand) on product listing table ?  Example  Product Name Product Code {Manufacturer} Vote Price &#91;Add to Cart&#93;")*

Then you'll have to use a link like : Code:

$manufacturer_url = HIKASHOP_LIVE.'index.php?option=com_hikashop&amp;ctrl=category&amp;task=listing&amp;cid='.$manufacturer_id.'&amp;name='.$manufacturer-&gt;category_name.'&amp;Itemid=MANUFACTURER _LISTING_ID'

MANUFACTURER _LISTING_ID : your manufacturer listing content menu ID
$manufacturer_id : your manufacturer ID

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

8 years 10 months ago [\#284166](#284166) by [antigeek](/forum/user/14386-antigeek "View antigeek's Profile")  Replied by *[antigeek](/forum/user/14386-antigeek "View antigeek's Profile")* on topic *[Show manufacturer on product listing table](/forum/26-product-category-display/873372-show-manufacturer-on-product-listing-table#284166 "-- HikaShop version -- : 2.5.3 -- Joomla version -- : 3.3 -- PHP version -- : 5.3 -- Error-message(debug-mod must be tuned on) -- : How to show manufacturer on product listing table ?  How to show manufacturer (brand) on product listing table ?  Example  Product Name Product Code {Manufacturer} Vote Price &#91;Add to Cart&#93;")*

I couldn't get the provided code to dd a link to the brands listing to work .
I have created the following for a link back to a products listing in listing_img_title.php ( as an override)
Code:

&lt;span class="hikashop_product_brand"&gt;&lt;?php if($this-&gt;config-&gt;get('manufacturer_display', 1) &amp;&amp; !empty($this-&gt;row-&gt;product_manufacturer_id)){ $categoryClass = hikashop_get('class.category'); $manufacturer = $categoryClass-&gt;get($this-&gt;row-&gt;product_manufacturer_id); if($manufacturer-&gt;category_published){ $menuClass = hikashop_get('class.menus'); $Itemid = $menuClass-&gt;loadAMenuItemId('manufacturer','listing'); if(empty($Itemid)){ $Itemid = $menuClass-&gt;loadAMenuItemId('',''); } $categoryClass-&gt;addAlias($manufacturer); echo JText::_('').''.'&lt;a href="'.hikashop_contentLink('category&amp;task=listing&amp;cid='.$manufacturer-&gt;category_id.'&amp;name='.$manufacturer-&gt;alias.'&amp;Itemid='.$Itemid,$manufacturer).'"&gt;'.$manufacturer-&gt;category_name.'&lt;/a&gt;'; echo "&lt;span style='display:none;' itemprop='Brand'&gt;". $manufacturer-&gt;category_name ."&lt;/span&gt;"; } }?&gt;&lt;/span&gt;

This almost works...It shows the list of products for the brand but for some reason it goes to a random product category in the URL ( so it shows that random category modules ( banners etc) ).

How would I change this so that the Link URL starts with "brands/" instead of the random category?

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzMzNzItc2hvdy1tYW51ZmFjdHVyZXItb24tcHJvZHVjdC1saXN0aW5nLXRhYmxlP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

8 years 10 months ago -  8 years 10 months ago [\#284178](#284178) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show manufacturer on product listing table](/forum/26-product-category-display/873372-show-manufacturer-on-product-listing-table#284178 "-- HikaShop version -- : 2.5.3 -- Joomla version -- : 3.3 -- PHP version -- : 5.3 -- Error-message(debug-mod must be tuned on) -- : How to show manufacturer on product listing table ?  How to show manufacturer (brand) on product listing table ?  Example  Product Name Product Code {Manufacturer} Vote Price &#91;Add to Cart&#93;")*

Hi,

I suppose that the "start of the URL" is the alias of the menu item.
That's because you have that code: Code:

$menuClass = hikashop_get('class.menus'); $Itemid = $menuClass-&gt;loadAMenuItemId('manufacturer','listing'); if(empty($Itemid)){ $Itemid = $menuClass-&gt;loadAMenuItemId('',''); }

This sets the $Itemid variable to the id of a menu item which is either a brands listing or a categories listing.
And then, Joomla's SEF systme uses that id to get the alias of the menu item and use it at the beginning of the URL.
So if you want to have a specific text there, you should create a menu item of the type HikaShop category configured to display the brands, set in it the alias you want (brands) and use such code:
$Itemid = XXX;
where XXX is the id of that menu item.

Last edit: 8 years 10 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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