config->get('checkout_itemid','0'); if(!empty($itemid_for_checkout)){ $url_checkout = hikashop_completeLink('checkout&Itemid='.$itemid_for_checkout); }else{ $url_checkout = hikashop_completeLink('checkout'.$url_itemid); } $this->setLayout('listing_price'); $this->params->set('show_quantity_field', 0); $desc = $this->params->get('msg'); $cart_type = $this->params->get('cart_type', 'cart'); if ($cart_type == 'wishlist') { $convertText = JText::_('WISHLIST_TO_CART'); $displayText = JText::_('DISPLAY_THE_WISHLIST'); $displayAllText = JText::_('DISPLAY_THE_WISHLISTS'); $emptyText = JText::_('WISHLIST_EMPTY'); } else { $convertText = JText::_('CART_TO_WISHLIST'); $displayText = JText::_('DISPLAY_THE_CART'); $displayAllText = JText::_('DISPLAY_THE_CARTS'); $emptyText = JText::_('CART_EMPTY'); } if (empty($desc) && $desc != '0') { $this->params->set('msg', $emptyText); } if (!headers_sent()) { header('Cache-Control: no-store, no-cache, must-revalidate'); header('Cache-Control: post-check=0, pre-check=0', false); header('Pragma: no-cache'); } $cart_type = $this->params->get('cart_type', 'cart'); if ($this->params->get('from', 'no') == 'no') { $this->params->set('from', JRequest::getString('from', 'display')); } if (empty($this->rows)) { $desc = trim($this->params->get('msg')); if (!empty($desc) || $desc == '0') { echo $this->notice_html; ?>