Category and Brand link, inside products in category listing.

  • Posts: 94
  • Thank you received: 3
  • Hikaserial Standard Hikashop Business Hikashop Multisite
2 weeks 5 days ago #304373

-- HikaShop version -- : 4.0.2
-- Joomla version -- : 3.9.3
-- PHP version -- : 7.x.x

Hi

How can I display the Category name (with link to that category) and the Brand name (with link to that brand) inside products in a category listing?

Thank you

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

  • Posts: 65134
  • Thank you received: 9462
  • MODERATOR
2 weeks 4 days ago #304377

Hi,

There is no option for that. You would have to add custom code to the view file displaying the product box to load the data from the database, display the name, generate the link, etc.
If you're a developer, it shouldn't be a problem and we have some documentation explaining how to find which view file to edit and how to edit it, in order to get you started:
www.hikashop.com/support/documentation/1...-display.html#layout
Otherwise, I'll recommend to have a developer work on that for you. Any PHP developer should be able to do that, but you can also contact our partners if you want someone specialized in Hikashop:
www.hikashop.com/home/our-partners.html

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

  • Posts: 94
  • Thank you received: 3
  • Hikaserial Standard Hikashop Business Hikashop Multisite
2 weeks 4 days ago #304404

Hi

I know how to work on files to make layout overrides, I just want 2 pieces of PHP code for the above links. That's it.
If you can provide them it will be great.

Thanks

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

  • Posts: 65134
  • Thank you received: 9462
  • MODERATOR
2 weeks 3 days ago #304417

Hi,

Here is for example some code by someone else to display the categories of the product on the listing of products:
www.hikashop.com/forum/product-category-...-listing.html#276592
And here is some code for the brand of the product on the listing of products:
www.hikashop.com/support/forum/2-general...d-name-in-title.html

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

Time to create page: 0.060 seconds
Powered by Kunena Forum