- Posts: 11
- Thank you received: 0
How to hide default vendor image
8 years 2 months ago #295217
by cgourlay
How to hide default vendor image was created by cgourlay
-- 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.
-- 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.
8 years 2 months ago #295219
by Jerome
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.
Replied by Jerome on topic How to hide default vendor image
Hello,
In the view "vendormarket / showcontainer_default" you will find the content
You can check if the vendor have set-up an image via :
So you can display or not the image depending that information.
Regards,
In the view "vendormarket / showcontainer_default" you will find the content
Code:
<div class="hikamarket_vendor_image">
<img src="<?php echo $this->vendor_image->url; ?>" alt=""/>
</div>
Code:
if(!empty($this->vendor->vendor_image)) {
/* ... */
}
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.181 seconds