Voici le code en entier de checkout / cart.php: setLayout('listing_price'); $this->params->set('show_quantity_field', 0); $comp_description = $this->params->get('comp_description'); if(empty($comp_description)){ $this->params->set('comp_description',JText::_('CART_EMPTY')); } ?>
rows)){ echo $this->params->get('comp_description'); }else{ if($this->config->get('print_cart',0)&&JRequest::getVar('tmpl','')!='component'){ ?> rows as $i => $row){ if(empty($row->cart_product_quantity)) continue; if(!empty($row->product_min_per_order)){ if($row->product_min_per_order>$row->cart_product_quantity){ $this->nextButton = false; $app =& JFactory::getApplication(); $app->enqueueMessage(JText::sprintf('YOU_NEED_TO_ORDER_AT_LEAST_X_X',$row->product_min_per_order,$row->product_name)); } } } $row_count = 4; ?>
params->get('show_cart_image')){ $row_count++;?> coupon) || !empty($this->shipping)){ ?> params->get('show_cart_image')) echo ''; ?> full_total->prices[0]->price_value_with_tax-$this->full_total->prices[0]->price_value,$this->currencyHelper->getRounding($this->full_total->prices[0]->price_currency_id)); if(!empty($this->coupon)){ ?> params->get('show_cart_image')) echo ''; ?> shipping)){ ?> params->get('show_cart_image')) echo ''; ?> additional)){ $exclude_additionnal = explode(',', $this->config->get('order_additional_hide', '')); foreach($this->additional as $k => $additional) { if(in_array($additional->name, $exclude_additionnal)) continue; ?> params->get('show_cart_image')) echo ''; ?> config->get('detailed_tax_display') && isset($this->full_total->prices[0]->taxes)){ foreach($this->full_total->prices[0]->taxes as $tax){ ?> params->get('show_cart_image')) echo ''; ?> params->get('show_cart_image')) echo ''; ?> payment) && $this->payment->payment_price != 0){ ?> params->get('show_cart_image')) echo ''; ?> params->get('show_cart_image')) echo ''; ?> config->get('group_options',0); foreach($this->rows as $i => $row){ if(empty($row->cart_product_quantity)) continue; if($group && $row->cart_product_option_parent_id) continue; ?> "> params->get('show_cart_image')){ ?>

row=$this->total; echo $this->loadTemplate(); ?>
params->get('price_with_tax')){ echo $this->currencyHelper->format(@$this->coupon->discount_value_without_tax*-1,@$this->coupon->discount_currency_id); }else{ echo $this->currencyHelper->format(@$this->coupon->discount_value*-1,@$this->coupon->discount_currency_id); } ?>
shipping->shipping_price) && isset($this->shipping->shipping_price_with_tax) ) { if(isset($this->value)) { echo $this->value; } else { $this->shipping->shipping_price = 0.0; $this->shipping->shipping_price_with_tax = 0.0; } } if(isset($this->shipping->shipping_price)) { if(bccomp($taxes,0,5)==0 || !$this->params->get('price_with_tax') || !isset($this->shipping->shipping_price_with_tax) ){ echo $this->currencyHelper->format(@$this->shipping->shipping_price,$this->shipping->shipping_currency_id); }else{ echo $this->currencyHelper->format(@$this->shipping->shipping_price_with_tax,$this->shipping->shipping_currency_id); } } ?>
name); ?> price_value) || empty($additional->value)) { if(bccomp($taxes,0,5)==0 || !$this->params->get('price_with_tax')){ echo $this->currencyHelper->format(@$additional->price_value,$additional->price_currency_id); }else{ echo $this->currencyHelper->format(@$additional->price_value_with_tax,$additional->price_currency_id); } } else { echo $additional->value; } ?>
tax_namekey; ?> currencyHelper->format($tax->tax_amount,$this->full_total->prices[0]->price_currency_id); ?>
currencyHelper->format($taxes,$this->full_total->prices[0]->price_currency_id); ?>
payment->payment_price) && isset($this->payment->payment_price_with_tax) ) { if(isset($this->value)) { echo $this->value; } else { $this->payment->payment_price = 0.0; $this->payment->payment_price_with_tax = 0.0; } } if(isset($this->payment->payment_price)) { if(bccomp($taxes,0,5)==0 || !$this->params->get('price_with_tax') || !isset($this->payment->payment_price_with_tax) ){ echo $this->currencyHelper->format(@$this->payment->payment_price,$this->full_total->prices[0]->price_currency_id); }else{ echo $this->currencyHelper->format(@$this->payment->payment_price_with_tax,$this->full_total->prices[0]->price_currency_id); } } ?>
currencyHelper->format($this->full_total->prices[0]->price_value_with_tax,$this->full_total->prices[0]->price_currency_id); ?>
images)){ $image = reset($row->images); $width = $this->config->get('thumbnail_x'); $height = $this->config->get('thumbnail_y'); $this->image->checkSize($width,$height,$image); if(!$this->config->get('thumbnail')){ echo ''.$image->file_name.''; }else{ ?>
image->display($image->file_path,true,$image->file_name,'style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle"', '', $width, $height); ?>

config->get('checkout_itemid'); if(!empty($checkout_itemid )){ $Itemid = $checkout_itemid ; } $url_itemid=''; if(!empty($Itemid)){ $url_itemid='&Itemid='.$Itemid; } ?> product_name; ?> config->get('show_code')) { ?> product_code; ?> rows as $j => $optionElement){ if($optionElement->cart_product_option_parent_id != $row->cart_product_id) continue; if(!empty($optionElement->prices[0])){ $display_item_price = true; } } if($display_item_price){ $this->row=&$row; $this->unit=true; echo ' '.strip_tags($this->loadTemplate()); } } ?>

