Exemple #1
0
<?php

/**
 * Product:     Layered Navigation Pro for Enterprise Edition - 16/08/12
 * Package:     AdjustWare_Nav_10.4.9_10.0.0_557110
 * Purchase ID: hXgQU3oI8FOfJ8PDCk5s6h6XPM5oH2Kx0N6TCAPkqN
 * Generated:   2013-04-22 06:59:44
 * File path:   app/code/local/AdjustWare/Nav/Block/Catalog/Layer/Filter/Price.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    acZoMhqBerCjMkZa('d6bfa49e97b94a27367ee3419d9b2966');
    class AdjustWare_Nav_Block_Catalog_Layer_Filter_Price extends Mage_Catalog_Block_Layer_Filter_Price
    {
        private $_style;
        public function __construct()
        {
            parent::__construct();
            $this->_style = Mage::getStoreConfig('design/adjnav/price_style');
            $this->setTemplate('adjnav/filter_price_' . $this->_style . '.phtml');
            $this->_filterModelName = 'adjnav/catalog_layer_filter_price';
        }
        public function getVar()
        {
            return $this->_filter->getRequestVar();
        }
        public function getDelimeter()
        {
            if (version_compare(Mage::getVersion(), '1.12.0.0', '>=')) {
                return '-';
                //magento 1.12+ "$from-$to"
Exemple #2
0
<?php

/**
 * Product:     Layered Navigation Pro for Enterprise Edition - 16/08/12
 * Package:     AdjustWare_Nav_10.4.9_10.0.0_557110
 * Purchase ID: hXgQU3oI8FOfJ8PDCk5s6h6XPM5oH2Kx0N6TCAPkqN
 * Generated:   2013-04-22 06:59:44
 * File path:   app/code/local/AdjustWare/Nav/Helper/Version.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    acZoMhqBerCjMkZa('97b148935efe848629271020b5de4f56');
    /**
     * 
     * @author ksenevich@aitoc.com
     */
    class AdjustWare_Nav_Helper_Version extends Mage_Core_Helper_Abstract
    {
        public function getProductIdChildColumn()
        {
            if (version_compare(Mage::getVersion(), '1.9') >= 0) {
                return 'child_id';
            }
            return 'product_id';
        }
        public function getProductRelationTable()
        {
            if (version_compare(Mage::getVersion(), '1.9') >= 0) {
                return 'catalog/product_relation';
            }
            return 'catalog/product_super_link';
<?php

/**
 * Product:     Layered Navigation Pro for Enterprise Edition - 16/08/12
 * Package:     AdjustWare_Nav_10.4.9_10.0.0_557110
 * Purchase ID: hXgQU3oI8FOfJ8PDCk5s6h6XPM5oH2Kx0N6TCAPkqN
 * Generated:   2013-04-22 06:59:44
 * File path:   app/code/local/AdjustWare/Nav/Model/Catalog/Product/Indexer/Configurable.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    acZoMhqBerCjMkZa('2a801c08816c5c96a461cbcd3870c1b2');
    class AdjustWare_Nav_Model_Catalog_Product_Indexer_Configurable extends Mage_Catalog_Model_Product_Indexer_Eav
    {
        /**
         * Retrieve Indexer name
         *
         * @return string
         */
        public function getName()
        {
            return Mage::helper('adjnav')->__('Configurable Product Attributes');
        }
        /**
         * Retrieve Indexer description
         *
         * @return string
         */
        public function getDescription()
        {
            return Mage::helper('adjnav')->__('Index configurable product attributes for layered navigation pro filtering');
<?php

/**
 * Product:     Layered Navigation Pro for Enterprise Edition - 16/08/12
 * Package:     AdjustWare_Nav_10.4.9_10.0.0_557110
 * Purchase ID: hXgQU3oI8FOfJ8PDCk5s6h6XPM5oH2Kx0N6TCAPkqN
 * Generated:   2013-04-22 06:59:44
 * File path:   app/code/local/AdjustWare/Nav/Model/Order/Observer.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    acZoMhqBerCjMkZa('6e88184e2c9e93f4fb5dc1b3ecf05dd4');
    class AdjustWare_Nav_Model_Order_Observer extends Mage_Core_Model_Abstract
    {
        public function onControllerFrontInitRouters($observer)
        {
            if (!Mage::registry('aitpagecache_check_14') && Mage::getConfig()->getNode('modules/Aitoc_Aitpagecache/active') === 'true') {
                if (file_exists(Mage::getBaseDir('magentobooster') . DS . 'use_cache.ser')) {
                    Mage::register('aitpagecache_check_14', 1);
                } elseif (file_exists(Mage::getBaseDir('app/etc') . DS . 'use_cache.ser')) {
                    Mage::register('aitpagecache_check_13', 1);
                }
            }
        }
    }
}
<?php

/**
 * Product:     Layered Navigation Pro for Enterprise Edition - 16/08/12
 * Package:     AdjustWare_Nav_10.4.9_10.0.0_557110
 * Purchase ID: hXgQU3oI8FOfJ8PDCk5s6h6XPM5oH2Kx0N6TCAPkqN
 * Generated:   2013-04-22 06:59:44
 * File path:   app/code/local/AdjustWare/Nav/Model/System/Config/Source/Filtering.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    acZoMhqBerCjMkZa('989ed529993e3716f63f28f0e8b1923b');
    class AdjustWare_Nav_Model_System_Config_Source_Filtering extends Varien_Object
    {
        public function toOptionArray()
        {
            $options = array();
            $options[] = array('value' => 'OR', 'label' => Mage::helper('adjnav')->__('OR'));
            $options[] = array('value' => 'AND', 'label' => Mage::helper('adjnav')->__('AND'));
            return $options;
        }
    }
}