Hide vendors in a HikaShop Content Module

  • Posts: 49
  • Thank you received: 0
11 years 9 months ago #122358

Hi,
I want to hide the vendors in the HikaShop Content Modules, but not on the product page.
I found only a generally switch on/of to show the vendors, but then I also do not see the vendor on the product page.

Tank you for your help
Lutz

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

  • Posts: 26253
  • Thank you received: 4040
  • MODERATOR
11 years 9 months ago #122395

Hi,

HikaMarket uses an HikaShop trigger to fill some information into the HikaShop product list which it stored into the "extraData" object.

After that, HikaShop display the extraData in different parts.
If you edit a product listing view (like "listing_img_title" or other "listing_img.." views) you will see some code like that:

<?php if(!empty($this->row->extraData->top)) { echo implode("\r\n",$this->row->extraData->top); } ?>

<?php if(!empty($this->row->extraData->afterProductName)) { echo implode("\r\n",$this->row->extraData->afterProductName); } ?>

<?php if(!empty($this->row->extraData->bottom)) { echo implode("\r\n",$this->row->extraData->bottom); } ?>
You can remove it in order to hide the HikaMarket adds. You can remove the vendor name and also the edit button.

We will see to improve this feature. What I want to integrate is a new option for the product listing modules which will allow you to choose if you want to display the vendor name or not. But the way to integrate it by trigger is not very simple and I want to use something "nice" that other developers could also use if they want to create new features for HikaShop.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 49
  • Thank you received: 0
11 years 9 months ago #122585

Thank you Jerome,
it works.

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

Time to create page: 0.044 seconds
Powered by Kunena Forum