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(); ?>
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 '';
}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 '';
}
?>
|
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(); ?> | '; 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)) { ?> |
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); ?> |