Skip to main content

Add link to category in associated product div

More
13 years 6 months ago - 13 years 6 months ago #101433 by mikkaa
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.

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #101452 by Mohamed Thelji
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->row =& $row; $this->setLayout('listing_'.$this->params->get('div_item_layout_type')); echo $this->loadTemplate();
Hope this will help you a little.

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #101459 by mikkaa
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 or Create an account to join the conversation.

More
13 years 5 months ago #102233 by nicolas
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 or Create an account to join the conversation.

Time to create page: 0.091 seconds
Powered by Kunena Forum