Displaying brand info in product listing at category page

  • Posts: 28
  • Thank you received: 0
6 years 9 months ago #274554

Hi,

I would like to display the brand of the product in the category page listing (see the attached). I'm assuming I need to edit the codes in display > views, but what is the short-code to display brands?

Thanks.

Attachments:

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

  • Posts: 4533
  • Thank you received: 612
  • MODERATOR
6 years 9 months ago #274571

Hello,

You have to create an override view from listing_img_title, that full your containers in your listing.
Before this have a look in show_block_dimensions, around line 46 (at the end of the code), you have the block that display Manufacturer or Brand in the product page.
it's start with :

if($this->config->get('manufacturer_display', 0) && !empty($this->element->product_manufacturer_id)){
	$categoryClass = hikashop_get('class.cat...
And go until end file.
Take this all this code and put it the listing_img_title view in required position, just think to remove
$this->element
for
$this->row
That will able you to add your manufacturer/Brand

Regards

Last edit: 6 years 9 months ago by Philip.
The following user(s) said Thank You: ashx88

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

Time to create page: 0.060 seconds
Powered by Kunena Forum