Retina Macbook Battery Life after Migration Assitant – Dock Process Fix
I recently migrated from my 17″ MBP to the new retina macbook and noticed that the battery life was not what I was expecting. The retina macbook seemed to be running hot and that battery would drain far quicker than expected.
After a bit of Googling I found some discussions on the Apple forums around a hung “dock” process that can get left over after migration assistant runs. In my case I used a time machine backup to restore to the new Retina Mac so I decided to take a look.
I pulled up the activity monitor (global search for activity monitor) and sure enough I had a “dock” process running 100% of one of the cores. I took a look at my battery and had 75% power and 1:35 remaining (of course this is not what is expected with a new MBP).
If you see the same issue on your machine follow these steps to kill the dock process
1. Open terminal
2. Run the following commands (hit enter after each one)
The dock will disappear for a second and then come back and the process should be remove from your activity monitor. As soon as I ran the commands the system slowed down and the CPU usage went way down. As I type the battery says 64% and 3:12 hours – much more like it.
Hope this helps someone.
Share this Post
Add WYSIWYG Editor Support For Transactional Emails – Magento
I had a request today to to add WYSIWYG support to the transactional emails section under “System” > “Transactional Emails”.
It appears that it is pretty simple.
1. Add the Fonits WYSIWYG Editor Extension (free) – http://www.magentocommerce.com/magento-connect/fontis-wysiwyg-editor.html
2. Add the transactional emails text editor Text Area CSS ID value in “System” > “Configuration” > “Admin” > WYSIWYG Editor – the value is template_text
3. Save the config
You should how have WYSIWYG editing ability in transactional emails.
NOTE: You can also watch this Video for this info – http://vimeo.com/4316043
This extension lets you hide certain states on the front end to prevent customers from selecting them during checkout, estimate shipping, payment, etc. One common issue that many users of Magento (Community and Enterprise) is the list of states (regions for non-US) displayed to customers during checkout, registration and estimate shipping. When Magento is first installed a number of items exist for the United States that are not commonly shipped to or need specific shipping rules.
States commonly excluded from Magento stores:
Federated States Of Micronesia
Northern Mariana Islands
In the case of my medical supplies business we had flat rate shipping to the lower 48 states from our supplier and were charged very high rates to ship to Hawaii, Alaska and other US territories and military locations. We wanted to handle shipments to these locations offline to ensure we did not lose our shirts on shipping.
One way to achieve this is to modify the collections.php file here (created local version): /app/code/core/Mage/Directory/Model/Mysql4/Region/Collection.php to alter the regions array returned. If you like getting into the code and want to redo this update when you upgrade Magento this might work well for you.
There is now a FREE way remove displayed options in shipping and billing in the administrative interface via a new extension. The “Remove or Change States and Regions” extension is the first extension developed in a joint venture between my company and Eltrino consulting (a team of Magento Rockstars based in Keiv).
Instructions for use:
Here is how it works:
Download and install the extension from Magento Connect
Once installed a new menu item appears under “System” > “Configuration” > “Sales” with the title “Region Management”
After selecting “Region Management” the configuration screen is displayed. Click “New Region Configuration” to add exclusions for a Country (multiple Countries can be configured by adding additional configurations.
Use the “Common Settings” select option to pre-select certain common settings or select specific values based on your needs. The options here will be modified based on customer requests but to launch we will be providing the following options for the United States:
Lower 48 States – Excludes military locations, US territories and Alaska and Hawaii
50 States Only – Excludes military locations and US territories
Save your updates and clear the Magento Cache (System > Cache Management > Flush Magento Cache).
Check your customer website and the excluded options will be removed.
The extension effects the system in the following ways:
Excluded States or Regions are removed from all Store Views and Websites
Excluded areas are not displayed as options for billing address, shipping address, estimate shipping and customer registration.
For customers who want further flexibility we are going to offer an enhanced version which allows these values to be specified by store/website and for each area (IE – allow Hawaii for registration but not for shipping address). Please contact me if you are interested in this enhanced version and would like to give input on features and functions.
The extension is compatible with Community 1.4 – 1.6 and is currently under review for a Trusted Extension for MagentoGo. The extension is also upgrade proof and will be modified if needed for future Magento versions.
Please let me know what you think in the comments area below. If you have ideas for additional extensions you would like to see from the NjcMedia & Eltrino partnership please let me know. We have around 40 extensions in mind which are all coming soon…
Share this Post
Magento OneStepCheckout A/B Test
One of my major Magento Enterprise customers just launched the onestepcheckout extsion – http://www.onestepcheckout.com as an A/B test with the existing multi-step checkout process. We are using Google Website Optimizer to test the variations and I will have some data starting today.
I will update this post with results of the test. I know others have experienced a lift with this extension and I am excited to see how it works for us.
Share this Post
Exclude Keynote from Google Analytics
Here is a quick post found on the keynote site on how to remove keynote sessions from Google Analytics. We recently added GA to the Ford site I run and wanted to exclude our monitoring visits to get real results.
Reset “Use Secure in Front End or Admin” in Database – Magento
I ran into an issue this week where I switched on SSL on a development site and then realized the SSL cert was not installed correctly. This is a big issue in Magento because there is no way to get back to the admin to switch it back off.
If this ever happens do the following to switch back:
1. Open up your admin panel (cPanel or other)
2. Go to phpMyAdmin (if MySql)
3. Find your Magento Database
4. Find table “core_config_data”
5. Look for the columns “web/secure/use_in_frontend” and “web/secure/use_in_adminhtml”
6. Edit both values, make them equal to “0”
After this is done you will be back in action.
Share this Post
Ford Accessories – Live
The new Ford Motor Company Accessories website is now launched on Magento Enterprise.
CMS Block in Transactional Email Template – Magento
Promotional content in order confirmation, shipping notice, etc emails are common in eCommerce – here is a tiny code snippet to make this possible in Magento (Community or Enterprise). I recently added this to the Enterprise implementation for my current customer and everything appears to be working without issue.
1. Add reference to CMS block in transactional email template