Monthly Archive: May 2015
Magento: Resize image in custom module in magento
In this article I’ll discuss how to resize image in custom module in Magento. First step is Open your module “helper/data.php” and paste the below code in your helper class. Second Step is, use...
Magento: Category Image Re-size
We don’t have any function to re-size the category image, but we can use this code for category image resize and extend category model to your local system or your custom module XML in...
Magento: Product Image Re-size with out frame or removing white space
When we re-size product image we will get white space in border, so we can remove that white space when product image is re-sized Use this code to re-size the product image with out...
Magento: Displaying Price filter of catgeory or layer filter in magento programmatically
If you need to display layer price filter, we can display in 2 type, one is calling default block but issue is some time price will not display if you click price filter or...
PhP: Display Your Latest Tweet Using PHP
To display your latest Tweet using PHP use this below code:
MySql: How to reset mysql root user password
This article will guide you on how to reset mysql root user password. Quick and easy four steps to Set / change / reset the MySQL root password on Ubuntu Linux. Step 1: Presumming...
Magento: Get parent category, sub-category and product count
Here is a quick and complete code to load parent category from current category page and to get sub categories of parent category along with their product count. Hope it helps. Enjoy……….:)
WordPress: WordPress Auto login by username
Create a autologin.php page with following script and upload to word press root.
Magento: How to get all shopping cart items and total
In this article I’ll talk about how to get all shopping cart items and total in Magento Shopping Cart. lets move on to the point.
Magento: Installer script to remove the customer attribute & data by code
Installer script to remove the customer attribute & data by code.
Magento: Programatically login to Magento admin section by username
Programatically Auto login to Magento admin section by username Create a PHP file with below script and access in the URL You will be automatically logged in to admin section and redirected to start...
Magneto: Remove cart or quote item by customer ID or Email Address
Script to remove the shopping cart / quote items of the customer using customer ID or customer Email. Create a PHP file with below script and upload it into root folder of the Magento....
Magento: New order email confirmation not being sent (magento 1.9.1)
Starting with Magento 1.9.1 the emails are not being sent directly during checkout but instead are being queued. The queue is being processed via your Magento cronjob – please ensure this has been set...
Magento: Fundamentals of Magento Development
Fundamentals of Magento Development Essential development skills for implementing and customizing solutions on the Magento eCommerce platform Target Audience Developers who want to learn the architecture, terminology, and core functionality of Magento, along with...
Magento: Find Magento cron jobs status
The cron job is a background process and there is no option to check the cron jobs status from Magento admin section. But one might be curious to know if the crontab is properly...
Magento: Display Subcategories of current category
Display subcategories of the current category if it has sub categories. If it doesn’t have the sub categories then display parent category with its sub categories. Category structure will be displayed upto two child...
Magento: Restrict admin access to only approved IP addresses using HTACCESS
Restrict admin access to only approved IP addresses Remove admin access to specific IP addresses Note: Assuming that the administration path is “admin”. If your admin path is different then replace “admin” with your...