Fantastic extensions, support is second to none too than you Manadev.

Jan 20, 2014 RonnieSunshines , https://www.ronniesunshines.com/

Certified Magento Enterprise developer Certified Magento developer Certified Magento theme developer Certified Magento specialist

Manadev is certified extension and theme
developer for Magento

How to Solve Conflict With MageWorx_CustomOptions Extension

There is a conflict with MageWorx_CustomOptions extension which replaces the whole product list toolbar with its own block, so you don‘t see new sorting options.

To resolve this conflict, the following file should be modified:

/app/code/local/MageWorx/CustomOptions/Block/Catalog/Product/List/Toolbar.php

Line 32 should be commented. New line should be added:

class MageWorx_CustomOptions_Block_Catalog_Product_List_Toolbar extends Mana_Sorting_Rewrite_Toolbar

Here is full text of corrected file:

<?php
/**
 * MageWorx
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the MageWorx EULA that is bundled with
 * this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.mageworx.com/LICENSE-1.0.html
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade the extension
 * to newer versions in the future. If you wish to customize the extension
 * for your needs please refer to http://www.mageworx.com/ for more information
 *
 * @category   MageWorx
 * @package    MageWorx_CustomOptions
 * @copyright  Copyright (c) 2014 MageWorx (http://www.mageworx.com/)
 * @license    http://www.mageworx.com/LICENSE-1.0.html
 */

/**
 * Advanced Product Options extension
 *
 * @category   MageWorx
 * @package    MageWorx_CustomOptions
 * @author     MageWorx Dev Team
 */

//class MageWorx_CustomOptions_Block_Catalog_Product_List_Toolbar extends Mage_Catalog_Block_Product_List_Toolbar
class MageWorx_CustomOptions_Block_Catalog_Product_List_Toolbar extends Mana_Sorting_Rewrite_Toolbar
{

    protected $_totalRecords;
    public function getTotalNum() {
        if (Mage::helper('cataloginventory')->isShowOutOfStock()) return parent::getTotalNum();

        if (is_null($this->_totalRecords)) {
            $collection = clone $this->getCollection();
            $collection->getSelect()->reset(Zend_Db_Select::ORDER)->reset(Zend_Db_Select::LIMIT_COUNT)->reset(Zend_Db_Select::LIMIT_OFFSET);
            $collection->setCurPage(false)->setPageSize(false);
            $collection->clear()->load();
            $this->_totalRecords = count($collection);
        }
        return $this->_totalRecords;
    }

}

We Accept: PayPal Visa MasterCard American Express Discover