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

#   Add link to category in associated product div

##

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

Less More

- Posts: 2
- Thank you received: 0
-
-

13 years 6 months ago -  13 years 6 months ago [\#101433](#101433) by [mikkaa](/forum/user/17639-mikkaa "View mikkaa's Profile")  *[Add link to category in associated product div](/forum/4-how-to/81140-add-link-to-category-in-associated-product-div#101433 "Hi,  Is it possible to display a link to product category or subcategory in DIV under the Product Name or at the bottom of the DIV?  I am using hikashop module 184 to display associated products and would like to have a link to category/subcategory as well.  As it is now, I only have the link to a product.")* was created by *[mikkaa](/forum/user/17639-mikkaa "View mikkaa's Profile")*

Hi,

Is it possible to display a link to product category or subcategory in DIV under the Product Name or at the bottom of the DIV?

I am using hikashop module 184 to display associated products and would like to have a link to category/subcategory as well.

As it is now, I only have the link to a product.

Last edit: 13 years 6 months ago by [mikkaa](/forum/user/17639-mikkaa "View mikkaa's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxMTQwLWFkZC1saW5rLXRvLWNhdGVnb3J5LWluLWFzc29jaWF0ZWQtcHJvZHVjdC1kaXY/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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
-
-
-

13 years 6 months ago [\#101452](#101452) 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 *[Add link to category in associated product div](/forum/4-how-to/81140-add-link-to-category-in-associated-product-div#101452 "Hi,  Is it possible to display a link to product category or subcategory in DIV under the Product Name or at the bottom of the DIV?  I am using hikashop module 184 to display associated products and would like to have a link to category/subcategory as well.  As it is now, I only have the link to a product.")*

Hi,

I think that you'll have to directly edit the code of your "listing_div" file of your "product" view of your front-end template, and then put your code after these lines : Code:

$this-&gt;row =&amp; $row; $this-&gt;setLayout('listing_'.$this-&gt;params-&gt;get('div_item_layout_type')); echo $this-&gt;loadTemplate();

Hope this will help you a little.

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

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

Less More

- Posts: 2
- Thank you received: 0
-
-

13 years 6 months ago [\#101459](#101459) by [mikkaa](/forum/user/17639-mikkaa "View mikkaa's Profile")  Replied by *[mikkaa](/forum/user/17639-mikkaa "View mikkaa's Profile")* on topic *[Add link to category in associated product div](/forum/4-how-to/81140-add-link-to-category-in-associated-product-div#101459 "Hi,  Is it possible to display a link to product category or subcategory in DIV under the Product Name or at the bottom of the DIV?  I am using hikashop module 184 to display associated products and would like to have a link to category/subcategory as well.  As it is now, I only have the link to a product.")*

Thanks!

Unfortunately my php language is a bit rusty and I would really appreciate if someone could give an example of the script I need to put below yours.

To start with, at least...

Best regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxMTQwLWFkZC1saW5rLXRvLWNhdGVnb3J5LWluLWFzc29jaWF0ZWQtcHJvZHVjdC1kaXY/dG1wbD1tYXJrZG93bg==) 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: 86320
- Thank you received: 14279
-
-

13 years 5 months ago [\#102233](#102233) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add link to category in associated product div](/forum/4-how-to/81140-add-link-to-category-in-associated-product-div#102233 "Hi,  Is it possible to display a link to product category or subcategory in DIV under the Product Name or at the bottom of the DIV?  I am using hikashop module 184 to display associated products and would like to have a link to category/subcategory as well.  As it is now, I only have the link to a product.")*

Hi,

Can you do a screenshot of where you want to add the category link as I'm not sure about what you want ?

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

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

[](#top)
