config->get('group_options',0);
foreach($this->order->products as $product){
if($group && $product->order_product_option_parent_id) continue;
?>
order_product_name;?>
order->products as $j => $optionElement){
if($optionElement->order_product_option_parent_id != $product->order_product_id) continue;
if($optionElement->order_product_price>0){
$display_item_price = true;
}
}
if($display_item_price){
if($this->config->get('price_with_tax')){
echo ' '.$this->currencyHelper->format($product->order_product_price+$product->order_product_tax,$this->order->order_currency_id);
}else{
echo ' '.$this->currencyHelper->format($product->order_product_price,$this->order->order_currency_id);
}
}
}
if(hikashop_level(2) && !empty($this->fields['item'])){
foreach($this->fields['item'] as $field){
$namekey = $field->field_namekey;
if(empty($product->$namekey) && !strlen($product->$namekey)){
continue;
}
echo ' '.$this->fieldsClass->getFieldName($field).': '.$this->fieldsClass->show($field,$product->$namekey).' ';
}
}
if($group){
foreach($this->order->products as $j => $optionElement){
if($optionElement->order_product_option_parent_id != $product->order_product_id) continue;
$product->order_product_price +=$optionElement->order_product_price;
$product->order_product_tax +=$optionElement->order_product_tax;
$product->order_product_total_price+=$optionElement->order_product_total_price;
$product->order_product_total_price_no_vat+=$optionElement->order_product_total_price_no_vat;
?>
order_product_name;
if($optionElement->order_product_price>0){
if($this->config->get('price_with_tax')){
echo ' ( + '.$this->currencyHelper->format($optionElement->order_product_price+$optionElement->order_product_tax,$this->order->order_currency_id).' )';
}else{
echo ' ( + '.$this->currencyHelper->format($optionElement->order_product_price,$this->order->order_currency_id).' )';
}
}
?>
|
config->get('show_code')) { ?>
order_product_code; ?> |
invoice_type=='full'){?>
config->get('price_with_tax')){
echo $this->currencyHelper->format($product->order_product_price+$product_no_vat->order_product_tax,$this->order->order_currency_id);
}else{
echo $this->currencyHelper->format($product->order_product_price,$this->order->order_currency_id);
} ?>
|
order_product_quantity;?>
|
invoice_type=='full'){?>
config->get('price_with_tax')){
echo $this->currencyHelper->format($product->order_product_total_price_no_vat,$this->order->order_currency_id);
}else{
echo $this->currencyHelper->format($product->order_product_total_price_no_vat,$this->order->order_currency_id);
} ?>
|
invoice_type=='full'){?>
|
|
config->get('price_with_tax')){
echo $this->currencyHelper->format($this->order->order_subtotal_no_vat,$this->order->order_currency_id);
}else{
echo $this->currencyHelper->format($this->order->order_subtotal_no_vat,$this->order->order_currency_id);
} ?>
|
order->order_discount_price != 0){ ?>
|
|
config->get('price_with_tax')){
echo $this->currencyHelper->format($this->order->order_discount_price*-1.0,$this->order->order_currency_id);
}else{
echo $this->currencyHelper->format(($this->order->order_discount_price-@$this->order->order_discount_tax)*-1.0,$this->order->order_currency_id);
} ?>
|
order->additional)) {
$exclude_additionnal = explode(',', $this->config->get('order_additional_hide', ''));
foreach($this->order->additional as $additional) {
if(in_array($additional->order_product_name, $exclude_additionnal)) continue;
?>
|
|
order_product_price)) {
$additional->order_product_price = (float)$additional->order_product_price;
}
if(!empty($additional->order_product_price) || empty($additional->order_product_options)) {
echo $this->currencyHelper->format($additional->order_product_price, $this->order->order_currency_id);
} else {
echo $additional->order_product_options;
}
?> |
order->order_shipping_price!=0 || ($this->config->get('price_with_tax') && $this->order->order_shipping_tax!=0)) { ?>
|
|
config->get('price_with_tax')){
echo $this->currencyHelper->format($this->order->order_shipping_price-@$this->order->order_shipping_tax,$this->order->order_currency_id);
}else{
echo $this->currencyHelper->format($this->order->order_shipping_price-@$this->order->order_shipping_tax,$this->order->order_currency_id);
} ?>
|
order->order_payment_price!=0){ ?>
|
|
currencyHelper->format($this->order->order_payment_price,$this->order->order_currency_id); ?>
|
|
|
order->order_subtotal-$this->order->order_subtotal_no_vat+$this->order->order_shipping_tax-$this->order->order_discount_tax;
$total_no_vat = (float)$this->order->order_full_price - (float)$taxes;
echo $this->currencyHelper->format($total_no_vat,$this->order->order_currency_id);
?>
|
order->order_subtotal-$this->order->order_subtotal_no_vat+$this->order->order_shipping_tax-$this->order->order_discount_tax;
if($taxes != 0){
if($this->config->get('detailed_tax_display') && !empty($this->order->order_tax_info)){
foreach($this->order->order_tax_info as $tax){ ?>
|
|
currencyHelper->format($tax->tax_amount,$this->order->order_currency_id); ?>
|
|
|
currencyHelper->format($taxes,$this->order->order_currency_id); ?>
|
|
|
currencyHelper->format($this->order->order_full_price,$this->order->order_currency_id); ?>
|