Magento Resource | E-Commerce Generation Explorer

TAG | module

This may a simply question, but I still want point out where can fully disable module, so you need go to module config file, like /etc/YourMyModule.xml, and set the active parametar to false, like:

1
2
3
4
5
6
7
8
9
<?xml version='1.0'?>
<config>
<modules>
<YourMyModule>
<active>false</active>
<codepool>local</codepool>
</YourMyModule>
</modules>
</config>

All done!

·

Toolbar.php file location:
app/code/core/Mage/Catalog/Block/Product/List/Toolbar.php

Your _construct() function should be modified to look something like:

1
2
3
4
5
6
7
$this->_availableOrder = array(
‘position’ => $this->__(’Best Value’),
‘name’ => $this->__(’Name’),
‘price’ => $this->__(’Price’),
’special_price’ =>$this->__(’Special Price’),
‘ordered_qty’ => $this->__(’Quantity soled’),
);

Next we open the list.phtml inside /template/catalog/product/ folder. And you need to find the:

1
$_productCollection=$this->getLoadedProductCollection();

(more…)

· ·

Theme Design by devolux.nh2.me