How to hide default vendor image

  • Posts: 11
  • Thank you received: 0
5 years 8 months ago #295217

-- HikaShop version -- : 3.5.0
-- HikaMarket version -- : 2.1.1
-- Joomla version -- : 3.8.10
-- PHP version -- : 7.0.x

Good morning all;

For the life of me I am unable to find an option to not display the Default Vendor Image in HikaMarket. Even with no image, there is some padding that indents the vendor description.

Is there an option to turn off/hide the default vendor image in the configuration settings? Or is this something that needs to be changed via CSS?

Thanks.

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
5 years 8 months ago #295219

Hello,

In the view "vendormarket / showcontainer_default" you will find the content

<div class="hikamarket_vendor_image">
	<img src="<?php echo $this->vendor_image->url; ?>" alt=""/>
</div>
You can check if the vendor have set-up an image via :
if(!empty($this->vendor->vendor_image)) { 
 /* ... */
}
So you can display or not the image depending that information.

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.

Moderators: Obsidev
Time to create page: 0.059 seconds
Powered by Kunena Forum