Skip to main content

[solved] Disable show of products images in shipping block

More
9 years 1 month ago - 8 years 6 months ago #277044 by flexsus
-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.5
-- PHP version -- : 7.0.10
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : none

Hi Hikashop

I cannot find the option in back-end to disable view of product images in shipping block (show_block_shipping.php)
Code:
if($several_groups && !empty($this->options['show_shipping_products']))

Should I then just delete line 43-64?
Code:
if($several_groups && !empty($this->options['show_shipping_products'])) { ?> <ul class="hikashop_shipping_products"> <?php foreach($group->products as $product) { if($product->cart_product_quantity <= 0) continue; $thumbnail = ''; if(!empty($product->images)) $thumbnail = $product->images[0]->file_path; $image = $this->imageHelper->getThumbnail($thumbnail, array(50,50), array('default' => true), true); $name = $this->escape(strip_tags($product->product_name)); ?> <li class="hikashop_shipping_product"><img src="<?php echo $image->url; ?>" alt="<?php echo $name; ?>" data-toggle="hk-tooltip" data-title="<?php echo $name; ?>"/></li> <?php } ?> </ul> <?php } ?>

Regards,
Henrik

.ninja { color: black; visibility: hidden; }
In case of fire:
1. git commit
2. git push
3. exit building
Last edit: 8 years 6 months ago by flexsus.

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

More
9 years 1 month ago #277047 by Mohamed Thelji
Hello Henrik,

Using the some CSS code like display:none; on the "hikashop_shipping_products" will probably do the job
www.hikashop.com/support/documentation/1...the-display.html#css

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

Time to create page: 0.160 seconds
Powered by Kunena Forum