Exemple #1
0
/**
 * @package		DigiCom
 * @author 		ThemeXpert http://www.themexpert.com
 * @copyright	Copyright (c) 2010-2015 ThemeXpert. All rights reserved.
 * @license 	GNU General Public License version 3 or later; see LICENSE.txt
 * @since 		1.0.0
 */
defined('_JEXEC') or die;
// Load Jquery
//
// We'll only load this js if show cart in popup option is set from admin setting
if ($this->configs->get('afteradditem', 0) == "2") {
    JHTML::_('behavior.modal');
    JFactory::getDocument()->addScript(JURI::base() . "media/digicom/assets/js/createpopup.js");
}
$cart_itemid = DigiComSiteHelperDigicom::getCartItemid();
$bsGrid = array(1 => 'span12', 2 => 'span6', 3 => 'span4', 4 => 'span3', 6 => 'span2');
$column = $this->category->params->get('category_cols', 3);
?>
<div id="digicom">
	<div class="digi-categories">

		<?php 
if ($this->category->params->get('show_cat_title', 1) or $this->category->params->get('show_cat_image', 1) or $this->category->params->get('show_cat_intro', 1)) {
    ?>
		<!-- Category Info -->
		<div class="category-info clearfix">
			<!-- Category Name -->
			<?php 
    if ($this->category->params->get('show_cat_title', 1) && !empty($this->category->title)) {
        ?>