Installing WordPress e-Commerce Plugin and Activating Third-party Themes

by Brian Bondari | February 2010 | WordPress

Before we can dive into listing and selling our products, we first need to install the WP e-Commerce plugin and then address a few cosmetic and functionality issues. Right out-of-the-box, a default installation of WordPress works great as a typical blogging platform, but the needs for an e-commerce site are different. Let's begin work on converting WordPress from a blog-centric platform to a business-focused platform.

This article by Brian Bondari, author of WordPress 2.9 E-Commerce, will cover:

  • Installing the WP e-Commerce plugin
  • Installing third-party themes
  • Enabling and disabling comments

Installing the WP e-Commerce plugin

At this point, you should already have WordPress installed. If you do not, please visit http://wordpress.org/download/ to grab the latest version. Some web hosts also offer a one-click install of WordPress via cPanel or another control panel.

Installing the WP e-Commerce plugin is no different than installing other WordPress plugins. There are two ways to do so:

  1. Directly from the WordPress Dashboard
  2. Manually using your favorite FTP program

Installing from the WordPress Dashboard

This is by far the easiest and most convenient way to install new plugins for WordPress. All you need to do is log in to your Dashboard, expand the Plugins menu in the left-hand side column, and click on Add New, as shown in the following screenshot:

WordPress 2.9 E-Commerce

In the Search box that displays on the resulting page, ensure that Term is selected as your search option, and perform a search for e-commerce. The WP e-Commerce plugin should be one of the top results. The following screenshot shows the Search Plugins option:

WordPress 2.9 E-Commerce

All that's left is to click on the Install button, and WordPress will handle the rest of the installation for you. The following screenshot shows the search results with the WP e-Commerce plugin on top:

WordPress 2.9 E-Commerce

Manual installation

If you prefer the tried-and-true method of installing plugins manually, that's also an option. First, download the latest version from:

http://getshopped.org

or use the alternate download site:

http://wordpress.org/extend/plugins/wp-e-commerce/.

Next, decompress the downloaded ZIP archive with the tool of your choice. We should now have a folder called wp-e-commerce, as shown in the following screenshot:

WordPress 2.9 E-Commerce

Using your preferred FTP/SFTP program, we need to upload that entire folder to the wp-content/plugins directory on your server. See the following screenshot to view the wp-e-commerce folder properly uploaded next to a few other plugins:

WordPress 2.9 E-Commerce

The full path to the wp-e-commerce directory should be: <your WordPress install>/wp-content/plugins/wp-e-commerce/.

Plugin activation

Now that we have successfully uploaded the plugin, let's activate it. Open your web browser and log in to your WordPress Dashboard. Under the Plugins section, you should now see an inactive plugin called WP Shopping Cart, as shown in the following screenshot:

WordPress 2.9 E-Commerce

Click on the Activate button to enable the plugin. On the left-hand side of the WordPress Dashboard, we now have a new section called Products, as shown in the following screenshot:

WordPress 2.9 E-Commerce

Congratulations! You have now taken the first crucial step in building an e-commerce site. Let's now continue paving the way for our shop by addressing some functional and cosmetic issues within WordPress.

Installing third-party themes

One of the major strengths of WordPress is how easy it is to customize and alter. This is especially true with regard to themes. If you have the knowledge, experience, and patience to build a theme for your site completely from scratch, you are more than welcome to do so. For the rest of us, it's easy to install and tweak a pre-built third-party theme.

The official site for previewing and downloading WordPress themes is: http://wordpress.org/extend/themes/. As of this writing, there are well over 1,000 themes available. Most third-party themes are free, though a number of so-called "premium" themes are also available at varying price levels.

For our upcoming music shop, let's select a free theme. One popular and appropriate option is the Crafty Cart theme (http://bit.ly/crafty-cart). This theme just happens to be designed with the e-Commerce plugin for WordPress in mind, making it a solid starting point for our shop. Another nice feature is that it's completely free to use for both personal and commercial purposes.

No matter which theme you choose, all third-party themes can be installed in one of the following two ways:

  1. Through the WordPress Dashboard
  2. Manually via FTP

Sign up for a Packt account to see the rest of this article

Now that you've read a few articles, you might want to consider signing up for a Packt account. It takes a matter of seconds, will give you access to all the articles on PacktPub.com, and once you've signed up you'll be returned here to carry on reading your article.

Furthermore, you'll gain access to nine free ebooks, and be offered a free trial of PacktLib, Packt's online library. Simply enter your details here, or log in to your existing account.

Log in

...or register

confusion by
in the Enabling Disabling comments section you say: If you delete the entire span class for the post-comments element (as highlighted in the code), you will remove the Write Comment link from all your posts. However there is no highlighted text in your code example. Do you mean the entire line: is that all?
thanks and... by
Thanks. That was great. I have it installed and now I need to add products... but how?

Post new comment

Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Sort A-Z