Free disk space on Windows 7

Windows 7 Home SP1

1. The first and most important tool, Disk Cleanup:

disk_cleanup

Also click Clean up system files and new options of cleanup will appear, in particular Service Pack Backup Files and Windows Update Cleanup.

2. Delete the content of Windows temporary folder, usually C:\Windows\Temp.

3. From C:\Users\<UserName>, clean C:\Users\<UserName>\AppData\Local\Temp.

4. Delete cache for all browsers.

5. Next, defragment all your volumes.

Search and autocomplete with Magento EE

Template for search form and autocomplete is in /app/design/frontend/enterprise/default/template/catalogsearch/form.mini.phtml

where we can see this

/js/scriptaculous/controls.js

After the Ajax call, updateChoices() function will actually update the displayed autocomplete results.

Magento tools common commands

List rewrite conflicts

Reset module to certain version

Reindex

Magento and mcrypt

PHP extension mcrypt must be loaded to install Magento 1.

Ubuntu

For Ubuntu sudo apt-get install php5-mcrypt does not install the extension into mods-available.
You need to :

and then :

OS X 10 El Capitan

Link

Magento Email Templates

Go to System > Transactional Emails : Add New Template.

All the “base” templates will display in the list under  Load default template > Template.

Base templates are those added in module’s etc/config.xml with

Email template files are located in /app/locale/<store>/template/email/<file.html>.

Move live WordPress site to local

Export DB from live and import it to local DB.
After that, identify live and local site URL’s and run the following:

Create and configure MySQL users (including root)

Create new user and grant privileges on DB

Update root password