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; } $app = JFactory::getApplication(); ?>
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->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++;?> config->get('group_options',0); $defaultParams = $this->config->get('default_params'); $productClass = hikashop_get('class.product'); $quantityDisplayType = hikashop_get('type.quantitydisplay'); 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')){ ?> params->get('show_cart_image')) $td = ''; else $td = ''; $taxes = $this->currencyHelper->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)) { ?> payment) && $this->payment->payment_price != 0) { ?> 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) { ?>
config->get('thumbnail_x'); $height = $this->config->get('thumbnail_y'); if(!empty($row->images)){ $image = reset($row->images); $this->image->checkSize($width,$height,$image); }else{ $image = null; } if($image && !$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] = new stdClass(); $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; } } } if(empty($optionElement->variant_name)){ if(empty($optionElement->characteristics_text)){ $text = $optionElement->product_name; }else{ $text = $optionElement->characteristics_text; } }else{ $text = $optionElement->variant_name; } echo '

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

'; $input .='document.getElementById(\'product_option_'.$optionElement->cart_product_id.'\').value=qty_field.value;'; if(empty($this->disable_modifications)) echo ''; } } $html = ob_get_clean(); if(!empty($html)){ echo '
'.$html.'
'; } ?>
row =& $row; $this->unit = true; echo $this->loadTemplate(); ?> disable_modifications)) { if($row->product_parent_id != 0 && isset($row->main_product_quantity_layout)){ $row->product_quantity_layout = $row->main_product_quantity_layout; } if($row->product_quantity_layout == 'show_select' || (empty($row->product_quantity_layout) && $this->config->get('product_quantity_display', 'show_default') == 'show_select')){ $min_quantity = $this->row->product_min_per_order; $max_quantity = $this->row->product_max_per_order; $values = array(); if($min_quantity == 0) $min_quantity = 1; if($max_quantity == 0){ $max_quantity = (int)$min_quantity * 15; if($max_quantity<$row->cart_product_quantity) $values[] = JHTML::_('select.option', $row->cart_product_quantity, $row->cart_product_quantity); }elseif($max_quantity<$row->cart_product_quantity){ $row->cart_product_quantity = $max_quantity; } if($this->params->get('show_delete',1)){ $values[] = JHTML::_('select.option', 0, '0'); } for($j = $min_quantity; $j <= $max_quantity; $j += $min_quantity){ $values[] = JHTML::_('select.option', $j, $j); } echo JHTML::_('select.genericlist', $values, 'item['.$row->cart_product_id.']', '', 'value', 'text', $row->cart_product_quantity,'hikashop_checkout_quantity_'.$row->cart_product_id); }else{ ?> params->get('show_delete',1)){ ?> cart_product_quantity; } ?> row =& $row; $this->unit = false; echo $this->loadTemplate(); ?>
params->get('price_with_tax')){ echo $this->currencyHelper->format(@$this->total->prices[0]->price_value_with_tax,@$this->total->prices[0]->price_currency_id); }else{ echo $this->currencyHelper->format(@$this->total->prices[0]->price_value,@$this->total->prices[0]->price_currency_id); } ?>
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); } } ?>
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); } } ?>
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); ?>
currencyHelper->format($this->full_total->prices[0]->price_value_with_tax,$this->full_total->prices[0]->price_currency_id); ?>
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->full_cart->cart_id.$url_itemid),'window.location.href = \''.hikashop_completeLink('cart&task=convert&cart_type=cart&cart_id='.$this->full_cart->cart_id.$url_itemid).'\';return false;'); } ?>