<?php
/**
 * @package  HikaShop for Joomla!
 * @version  2.2.2
 * @author  hikashop.com
 * @copyright  (C) 2010-2013 HIKARI SOFTWARE. All rights reserved.
 * @license  GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */
defined('_JEXEC') or die('Restricted access');
?><?php
global $Itemid;
$url_itemid='';
if(!empty($Itemid)){
  $url_itemid='&Itemid='.$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);