extraFields['item'])){ foreach($this->extraFields['item'] as $field){ $namekey = $field->field_namekey; if(empty($row->$namekey)) continue; echo '

'.$this->fieldsClass->getFieldName($field).': '.$this->fieldsClass->show($field,$row->$namekey).'

'; } } $input=''; if($group){ foreach($this->rows as $j => $optionElement){ if($optionElement->cart_product_option_parent_id != $row->cart_product_id) continue; if(!empty($optionElement->prices[0])){ if(!isset($row->prices[0])){ $row->prices[0]->price_value=0; $row->prices[0]->price_value_with_tax=0; $row->prices[0]->price_currency_id = hikashop_getCurrency(); } foreach(get_object_vars($row->prices[0]) as $key => $value){ if(is_object($value)){ foreach(get_object_vars($value) as $key2 => $var2){ if(strpos($key2,'price_value')!==false) $row->prices[0]->$key->$key2 +=@$optionElement->prices[0]->$key->$key2; } }else{ if(strpos($key,'price_value')!==false) $row->prices[0]->$key+=@$optionElement->prices[0]->$key; } } } ?>

product_name; if(@$optionElement->prices[0]->price_value_with_tax>0){ echo ' ( + '; $this->row=&$optionElement; $this->unit=true; echo strip_tags($this->loadTemplate()).' )'; } ?>

cart_product_id.'\').value=qty_field.value;'; echo ''; } }?>
row=&$row; $this->unit=true; echo $this->loadTemplate(); ?> params->get('show_delete',1)){ ?> row=&$row; $this->unit=false; echo $this->loadTemplate(); ?>
params->get('show_quantity')){ ?> get('checkout_convert_cart') && $config->get('enable_wishlist')){ $this->params->set('cart_type','wishlist'); echo $this->cart->displayButton(JText::_('CART_TO_WISHLIST'),'wishlist',$this->params,hikashop_completeLink('cart&task=convert&cart_type=cart&cart_id='.$this->row->cart_id.$url_itemid),'window.location.href = \''.hikashop_completeLink('cart&task=convert&cart_type=cart&cart_id='.$this->row->cart_id.$url_itemid).'\';return false;'); } ?>