Create an e-commerce site
This guide covers exactly how to set up a WordPress ecommerce website with the WooCommerce plugin.
The WordPress platform originally began as a way to blog online. Over the years, it has evolved into a full blown “content management system” – in other words, a backend software that can “power” any type of website – including an ecommerce website.
That said, WordPress as an ecommerce platform isn’t a good fit for everyone. Here’s a brief run down of reasons it would be a good fit:
- You want full control over your website
- You want to easily build out other portions of your site that aren’t ecommerce (blog, pages, etc)
- You don’t want the monthly & transaction fees of an integrated ecommerce platform like Shopify or BigCommerce
- You want to start small and build out your site as you grow (ie, and avoid the fees while doing so)
- You aren’t daunted by some technical work – ie, hearing the acronym “FTP” makes you more curious than scared (note – WordPress is built to be easy for first timers, but it’s not a click, click, done software either)
- You don’t plan on having a complicated payment processing system at first (ie, you’ll be using PayPal, Amazon or Google Wallet, not processing payments on your own server). WooCommerce works perfectly fine on SSL, but again, you’ll need that expertise to implement it properly
- You want a common platform where you can easily pull developers in on a project basis as you grow
Getting Started – Installing WordPress
Your absolute first step for using WordPress for an ecommerce website is to actually install WordPress on a hosting account with your domain name. Here’s a guide to setting up WordPress step by step if you don’t have it already.
Intro to WordPress Ecommerce Options
There are really 3 components that make a “regular” website an “ecommerce” website – product pages, shopping cart, and a checkout process.
You can add the ecommerce functionality to WordPress with a plugin. Plugins are separate pieces of software that you install and activate into WordPress that basically adds to what it can do.
In this case, we need a plugin that will create custom product pages, that will have a shopping cart functionality allowing individual visitors to add products to a cart throughout the time they are on the site, and that will sync up with a payments system to accept payments, and match those payments up with the visitors’ products purchased. Wow.
There are a lot of plugin options to turn your WordPress site into an ecommerce site, but by far and away the leader is WooCommerce by WooThemes.
It has the functionality, the ease of use, the reputation, community, and versatility to be a solid long term choice for an ecommerce plugin.
It’s the most search engine optimization-friendly ecommerce platform we’ve seen. We love to work with WooCommerce. It gets rid of most all duplicate content (a SEO plague for online stores) and has Schema markup built-in.
Plus, the company that creates it, WooThemes, has been a core part of the WordPress community for years. In fact, Woocommerce has been acquired by the same company that owns WordPress.com and supports the WordPress.org foundation. Since they’ve open-sourced the software…it’s not going away anytime soon.
It has support, and plenty of versatility for what you’ll need.
Oh – and it’s free.
Here’s WooTheme’s sales pitch & overview.
WooCommerce has a ton of options and tons of documentation. Here’s how we generally install it for clients. It may look daunting, but it’s really straightforward once you get a handle on the general structure.
Install Your Ecommerce Plugin
To get started with WooCommerce, navigate to your WordPress Dashboard and Add New Plugin. Search for WooCommerce, and simply install and activate WooCommerce by WooThemes.
After activating your plugin, you’ll be prompted to Install WooCommerce with a wizard to take care of the initial settings. It’s worth it.
WooCommerce needs several pages to function – including a Cart page, etc. There is one page, the Shop page, that you may want to customize. But for now, you can let the wizard install these pages.
You’ll then need to set your location, units and currency. Be sure to note your tax rates. You can edit and change them later.
And now for Shipping & Tax. You can (and will) need to change/customize this later in the Settings. But for now, you can enter in general settings to get the store started.
Then you’ll need to enter Payments. Payments are the trickiest part of running your own store. We recommend entering PayPal so that you have something to start. You can explore other options in the settings as needed.
Next you’ll need to set your theme (ie, your design / layout). WooCommerce has a lot of unique design classes that have to be covered. We recommend using the default Storefront theme as your placeholder while you set up your products and shop for new theme. I’ll cover it in coming sections.
Now that WooCommerce is installed – you can go learn more about the product, head to a New Product page or return to WordPress Dashboard. We recommend heading to the Create Your First Product page so that you can go through the walkthrough and check out the information you’ll need to enter.
If you click on “create your first product” – you’ll be sent to a new product page. We recommend explore the Product page to see what you need – but don’t actually add any new products (except for a test product to see how your design / theme looks). Your next step will be to make sure your store URL structure is correct and your WordPress Theme integrates with your new ecommerce functionality. Otherwise, you’ll create a mess for yourself later.
Aside – in addition to theme compatibility, keep in mind that there are many 3rd party plugins that will sync up with WooCommerce. Make a note to set up those options. For example – consider Analytics.
To call the ecommerce analytics available in Google Analytics powerfully useful would be quite an understatement. But you can’t take advantage of it unless your site’s analytics tracking is setup correctly.
You should be using the Google Analytics by MonsterInsights (formerly by Yoast) for your Google Analytics integration, but we want to go a step further and markup your online store with lots of specialized ecommerce tracking (like passing SKUs, and item attributes seamlessly into Analytics).
To do that, head back over to Add New plugins and search for WooCommerce Google Analytics Integration. It too is produced by WooThemes, and is free. Install and activate. You’ve just added tracking that agencies normally sell for $$$$. You can do this same process for Yoast SEO and many other plugins.
Now that you have WooCommerce installed, let’s move to the site structure before moving to General Settings.
Setup Your Online Store Structure
One huge benefit of WordPress + WooCommerce is efficient setup of permalinks ie, “permanent links.” Online stores often have a thousand ways plus one to display products. It can generate really inefficient, ugly, and search engine unfriendly URLs for your products and product categories.
Once you set up a permalink structure, it’s difficult to change. Even though the defaults are generally best, We like to confirm them before moving to General settings or anything design related. To start, go to the new WooCommerce link on your Dashboard –> WooCommerce –> Settings –> Products.
WooCommerce needs a product archive page that’s going to display all your products and/or categories. Think of it like your Blog page that displays all your recent posts, but with your products.
WooCommerce uses a standard WordPress page for this archive. By default, it’s the Shop page. You can edit that name in Pages –> All Pages. You can create a new page. You can call it whatever (ie, ‘Store’). You can leave it default.
Your visitors don’t have to see it, or you can go to the main Settings –> Reading and make it your Homepage. But it has to exist, and this is where you go to customize it.
After confirming that page, click the link to look at your Product Permalinks.
This page allows you to set your WordPress permalinks and your product permalinks. When initially setting up WordPress, you should have enabled Pretty Permalinks.
These permalinks are structured so they never conflict with blog post categories you may write. But they are customizable if you want to customize them. For example, if you have a Gloves product category…but a Gloves blog category, then by default they will be displayed as
Make sense? Awesome. Usually the defaults are cool, but if you want to customize it, then this is where you do it. We also generally choose the Product option under the Product permalink base, simply for aesthetics.
Now your online store setup is finalized. Feel free to navigate to the new Products link in the main WordPress Dashboard to create a sample product or category to see how the URLs look to you before going further.
Get a Compatible WordPress Theme
Before we get to General settings, you’ll want to make sure that your WordPress Theme is compatible and setup with WooCommerce.
As a WordPress refresher, Plugins control functionality of your website. Themes control the design and “output” of your functionality – ie, what your visitor is going to see.
A plugin like WooCommerce adds a lot of functionality that some themes aren’t built to handle or output correctly (especially themes with a lot of built-in choices). It’s important to find a theme that doesn’t produce product pages that a garbled and ugly.
That said, you’ll also want a versatile theme that can be designed, updated, and in general just give you the website you want.
There’s a few options that I recommend.
First, you can get a WooThemes theme. They are premium (ie, not free), well-made, and (of course) sync perfectly with WooCommerce. This is the easiest (especially with the integrated support) but priciest solution. Check out their selection here.
Second, you can use a WordPress default theme like Twenty-Twelve. These are free, well-made, and can be extended by installing a Child theme. Your installation probably already has one, but you can grab one via Themes -> Add New. This will be the cheapest option, but also one that requires some technical work to get the site you want.
Third, there are many websites selling WordPress themes or providing free versions.
General Store Settings
Under the WooCommerce link in the Dashboard menu, navigate to Settings and look at the General tab.
The first thing to note is all the default settings. You’ll have set up most in the wizard, but most are set by WooCommerce. They may or may not be right for your store. But either way, you’ll need to click through each section and subsection to check on them.
WooCommerce also has built-in styling for buttons, borders, and the like. If you want to get real control, you can customize these in your style.css theme file…or you can just match these to your website color scheme and everything will look great.
Also, WooCommerce allows you to enable Lightbox. It’s a piece of code that allows visitors to click on your product images and see them in a bigger, zoomable window without leaving the product page. Super-awesome.
You’ll also need to double-check the Product Image settings. Look to see what size your product images are. Are they square? What do they scale down to? In this case, WooCommerce allows you to set Catalog Images (which appear in category pages), Single Product image (the featured image on the Product page), and Product Thumbnails (which appear below the featured image on Product pages).
The image setup can get a bit complicated, but WooCommerce has excellent documentation here which you can read. But if the dimensions aren’t quite right, don’t fret since you can come to this same screen and regenerate your image dimensions.
Most of the rest of the Settings are fairly self-explanatory, or have excellent documentation. The main thing is to pay attention to detail, and take advantage of all the options that WooCommerce gives you. If you go with a platform solution, you often won’t have this many options available. And other self-hosted ecommerce solutions (like Magento) are nowhere near as user-friendly.
Walk through the settings and customize every aspect of the experience for your customer even what email they receive when they reset their password.
WooCommerce Extensions. This section is where the magic can happen.
One huge advantage of WooCommerce is the deep community of developers and apps they have that seamlessly work with the software.
Usually, when building an ecommerce store with a specialized functionality (like syncing with QuickBooks or setting up a new payment gateway), you’d need to hire a developer to program a custom solution for a problem that honestly doesn’t need to be that custom. It’d cost hours and $$$ to develop.
With WooCommerce, you get access to a huge range of extensions that you just “plugin to the plugin” and make WooCommerce go further. Most all the extensions are paid, but they cost way less and start working much faster than a custom solution.
You should check out the WooCommerce Extensions marketplace here. They are easy to add on and this tab is where you head to manage them.
So now your WordPress ecommerce store is functional and set. Next is exploring what you need an online store for in the first place – your products.
Setup Product Pages
Your theme will provide the design, look, and feel of you product pages, but here’s how to understand all that goes into your product pages. Here’s an example product page with the default setup and a default Twenty Twelve theme.
It has all the basics needed, but is also highly customizable. And all the attributes are marked up with Schema, which helps with search engine optimization.
If you have any reviews, they will also appear below the product description
Below is a full capture of the backend in WordPress that generates that page. Note especially where the content gets pulled from (ie, Main Content vs. Short Description).
A few features to call out:
- Product Categories – self explanatory, but you can add them directly from the product page
- Product Tags – add additional categorization that doesn’t need to be a product (like colors, etc)
- Product Gallery – pictures that appear as thumbnails on the product page. As the customer clicks on them, they cycle to become the “big” featured image
- Product Image – set the main feature image
But the powerhouse of the product page is the Product Data widget. This is where you set your product type, price, shipping and more. Once you figure it out, you can do all sorts of fun stuff here and sell nearly any type of product you can imagine.
WooThemes has a ton of documentation on products here. But we want to highlight the most confusing aspect. A simple product is a product with no options, no changes, and isn’t a part of a collection. It’s just a single, simple product. Like a book or something.
Grouped products allow you to put a product as part of a collection. For example, you could post a dining set that would include the chairs, tables, etc in 1 grouped product…even though they would also be individual simple products as well.
Variable products allow you to add attributes to a product (ie, small, medium, large or blue, green, red) so that you can sell 1 product, but allow customers to choose the exact variation they want.
And External Products allow you to list and sell products off your site with your retail partners.
The Inventory and Shipping options are highly customizable as well.
You can organize your products directly from the product page, but you can also organize them as a whole from the Products menu.
The category level pages also allow the creation of subcategory pages. Shipping classes, are fairly self-explanatory but allow you to customize your shipping policies and rates based on distance, weight, bulk, etc.