In Magento some features require a script to be run periodically. To run a script periodically, most operating systems have a built-in scheduled task called CRON. A CRON is a daemon which keeps running and gets activated at a said interval. It helps store owners to setup up and schedule commands which will run periodically at set time and date. Here is the tutorial for how to set up CRON …
Exact Match Search in Magento
There are two type of searching one the exact match search(AND) and other is not exact match search(OR). Exact Match(AND), it means the search implemented with the entire search phrase. Like if you have searched for ‘Samsung Mobile‘ then you will get only the results for ‘Samsung Mobile‘. Not Exact Match(OR), it means the search implemented with the specific word in search phrase. Like if you have searched for Samsung …
Automatically Select Text in an input field
Today I am showing you how to automatically select text in an input field using jQuery. By default, cursor is positioned in the text field when a user clicks on input field of HTML form, but the text not selected. But using jQuery’s select() function make it easy to select the text of input field on click on input field. Examples: Lets take first example of text input fields which …
MySQL server has gone away in Magento
Recently I faced a problem MySQL server has gone away in Magento when I was moved the code from one hosting to another hosting. Actually the problem came into notice when I try to place order sometimes it sends me back to cart page and sometimes after the successful payment via standard PayPal the order status didn’t change and remain as pending payment. Then I trace the problem by checking …
How to Add CC in Contact Us in Magento
In this post I am explaining simple code tricks to add CC in contact us email in Magento Admin under the Email Options of Contacts menu. You can add any email that you want for contact us CC email address. To see CC email address field go to System -> Configuration -> General -> Contacts and you will see Send Emails CC in Contacts -> Email Options section. So you …
How to Enable Error Log in Magento
Sometimes after moving Magento website to the production environment from development environment, we face a problem that some customized feature is not working. Sometimes third party Magento Extensions generates error to the website. Sometimes we get serious errors or broken stuffs. To find the reason behind these kind of errors you can check error log in Magento. So in this post I am writing simple steps to enable Error Log …
Important Tips For WordPress Beginner
In these days WordPress is most commonly used open-source to make a simple websites, blogs and even e-commerce websites. WordPress is completely customizable and can be used for almost anything. There are thousands of themes and plugins available for WordPress. But sometimes WordPress beginner makes some basic mistakes, So today I am sharing some important tips for WordPress beginner that should be used before doing it online. 1. Use Permalinks …
System File Path instead of URLs in Magento
Recently I found a problem with CSS and JavaScript paths in Magento when I was moving the code from one hosting to another hosting. When I completely moved the code and database I visited the admin url and front url I found CSS and JavaScript was not loading. When I checked the HTML source I found that Magento using system file path instead of urls and the HTML source code …