Blog

May 26, 2011
15 comments
Why do some startups fail?

There are many variables that are instrumental to the failure of a startup. Having a failed startup myself, I studied and analyzed my thoughts and actions during this period to see what I did wrong; and what I could have done to improve the process of beginning and maintaining my startup. I wish I would have been more knowledgeable or had a mentor to coach me through some of the surprises and feelings I encountered but, sometimes the process of learning is a lonely and difficult one, and one that you’ll never forget. So, I would like to share some of the insights that I’ve gathered from my journey and hopefully, you won’t make the same mistakes I made.

August 28, 2010
3 comments
Drupal - How to install Drush

What is Drush?

It's a command line shell and scripting interface for Drupal. The Drush Package Manager allows you to download, enable, disable, uninstall, update modules/themes/profiles/translations from the command line in a very simple way (apt-get style) - just type,

 drush dl views 

August 21, 2010
6 comments
5 ways to test the Usability of your E-commerce Site

Usability testing is a technique used to evaluate a product, service or website by testing it on users and it's good practice to perform tests in combination with Split testing. Having an e-commerce site myself, I had to pay special attention to the elements on pages and where my products are positioned in relation to the page. There are so many variables involved in optimizing the usability of page such as dimensions, colors, copy, etc. If users cannot find your product, then they cannot buy it either.

There are many methods for studying usability, but the most basic and useful is done through user testing. Here are some tools to help you in studying if your missing out on sales, and what you can do to improve conversions.

July 30, 2010
2 comments
Magento - Add Static Block to CMS Page

Static blocks are a great way to add sections of HTML to your CMS or Catalog pages. I'm going to show you how to add a static block to a CMS page.

It's a 2 step process and a very simple one. First, create your static block by going to CMS->Static Blocks. You will use the identifier of your static block to reference it on the CMS page. Edit the CMS page you would like this block to appear in, and add this code in the location where you would like it to show up:

June 15, 2010
2 comments
MySQL - Using a Column Name Inside the LIKE Keyword

When using the LIKE keyword in a MySQL query, I use it the most typical way, LIKE '%STRING%'. One day, I was in need to use a column name instead and could not figure out how to do it! At first, I tried to just replace the string value with the column name like this, LIKE (%t.column%). The end-result was not good as the LIKE keyword expects a string.

So, I thought of trying the CONCAT() function since that returns a string. And it worked!

 LIKE CONCAT('%', t.column) 

Hope this helps someone!

June 14, 2010
2 comments
MySQL - How to Export and Import tables with the Command Line

2 commands I use often throughout the day is importing and exporting large databases into MySQL VIA the command line. Here is how I do it where "USERNAME" is your username, "PASSWORD" is your password and "DATABASE" is your database name.

To Export:

 mysqldump -uUSERNAME -pPASSWORD DATABASE | gzip -c > ~/dump_2010-06-14.sql.gz 

June 11, 2010
8 comments
Magento - Get the Total Price of items currently in the Cart

Ever wanted to get the total price of items in your Magento cart? Here you go:

<?php echo $this->helper('checkout')->formatPrice(Mage::getSingleton('checkout/cart')->getQuote()->getGrandTotal()); ?>
June 08, 2010
4 comments
Magento - Contact Form Not Submitting Bug

Since the new release of Magento, people have been encountering a lot of problems. One of them in particular, seem to be the contact form. The error is, "Unable to submit your request. Please, try again later." If you're on Magento 1.4 and get this error when submitting the contact form, that's because your template (theme) is not fully compatible with 1.4. Your Magento theme is overriding the form.phtml file with its own version, which doesn't have the new line in it. Here's what you'll need to do to quickly fix this error:

May 21, 2010
3 comments
Google Analytics - How to manually Track Clicks on Outbound Links

You can use Google Analytics to track clicks on links that lead away from your site. Because links that lead away from your site are not automatically tracked, you will need to manually tag all outbound links you want to track. To do this, you'll add some JavaScript customizations to your page and to the links you want to track.

May 17, 2010
2 comments
Magento extensions and modern e-commerce

For an online retailer, choosing an e-commerce software platform is one of the most important decisions. Depending on the size of the business, the key requirements could vary from robustness and scalability critical for large retailers to the need for simplicity and flexibility for small store owners. Perhaps it is the ability to effortlessly meet the diverse needs of disparate audiences that has made Magento one of the fastest growing e-commerce applications globally. Already, the Magento e-commerce suite has carried out over US$25 billion in transactions via the 30,000+ merchants who rely on this platform, including some from the Internet Retailer Top 500 list. No wonder then that the platform continues to receive international acclaim, most recently from well known research organization Forrester Research which highlighted Magento as 'unique' among various e-commerce technology providers.