Could not determine temp directory, please specify a cache_dir manually problem in Magento

After moving a Magento store from one hosting to another, Magento admin shows exception: "Could not determine temp directory, please specify a cache_dir manually". This is usually due to the Shared web hosting but our hosting was not the Shared, Here in this post I am describing how to

Get Store Email Addresses in Magento

Suppose you are developing an extension in Magento and want to send the information to the Store owner through email, For this we need the Store email address and Store owner / Sender Name on which we have to send the email, The Store Email Address are managed from

Blank Cart and Checkout page problem in Magento

I have team of 8-10 people working in the Magento for beginner to expert level of the project, one of my team member was stucking on the Blank Cart and Checkout page problem. The problem was when we put items into add to cart then cart page and checkout

How to Reset sort order on new search in Magento?

Today one of the my client has sent a new problem in his Magento Store, He has the problem with the sort order of the product in new search. In the Magento search it remembers the Sort By Order selected by the user on the new search. Let me

Your web server is configured incorrectly. As a result, configuration files with sensitive information are accessible from the outside. Please contact your hosting provider alert message in Magento admin

It is most common problem of the Magento but it is very dangerous, if there is any alert message is coming in the admin, it means anyone can access the database credentials of your Magento store from the Browser. If there is any message in admin panel just check

How to enable remember me option in Magento?

Remember Me Option is a very important functionality of the website it provides the facility to Remember the user on the same system, so that there is no need to put the credentials again and again on the same system, Remember me option in Magento is by default, but

Remove Parent Category Path From Sub Category Url In Magento

I have a website which has the 4 levels of the category and each and every category is coming in the url hence the url looks like as a very long string as http://www.abcxyz.com/test-category/test-category-level-1/test-category-level-1-1/test-category-level-1-2/test-category-level-1-3.html For this reason client wants to show only the current category name not the parent

Create Shopping Cart Price Rule Programatically in Magento

Magento provides 2 types of the product Promotions one is Catalog Price Rules and another one is Shopping Cart Price Rules, Catalog Price Rules applied on the Whole Catalog (Products) of the Magento where as Shopping Cart Price Rules are applied when the customer reaches on the shopping cart