Hello Colin,
Well, if you just want to always hide the shipping price through the cart detail line, then you still have the "Show shipping price" through the "Cart" step of your checkout workflow.
Else you'll have to adapt the code through these lines :
if(!empty($this->options['show_price']) && !empty($cart->shipping) && !empty($this->options['show_shipping'])) {
?>
<tr>
<td colspan="<?php echo $row_count - 2; ?>" class="hikashop_cart_empty_footer"></td>
<td id="hikashop_checkout_cart_shipping_title" class="hikashop_cart_shipping_title hikashop_cart_title"><?php
echo JText::_('HIKASHOP_SHIPPING');
?></td>
<td class="hikashop_cart_shipping_value" data-title="<?php echo JText::_('HIKASHOP_SHIPPING'); ?>">
<span class="hikashop_checkout_cart_shipping">
<?php
if(isset($this->value)) {
echo $this->value;
} else {
$shipping_price = null;
foreach($cart->shipping as $shipping) {
if(!isset($shipping->shipping_price) && isset($shipping->shipping_price_with_tax) ) {
$shipping->shipping_price = $shipping->shipping_price_with_tax;
//$shipping->shipping_price_with_tax = 0.0;
}
if(isset($shipping->shipping_price)) {
if($shipping_price === null)
$shipping_price = 0.0;
if(empty($this->options['price_with_tax']) || !isset($shipping->shipping_price_with_tax))
$shipping_price += $shipping->shipping_price;
else
$shipping_price += $shipping->shipping_price_with_tax;
}
}
if($shipping_price !== null)
echo $this->currencyClass->format($shipping_price, $cart->full_total->prices[0]->price_currency_id);
}
?>
</span>
</td>
</tr>
<?php
}
Kind regards,
Mohamed.