How to Disable All Community Extensions in Magento Quickly

If you want to disable all community extension very quickly please follow below instruction. please go to app/etc/local.xml and add below code hope it will work nicely don’t forget clear the var cache after add below code. If you face any problem please comments I will answer shortly. <disable_local_modules>true</disable_local_modules>  

Continue Reading

Disable/ Remove “Estimate Shipping and Tax” Magento 1.9

We can solve this issue two way. First way : Create local.xml file with below code and upload your theme layout folder <?xml version=”1.0″ encoding=”UTF-8″ ?> <layout> <checkout_cart_index> <reference name=”content”> <block name=”checkout.cart”> <remove name=”checkout.cart.shipping”/> </block> </reference> </checkout_cart_index> </layout>   Second way : Remove the following code from /app/design/frontend/yourtheme/layout/checkout.xml <block type=”checkout/cart_shipping” name=”checkout.cart.shipping” as=”shipping” template=”checkout/cart/shipping.phtml”/>

Continue Reading

SQLSTATE[HY000] [2002] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

It occurs several issue. please check below:  Please check your DB. Is it up or not. Please check your net connection. Error show due to script can not reach DB within time. it seems that your code this portion is not working general db.adapter = PDO_MYSQL db.params.host = 192.168.0.233 db.params.username = root db.params.password = my_password db.params.dbname = “mydatabasename” either the …

Continue Reading

What is the difference regarding module loading between Mage::app() and Mage::run() ?

Mage::app() :: initializes the application object with all variables and objects which are required to access Magento. Initialize application without request processing. Mage::run() :: is the Frontend entry point which means it loads the configuration files, module configuration, load Database and handles request processing. Run application. Run process responsible for request processing and sending response.

Continue Reading

Magento catalogsearch does not working

It is very simple. Please follow the step. Go to this path app/code/core/mage/catalogsearch/block/result.php copy this file and make app/code/local/mage/catalogsearch/block/result.php step 1 ) Uncomment lines 149 and 150 $this->getListBlock() ->setCollection($this->_getProductCollection()); step 2 ) Modify the line 172 change this line $this->_productCollection = $this->getListBlock()->getLoadedProductCollection(); to $this->_productCollection = Mage::getSingleton(‘catalogsearch/layer’)->getProductCollection(); Goto the admin  panel (System -> Index Management) and Reindex Goto the System -> …

Continue Reading

Standard Product Types in Magento

Magento has 6 standard product types, including: Simple product, grouped product, configurable product, virtual product, bundle product and downloadable product. Simple product:  is an instance of physical products, having a single configuration (one-size-fits-all). For example: a cell-phone, a monitor… Grouped product:  is a product type that allows you to create a new product using one or more existing products, such …

Continue Reading