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')); } if($this->paymentType == 'no'){ $this->nextButton = false; } ?>
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++;?> > params->get('show_cart_image')) $td = ''; else $td .= ''; }else{ $td = ''; if($this->params->get('show_cart_image')) $td .= ''; else $td .= ''; } $taxes = round($this->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) || !empty($this->shipping) || !empty($this->additional) || bccomp($taxes,0,5)) { ?> coupon)) { ?> shipping)) { ?> additional)) { $exclude_additionnal = explode(',', $this->config->get('order_additional_hide', '')); foreach($this->additional as $k => $additional) { if(in_array($additional->name, $exclude_additionnal)) continue; ?> config->get('detailed_tax_display') && isset($this->full_total->prices[0]->taxes)) { foreach($this->full_total->prices[0]->taxes as $tax) { ?> payment) && $this->payment->payment_price != 0) { ?> config->get('group_options',0); $defaultParams = $this->config->get('default_params'); $productClass = hikashop_get('class.product'); foreach($this->rows as $i => $row){ if(empty($row->cart_product_quantity)) continue; if($group && $row->cart_product_option_parent_id) continue; $productClass->addAlias($row); ?> 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); } ?>
value)) { echo $this->value; } else { $shipping_price = null; foreach($this->shipping as $shipping) { if(!isset($shipping->shipping_price) && isset($shipping->shipping_price_with_tax) ) { $shipping->shipping_price = $shipping->shipping_price_with_tax; } if(isset($shipping->shipping_price)) { if($shipping_price === null) $shipping_price = 0.0; if(bccomp($taxes,0,5)==0 || !$this->params->get('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->currencyHelper->format($shipping_price, $this->full_total->prices[0]->price_currency_id); /**siuntimas 160 eilute originali, 161 prideta*/ echo ' (' . $this->currencyHelper->format( $this->currencyHelper->convertUniquePrice($shipping_price, $this->full_total->prices[0]->price_currency_id, $latis_currency_id), $latis_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{ ?>
true,'forcesize'=>$this->config->get('image_force_size',true),'scale'=>$this->config->get('image_scale_mode','inside')); $img = $this->image->getThumbnail(@$image->file_path, array('width' => $width, 'height' => $height), $image_options); if($img->success) { echo ''.$this->escape(@$image->file_name).''; } ?>

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) || !strlen($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;'; if(empty($this->disable_modifications)) echo ''; } }?>
row=&$row; $this->unit=true; echo $this->loadTemplate(); ?> disable_modifications)){ ?> params->get('show_delete',1)){ ?> cart_product_quantity; } ?> row=&$row; $this->unit=false; echo $this->loadTemplate(); ?>
disable_modifications) && $this->params->get('show_quantity')){ ?> get('checkout_convert_cart') && $config->get('enable_wishlist') && (($config->get('hide_wishlist_guest', 1) && hikashop_loadUser() != null) || !$config->get('hide_wishlist_guest', 1))){ $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;'); } ?>