Hi Xavier,
Something strange happens: I added separate columns for the product code and the MSRP-price and in both cases in the first row the code and price are empty. If I select another product the same happens, only with the first code or MSRP price. See image.
This is the added code for the product code in the showcart.php:
<tr class="hikashop_show_cart row<?php echo $k; if((int)$cart->cart_product_quantity == 0) echo " hika_wishlist_green";?>">
<td data-title="<?php echo JText::_('HIKA_NUM'); ?>" align="center"><?php echo $i; ?></td>
<!-- ADDED -->
<td class="hikashop_product_code_row">
<?php echo $this->row->product_code; ?>
</td>
<!-- END ADDED -->
And this code for the MSRP price:
</td>
<!-- ADDED -->
<td>
<?php
// if(isset($this->element->main->product_msrp) && !(@$this->row->product_msrp > 0.0) )
// $this->row->product_msrp = $this->element->main->product_msrp;
// if(isset($this->row->product_msrp) && @$this->row->product_msrp > 0.0 && JRequest::getCmd('layout') == 'show' && $this->params->get('from_module','') == ''){ ?>
<span class="hikashop_product_msrp_price hikashop_product_price_full">
<span class="hikashop_product_msrp_price_title">
<?php
// echo JText::_('PRODUCT_MSRP_BEFORE');
?>
</span>
<?php
$mainCurr = $this->currencyHelper->mainCurrency();
$app = JFactory::getApplication();
$currCurrency = $app->getUserState( HIKASHOP_COMPONENT.'.currency_id', $mainCurr );
$msrpCurrencied = $this->currencyHelper->convertUniquePrice($this->row->product_msrp,$mainCurr,$currCurrency);
if($msrpCurrencied == $this->row->product_msrp)
echo $this->currencyHelper->format($this->row->product_msrp,$mainCurr);
else
echo $this->currencyHelper->format($msrpCurrencied,$currCurrency); //.' ('.$this->currencyHelper->format($this->row->product_msrp,$mainCurr).')';
?>
</span>
<?php // } ?>
</td>
<!-- END ADDITION -->
<td data-title="<?php echo JText::_('CART_PRODUCT_UNIT_PRICE'); ?>" align="right">
How can I solve this?
Thanks again!