Hi Friends, Sometimes Magento Stores take a long time to open. And sometime it exceeds to “SQLSTATE[HY000] [2006] MySQL server has gone away”. That is due to so many queries executing during process which slows down website. That is due to heavy database due to quarantine which make database heavy and slows down a Magento… [Continue Reading]
Magento: Delete Multiple Product Images Programatically
Hi Friends, I added a post on August25 about Deleting Magento Product Images` programatically. Using that code we can delete product images indvidually. Here is the modified code to delete multiple product images using products ids. Suppose if you want to delete only 25 products from your 300 products, you can do it easily. Just… [Continue Reading]
Magento: Base Directory Structure
Hi all, Today i am going to tell you basic directory structure of Magento. This is the base/root of website which can be under public_html I am taking public_html as root which normally is This is base of website where all files/ folders of a website/application resides
1 |
echo Mage::getBaseDir('base'); |
/public_html Contains all the php code for… [Continue Reading]
Magento: Clear Magento Cache Programatically
Sometimes we don’t have admin access & we need to clear Magento cache. There are 2 ways in this case to clear it. Delete Cache folder in var It can be done by using a simple script Here I am sharing script with which we can Delete Magento Cache Easily. Create a PHP file &… [Continue Reading]
Ganesha: The Leader
The rainy season is viewed as a foreboding time. The sun is making its excursion south; the days are getting to be shorter and the evenings colder; the earth is wet, worms and snakes are wriggling out, the dividers are clammy, and there is greenery in each corner… it is Chaturmaas, the four months when… [Continue Reading]
Magento: Delete Product Images Programatically
Good Morning Friends!, I had not been online for few days due to meetings & some other tasks. And now I’m supposed to tell you tricks of Magento. When we think of removing images from products. Its been difficult to open each product & delete images from that product. Its been a tough task sometimes…. [Continue Reading]