rows)){
$productClass = hikashop_get('class.product');
$defaultParams = $this->config->get('default_params');
$this->image = hikashop_get('helper.image');
foreach($this->rows as $cart){
$productClass->addAlias($row);
if(!@$cart->hide){
$total_quantity += $cart->cart_product_quantity;
$productClass->addAlias($cart);
$quantityLeft = $cart->product_quantity - $cart->cart_product_quantity;
$inStock = 1;
if(($cart->product_quantity - $cart->cart_product_quantity) >= 0 || $cart->product_quantity == -1){
if($cart->product_quantity == -1)
$stockText = "".JText::sprintf('X_ITEMS_IN_STOCK',JText::_('HIKA_UNLIMITED'))."";
else
$stockText = "".JText::sprintf('X_ITEMS_IN_STOCK',$cart->product_quantity)."";
}else{
if($cart->product_code != @$cart->cart_product_code){
$stockText = "".JText::_('HIKA_NOT_SALE_ANYMORE'). "";
}else{
$stockText = "".JText::_('NOT_ENOUGH_STOCK')."";
}
$inStock = 0;
}
if($k ==1)$k = 0;else $k =1;
?>
">
|
image->display(@$row->images[0]->file_path,false,@$row->images[0]->file_name,'id="hikashop_main_image_'.$cart->product_id.'" style="margin-top:5px;"','',36,46);
?>
|
bought) || !$cart->bought){
echo $cart->product_name;
}else{
echo JHTML::tooltip(implode(' ',$cart->bought), JText::_('HIKA_BOUGHT_BY'), '',$cart->product_name);
}
if($this->params->get('show_code')){
echo ' ('.$cart->product_code.')';
}
?>
|
|
prices[0])){
$cart->prices[0]->price_value=0;
$cart->prices[0]->price_value_with_tax=0;
$cart->prices[0]->price_currency_id = hikashop_getCurrency();
}
if($this->params->get('show_cart_price','-1')=='-1'){
$this->params->set('show_cart_price',$config->get('show_cart_price'));
}
if ($this->params->get('show_cart_price',1)) {
if(empty($cart->prices[0]->price_value)){
echo JText::_('FREE_PRICE');
}else{
if($config->get('price_with_tax')){
echo $this->currencyHelper->format($cart->prices[0]->price_value_with_tax,$cart->prices[0]->price_currency_id);
}
if($config->get('price_with_tax')==2){
echo JText::_('PRICE_BEFORE_TAX');
}
if($config->get('price_with_tax')==2||!$config->get('price_with_tax')){
echo $this->currencyHelper->format($cart->prices[0]->price_value,$cart->prices[0]->price_currency_id);
}
if($config->get('price_with_tax')==2){
echo JText::_('PRICE_AFTER_TAX');
}
}
}
?>
|
config->get('enable_wishlist') && $cart_type == 'cart')||$cart_type == 'wishlist')){
?>
|
cartVal->user_id){ ?>
|
';
else echo '';
}
?>
|
|
|
|
total->prices)) {
$this->total->prices[0] = new stdClass();
$this->total->prices[0]->price_value = 0;
$this->total->prices[0]->price_value_with_tax = 0;
$this->total->prices[0]->price_currency_id = hikashop_getCurrency();
}
if($config->get('price_with_tax')){
echo $this->currencyHelper->format($this->total->prices[0]->price_value_with_tax,$this->total->prices[0]->price_currency_id);
}
if($config->get('price_with_tax')==2){
echo JText::_('PRICE_BEFORE_TAX');
}
if($config->get('price_with_tax')==2||!$config->get('price_with_tax')){
echo $this->currencyHelper->format($this->total->prices[0]->price_value,$this->total->prices[0]->price_currency_id);
}
if($config->get('price_with_tax')==2){
echo JText::_('PRICE_AFTER_TAX');
}
?>
|
config->get('enable_wishlist') && $cart_type == 'cart')||$cart_type == 'wishlist')){ ?>
cart->displayButton($addText,'wishlist',$this->params,hikashop_completeLink('cart&task=convert&cart_type=cart&cart_id='.$cart_id.'&Itemid='.$Itemid),'document.getElementById(\'task\').value = \'addtocart\'; document.forms[\'hikashop_show_cart_form\'].submit(); return false;');
if($cart_type == 'wishlist' && $config->get('show_compare',0) != 0 && $config->get('wishlist_to_compare',0) != 0)
echo $this->cart->displayButton(JText::_('HIKASHOP_COMPARE_LIST'),'wishlist',$this->params,'','document.getElementById(\'task\').value = \'addtocart\'; document.getElementById(\'action\').value = \'compare\'; document.forms[\'hikashop_show_cart_form\'].submit(); return false;');
?>
|
|
|
|
|
|
|
|
ΟΛΟΚΛΗΡΩΣΗ ΠΑΡΑΓΓΕΛΙΑΣ
|