PATH:
home
/
sparklp6
/
public_html
/
sparklerfilters-org
/
components
/
com_j2store
/
templates
/
default
<?php /** * @package J2Store * @copyright Copyright (c)2014-17 Ramesh Elamathi / J2Store.org * @license GNU GPL v3 or later * * Bootstrap 2 layout of products */ // No direct access defined('_JEXEC') or die; JFactory::getDocument()->addScript(JURI::root(true).'/media/j2store/js/filter.js'); $item_id = "&Itemid=".$this->active_menu->id; $actionURL = JRoute::_('index.php?option=com_j2store&view=products'.$item_id); $filter_position = $this->params->get('list_filter_position', 'right'); ?> <div itemscope itemtype="https://schema.org/BreadCrumbList" class="j2store-product-list bs2" data-link="<?php echo JRoute::_($this->active_menu->link.'&Itemid='.$this->active_menu->id);?>"> <?php echo J2Store::plugin()->eventWithHtml('BeforeViewProductListDisplay',array($this->products));?> <?php echo J2Store::modules()->loadposition('j2store-product-list-top'); ?> <?php if ($this->params->get('show_page_heading')) : ?> <div class="page-header"> <h1> <?php echo $this->escape($this->params->get('page_heading')); ?> </h1> </div> <?php endif; ?> <div class="row-fluid"> <?php //make sure filter is enable if($this->params->get('list_show_filter', 0)): if($filter_position == 'left'): ?> <div class="j2store-sidebar-filters-container span3"> <?php echo J2Store::modules()->loadposition('j2store-filter-left-top'); ?> <?php echo $this->loadTemplate('filters');?> <?php echo J2Store::modules()->loadposition('j2store-filter-left-bottom'); ?> </div> <?php endif; ?> <?php endif; ?> <?php //make sure filter is enable if($this->params->get('list_show_filter', 0)):?> <div class="span9"> <?php else:?> <div class="span12"> <?php endif; ?> <?php if($this->params->get('list_show_top_filter', 1)):?> <?php echo $this->loadTemplate('sortfilter');?> <?php endif; ?> <?php if(isset($this->products) && $this->products):?> <?php $col=$this->params->get('list_no_of_columns', 3); $total = count($this->products); $counter = 0;?> <?php foreach($this->products as $product):?> <?php if(!$product->params instanceof JRegistry) { $product->params = new JRegistry('{}'); } ?> <!-- Make sure product is enabled and visible @front end --> <?php // if($product->enabled && $product->visibility):?> <?php $rowcount = ((int) $counter % (int) $col) + 1; ?> <?php if ($rowcount == 1) : ?> <?php $row = $counter / $col; ?> <div class="j2store-products-row <?php echo 'row-'.$row; ?> row-fluid"> <?php endif;?> <div class="span<?php echo round((12 / $col));?>"> <div itemprop="itemListElement" itemscope="" itemtype="https://schema.org/Product" class="j2store-single-product multiple j2store-single-product-<?php echo $product->j2store_product_id; ?> product-<?php echo $product->j2store_product_id; ?> pcolumn-<?php echo $rowcount;?> <?php echo $product->params->get('product_css_class','');?>"> <?php $this->product = $product; $this->product_link = JRoute::_('index.php?option=com_j2store&view=products&task=view&id='.$this->product->j2store_product_id.$item_id); ?> <?php try { $type = $product->product_type; if(isset($type) && !empty($type)) { echo $this->loadTemplate(strtolower($type)); } } catch (Exception $e) { echo $e->getMessage(); } ?> <!-- QUICK VIEW OPTION --> <?php if($this->params->get('list_enable_quickview',0)):?> <a data-toggle="modal" class="btn btn-default" href="<?php echo JRoute::_('index.php?option=com_j2store&view=products&task=view&id='.$this->product->j2store_product_id.'&tmpl=component'); ?>" data-target="#product_model_<?php echo $this->product->j2store_product_id;?>"><i class="fa fa-eye"></i> <?php echo JText::_('J2STORE_PRODUCT_QUICKVIEW');?></a> <!-- Modal --> <div class="modal fade" id="product_model_<?php echo $this->product->j2store_product_id;?>" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-body"><div class="te"></div></div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo JText::_('J2STORE_CLOSE');?></button> </div> </div> <!-- /.modal-content --> </div> <!-- /.modal-dialog --> </div> <!-- /.modal --> <?php endif;?> </div> </div> <?php $counter++; ?> <?php if (($rowcount == $col) or ($counter == $total)) : ?> </div> <?php endif; ?> <?php // endif; ?> <?php endforeach;?> <form id="j2store-pagination" name="j2storepagination" action="<?php echo JRoute::_('index.php?option=com_j2store&view=products&filter_catid='.$this->filter_catid.$item_id); ?>" method="post"> <?php echo J2Html::hidden('option','com_j2store');?> <?php echo J2Html::hidden('view','products');?> <?php echo J2Html::hidden('task','browse',array('id'=>'task'));?> <?php echo J2Html::hidden('boxchecked','0');?> <?php echo J2Html::hidden('filter_order','');?> <?php echo J2Html::hidden('filter_order_Dir','');?> <?php echo J2Html::hidden('filter_catid',$this->filter_catid);?> <?php echo JHTML::_( 'form.token' ); ?> <div class="pagination"> <?php echo $this->pagination->getPagesLinks(); ?> </div> </form> <?php else:?> <div class="row-fluid"> <div class="span12"> <h5> <?php echo JText::_('J2STORE_NO_RESULTS_FOUND');?></h5> </div> </div> <?php endif;?> </div> <?php //make sure filter is enable if($this->params->get('list_show_filter')):?> <?php if($filter_position == 'right'): ?> <div class="j2store-sidebar-filters-container span3"> <?php echo J2Store::modules()->loadposition('j2store-filter-right-top'); ?> <?php echo $this->loadTemplate('filters');?> <?php echo J2Store::modules()->loadposition('j2store-filter-right-bottom'); ?> </div> <?php endif; ?> <?php endif; ?> </div> <!-- end of row-fluid --> <?php echo J2Store::modules()->loadposition('j2store-product-list-bottom'); ?> </div> <!-- end of product list -->
[-] default_options.php
[edit]
[-] default_images.php
[edit]
[-] view_title.php
[edit]
[-] view_images.php
[edit]
[-] view_downloadable.php
[edit]
[-] default_sku.php
[edit]
[-] view_simple.php
[edit]
[-] view_notabs.php
[edit]
[-] view_options.php
[edit]
[-] default_description.php
[edit]
[-] view_price.php
[edit]
[-] view_sku.php
[edit]
[-] price.php
[edit]
[-] default_configurable.php
[edit]
[-] default_price.php
[edit]
[-] view_tabs.php
[edit]
[-] default.php
[edit]
[-] view_configurableoptions.php
[edit]
[-] default_configurableoptions.php
[edit]
[-] default_variableoptions.php
[edit]
[-] view_cart.php
[edit]
[-] default_filters.php
[edit]
[-] cart.php
[edit]
[-] default_cart.php
[edit]
[-] default_downloadable.php
[edit]
[-] view_stock.php
[edit]
[-] default_simple.php
[edit]
[-] view_ldesc.php
[edit]
[-] view_brand.php
[edit]
[-] view_crosssells.php
[edit]
[-] view_configurable.php
[edit]
[-] view.php
[edit]
[-] default_sortfilter.php
[edit]
[-] default_title.php
[edit]
[-] view_sdesc.php
[edit]
[-] view_variableoptions.php
[edit]
[-] default_variable.php
[edit]
[-] view_upsells.php
[edit]
[-] view_specs.php
[edit]
[+]
..
[-] default_stock.php
[edit]
[-] view_variable.php
[edit]