Enabling WordPress for e-Commerce – Part II: Initial Setup and Configuration

In Part I of this series, I provided an overview of four different free options for integrating an e-Commerce setup into WordPress. Ultimately, I decided to use the open-source YAK (Yet Another Kart) shopping cart plugin. As of this writing, the current version of YAK is 1.0, and WordPress is 2.2.1.

Get WordPress Going

Now it is time to install and configure WordPress. Installing WordPress is fairly easy. If you must install from scratch, WordPress offers a famous 5-minute installation guide. Many web hosts also offer easy, 1-click installation of WordPress. One such host that I recommend is A2 Hosting, as installing WordPress with them literally took about four seconds.

Once you have WordPress installed, choose a theme that you like (or design your own). There are literally thousands of themes available (some much better than others). I prefer simplicity over flashiness, so I settled on an elegant 2-column theme that’s widget ready and includes an “options” page.

No matter what theme you choose, let’s work on making it a little less “bloggy” and more like a traditional web site. 🙂

To Comment, or Not to Comment?

Unless you have a need for “comments” on your e-Commerce site, I suggest disabling comments entirely. Navigate to Options, then Discussion, and uncheck the options about comments:


If after disabling comments, your theme shows any indications of “No Comments” or “Comments Off,” you can rip those out pretty easily. Navigate to Presentation, then Theme Editor, and then choose Single Post on the right. Find and delete this little snippet of code (note: you should make a backup of the file just to be safe):

< ? php comments_template(); ?>

Depending on your theme, do the same thing on the file called something like Page or Single Page.

Static Front Page

Newer versions of WordPress have an option to use a static front page rather than display the latest posts. Since all YAK products will show up as posts, it’s wise to use a static front page. Create a new page that you would like to use for the front of your site (I called mine Welcome). Navigate to Options, then Reading.


Select your page from the list. Voila.

Bring In the Widgets

If you’re a WordPress user, you probably already know about Widgets. They’re slick little drag-and-drop icons that allow for easily changing your sidebar(s). Here is a screenshot:


For an e-Commerce site, Widgets are the ultimate tool. Here are a few ideas: Create a “Featured Product” widget and rotate it out once a week. Create a drop-down list with links to product categories. Add notices about sales or discounts. The possibilities are endless.

Install YAK

Now let’s add YAK, the backbone of our WordPress e-Commerce site. Install YAK as you would any other WordPress plugin (ManagePlugins — click Activate). Under the Manage menu, you will find a new entry for yak.


At this point, you should configure YAK’s Settings to your needs. There’s a plethora of options, but some of the important ones to configure are:

  • Currency Symbol – such as $, £, €
  • Money Format – the format of the digits (decimal places)
  • Currency Format – a combination of the previous two settings (for the creation of a result such as $100.00)
  • Default Country – USA, Canada, Tokelau, whatever
  • Product Category Name – Since each product will appear in a post, you need to set a category for your wares. The default is simply products, which works for me.

Note: be sure to also set a value for the Auto Discount option, as by default to offers a slight discount on all items. Set it to the value of 1 if you do not want to automatically offer a discount.


I overlooked this option at first, and this drove me crazy until I noticed it. I couldn’t figure out why none of my prices worked! 🙂

When you are finished, click Update Options. Congratulations, you have finished the initial setup and configuration for both WordPress and YAK.

Part III of this series will cover the fun part: adding products to your site and setting up the payment system. Stay tuned.

Update: Part III has arrived.

If you enjoyed this article, please subscribe to receive future updates.

Related Posts Plugin for WordPress, Blogger...

7 thoughts on “Enabling WordPress for e-Commerce – Part II: Initial Setup and Configuration

  1. Over the past few days, I have been trying to decide if WordPress was going to be a bit over the line in regards to my tech abilities.

    I have been gathering info which led me to your posts.

    After reading through, I have decided to for it.

    I just wanted to say thank you very much for sharing your hard work, trials and tribulations here.

    It is because of your posts, that I have decided to go for it. The detailed information and support links you provided were just enough to give me the confidence to move forward with WordPress.

    Thank you !

  2. George – it’s comments like yours that make me do what I do. I’m glad the information was helpful.

    Best of luck with your endeavor.

  3. I would love to use this but am not seeing how it is possible with iWeb/mobleme/mac, my web hosting set up and computer. Any direction on that for those of us new to the game?

    Thanks, your blog gives me hope of creating my own ecommerce website.

  4. Thanks so much for your post. Now i can starting designing some awesome 3d models (for home designers) to sell on my website. I wonder if its a good idea to sell 3d models on a architecture site, anyways am doing it (nothing try, nothing done). Thanks again

Comments are closed.