Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
WooCommerce Cookbook
WooCommerce Cookbook

WooCommerce Cookbook: WooCommerce makes it easy to create, design, and manage your own personalized eCommerce store - this WooCommerce tutorial eBook will show you how to get started

eBook
$27.98 $39.99
Paperback
$48.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

WooCommerce Cookbook

Chapter 1. WooCommerce Basics

In this chapter, we will cover:

  • Installing WooCommerce
  • Setting your store location and currency
  • Finding documentation on WooThemes.com
  • Installing WooCommerce plugins
  • Installing official WooThemes plugins
  • Manually creating WooCommerce pages
  • Creating a WooCommerce plugin
  • Adding a currency to WooCommerce

Introduction

A few years ago, building an online store used to be an incredibly complex task. You had to install bulky software onto your own website and pay expensive developers a significant sum of money to customize even the simplest elements of your store. Luckily, nowadays, adding e-commerce functionality to your existing WordPress-powered website can be done by installing a single plugin. In this chapter, we'll go over the settings that you'll need to configure before launching your online store with WooCommerce. Most of the recipes in this chapter are simple to execute. We do, however, add a relatively complex recipe near the end of the chapter to show you how to create a plugin specifically for WooCommerce. If you're going to be customizing WooCommerce with code, it's definitely worth looking at that recipe to know the best way to customize WooCommerce without affecting other parts of your site.

The recipes in this chapter form the very basics of setting up a store, installing plugins that enhance WooCommerce, and managing those plugins. There are recipes for official WooCommerce plugins written using WooThemes as well as a recipe for unofficial plugins. Feel free to select either one. In general, the official plugins are better supported, more up to date, and have more functionality than unofficial plugins. You could always try an unofficial plugin to see whether it meets your needs, and if it doesn't, then use an official plugin that is much more likely to meet your needs.

At the end of this chapter, your store will be fully functional and ready to display products. In Chapter 2, Adding Products, we will learn how to add products to our store.

Installing WooCommerce

WooCommerce is a WordPress plugin, which means that you need to have WordPress running on your own server to add WooCommerce. The first step is to install WooCommerce. You could do this on an established website or a brand new website—it doesn't matter. Since e-commerce is more complex than your average plugin, there's more to the installation process than just installing the plugin.

Getting ready

Make sure you have the permissions necessary to install plugins on your WordPress site. The easiest way to have the correct permissions is to make sure your account on your WordPress site has the admin role.

How to do it…

There are two parts to this recipe. The first part is installing the plugin and the second step is adding the required pages to the site. Let's have a look at the following steps for further clarity:

  1. Log in to your WordPress site.
  2. Click on the Plugins menu.
  3. Click on the Add New menu item. These steps have been demonstrated visually in the following screenshot:
    How to do it…
  4. Search for WooCommerce.
  5. Click on the Install Now button, as shown in the following screenshot:
    How to do it…
  6. Once the plugin has been installed, click on the Activate Plugin button. You now have WooCommerce activated on your site, which means we're half way there. E-commerce platforms need to have certain pages (such as a cart page, a checkout page, an account page, and so on) to function. We need to add those to your site.
  7. Click on the Install WooCommerce Pages button, which appears after you've activated WooCommerce. This is demonstrated in the following screenshot:
    How to do it…

How it works…

WordPress has an infrastructure that allows any WordPress site to install a plugin hosted on WordPress.org. This is a secure process that is managed by WordPress.org.

Installing the WooCommerce pages allows all of the e-commerce functionality to run. Without installing the pages, WooCommerce won't know which page is the cart page or the checkout page. Once these pages are set up, we're ready to have a basic store up and running.

Note

If WordPress prompts you for FTP credentials when installing the plugin, that's likely to be a permissions issue with your web host. It is a huge pain if you have to enter FTP credentials every time you want to install or update a plugin, and it's something you should take care of. You can send this link to your web host provider so they know how to change their permissions. You can refer to http://www.chrisabernethy.com/why-wordpress-asks-connection-info/ for more information to resolve this WordPress issue.

Setting your store location and currency

WooCommerce is an e-commerce platform that can work anywhere in the world. You can enable it to use any location or currency. WooCommerce was originally created by developers in the UK, so the default settings are all UK-based. If you don't live in the UK, you'll have to change your store location and currency.

Getting ready

You'll need a WordPress site with WooCommerce installed.

How to do it…

Since you're looking for ways to customize your store functionality, you can do a lot using the WooCommerce settings pages. Before looking through code or asking for a developer's help, it's worth looking through all of the settings pages to see whether any issue you have can be fixed right there. Changing the store location and currency can both be done on the settings pages with a couple of clicks, by performing the following steps:

  1. Go to WooCommerce | Settings:
    How to do it…
  2. Click on the Base Location setting and start typing the name of your province or country. Many countries, such as the United States, have different provinces, so it's best to see whether your province is listed in WooCommerce. If it is, select the province; if not, select your country. Have a look at the following screenshot:
    How to do it…
  3. Scroll down to the Currency Options section.
  4. From the Currency dropdown, select your currency.

How it works…

WooCommerce has a huge list of countries and currencies built in. You can select the right one on the Settings screen and WooCommerce will save this information in the database and use it for shipping, taxes, and other purposes. You can programmatically add more countries and currencies to WooCommerce, and those updated lists will show up on the settings pages.

Note

If your currency doesn't appear in the list, it can be manually added. You may also refer to the Adding a currency to WooCommerce recipe at the end of this chapter.

Finding documentation on WooThemes.com

WooCommerce has been developed by WooThemes, a WordPress theme and plugin development shop. In addition to developing the plugin, they've also created hundreds of pages of documentation for WooCommerce and all of the extensions.

If you want to dig into exactly what settings are available and how they interact with other settings, you should know how to find the documentation in the first place. Some people like to read through the documentation ahead of time and others like to explore the settings without reading the documentation and only refer to it if they are stuck. Either way works.

How to do it…

The documentation can be accessed directly via the WooThemes website. It can also be accessed from your WordPress site. Follow these steps to find the documentation:

  1. In the WordPress admin, click on the Plugins menu to see the list of installed plugins.
  2. Click on the Docs link under WooCommerce, as shown in the following screenshot, which will take you to the documentation on http://www.woothemes.com:
    How to do it…
  3. Now that you're in the documentation section, navigate to the section you need. Getting Started is great for someone just starting their store, Codex is great for people who want to customize WooCommerce or their theme, and Extensions is great for any WooCommerce extensions you may have.
    How to do it…

Installing WooCommerce plugins

WooCommerce is open source and free, which means that any developer can add extra functionality to WooCommerce. Some developers may add this extra functionality with a WordPress plugin and then release the plugin either for free or as a premium plugin.

There are three likely places to get a WooCommerce plugin: from WooThemes, from WordPress.org, or from a third-party website. In this recipe, we'll be installing a plugin obtained from a third-party site. Installing a WooCommerce plugin from WordPress.org is similar to installing WooCommerce. We will have a look at how to install official WooThemes plugins in the next recipe.

Getting ready

Make sure you have the necessary permissions to install plugins on your WordPress site and that you have WooCommerce installed.

How to do it…

We're going to be downloading a plugin I created as an example of how to create an extra WooCommerce settings page, by performing the following steps:

  1. Go to https://gist.github.com/BFTrick/b5e3afa6f4f83ba2e54a/.
  2. Click on Download Gist.
    How to do it…
  3. Make sure your plugin is in the .zip format. By looking at the downloaded file, we can see that our file ends in .tar.gz, which is not the right format:
    How to do it…

    We need to convert this to the .zip format. Here's what you need to do on a Mac operating system:

    1. Double-click on the .tar.gz file, which will create a new folder.
    2. Right-click on the new folder and click on Compress gistb5e3afa6f4f83ba2...9.

      And this is what you need to do on a Windows operating system:

    3. Windows cannot extract a .tar.gz file natively. You'll have to install a software to do so. A free tool is 7-Zip, which can be found at http://www.7-zip.org/.
    4. In your WordPress admin, click on the Plugins menu and then on Add New:
      How to do it…
    5. Click on Upload Plugin:
      How to do it…
    6. On the new screen, choose the zipped file to be uploaded and click on Install Now.
    7. Once the plugin has finished installing, click on the Activate Plugin link. The following screen should appear:
    How to do it…

You now have a WooCommerce plugin installed on your site. If you want to see what this plugin does, you can navigate to the WooCommerce settings page and click on Settings Demo Tab.

How it works…

WordPress can import any ZIP file. As long as the plugin was created correctly, WordPress shouldn't have any problems running the plugin. If there is a problem, WordPress will let you know that the plugin has invalid code.

Installing official WooThemes plugins

WooThemes doesn't just create the WooCommerce plugin. They also create standalone plugins and hundreds of extensions that add extra functionality to WooCommerce. The beauty of this system is that WooCommerce is very easy to use because users only add extra complexity when they need it. If you only need simple shipping options, you don't ever have to see the complex shipping settings.

On the WooThemes website, you may browse for WooCommerce extensions, purchase them, and download and install them on your site. WooThemes has made the whole process very easy to maintain. They have built an updater similar to the one in WordPress, which, once configured, will allow a user to update a plugin with one click instead of having to through the whole plugin upload process again.

Getting ready

Make sure you have the necessary permissions to install plugins on your WordPress site. You also need to have a WooThemes product. There are several free WooThemes products including Pay with Amazon which you can find at http://www.woothemes.com/products/pay-with-amazon/.

How to do it…

There are two parts to this recipe. The first part is installing the plugin and the second step is adding your license for future updates. Follow these steps:

  1. Log in to http://www.woothemes.com.
  2. Click on the Downloads menu:
    How to do it…
  3. Find the product you wish to download and click on the Download link for the product. You will see that you get a ZIP file.
    How to do it…
  4. On your WordPress site, go the Plugins menu and click on Add New.
  5. Click on Upload Plugin.
  6. Select the file you just downloaded and click on the Install Now button.
  7. After the plugin has finished installing, click on the Activate Plugin link.

You now have WooCommerce as well as a WooCommerce extension activated on your site. They're both functioning and will continue to function. You will, however, want to perform a few more steps to make sure it's easy to update your extensions:

  1. Once you have an extension activated on your site, you'll see a link in the WordPress admin: Install the WooThemes Updater plugin. Click on that link:
    How to do it…
  2. The updater will be installed automatically.
  3. Once it is installed, you need to activate the updater.
  4. After activation, you'll see a new link in the WordPress admin: activate your product licenses. Click that link to go straight to the page where you can enter your licenses. You could also navigate to that page manually by going to Dashboard | WooThemes Helper from the menu.
    How to do it…
  5. Keep your WordPress site open in one tab and log back in to your WooThemes account in another browser tab.
  6. On the WooThemes browser tab, go to My Licenses and you'll see a list of your products with a license key under the heading KEY:
    How to do it…
  7. Copy the key, go back to your WordPress site, and enter it in the Licenses field.
  8. Click on the Activate Products button at the bottom of the page. The activation process can take a few seconds to complete.
  9. If you've successfully put in your key, you should see a message at the top of the screen saying so.
    How to do it…

How it works…

A plugin that's not hosted on WordPress.org can't update without someone manually reuploading it. The WooThemes updater was built to make this process easier so you can press the update button and have your website do all the heavy lifting.

Note

Some websites sell official WooCommerce plugins without a license key. These sales aren't licensed and you won't be getting updates, bug fixes, or access to the support desk. With a regular website, it's important to stay up to date. However, with e-commerce, it's even more important since you'll be handling very sensitive payment information. That's why I wouldn't ever recommend using a plugin that can't update.

Refer to the preceding recipe, Installing WooCommerce plugins, for more details. There are several screenshots in that recipe about the general process of uploading a WordPress plugin.

Manually creating WooCommerce pages

Every e-commerce platform will need to have some way of creating extra pages for e-commerce functionality, such as a cart page, a checkout page, an account page, and so on. WooCommerce prompts to helps you create these pages for you when you first install the plugin. So if you installed it correctly, you shouldn't have to do this. But if you were trying multiple e-commerce systems and for some reason deleted some pages, you may have to recreate those pages.

How to do it…

There's a very useful Tools menu in WooCommerce. It's a bit hard to find since you won't be needing it everyday, but it has some pretty useful tools if you ever need to do some troubleshooting. One of these tools is the one that allows you to recreate your WooCommerce pages. Let's have a look at how to use that tool:

  1. Log in to the WordPress admin.
  2. Click on WooCommerce | System Status:
    How to do it…
  3. Click on Tools:
    How to do it…
  4. Click on the Install Pages button:
    How to do it…

How it works…

WooCommerce keeps track of which pages run e-commerce functionality. When you click on the Install Pages button, it checks which pages exist and if they don't exist, it will automatically create them for you. You could create them by creating new WordPress pages and then manually assigning each page with specific e-commerce functionality. You may want to do this if you already have a cart page and don't want to recreate a new cart page but just copy the content from the old page to the new page. All you want to do is tell WooCommerce which page should have the cart functionality. Let's have a look at the following manual settings:

  • The Cart, Checkout, and Terms & Conditions page can all be set by going to WooCommerce | Settings | Checkout
  • The My Account page can be set by going to WooCommerce | Settings | Accounts

There's more...

You can manually set some pages, such as the Cart and Checkout page, but you can't set subpages. WooCommerce uses a WordPress functionality called end points to create these subpages. Pages such as the Order Received page, which is displayed right after payment, can't be manually created. These endpoints are created on the fly based on the parent page. The Order Received page is part of the checkout process, so it's based on the Checkout page. Any content on the Checkout page will appear on both the Checkout page and on the Order Received page.

You can't add content to the parent page without it affecting the subpage, but you can change the subpage URLs. The checkout endpoints can be configured by going to WooCommerce | Settings | Checkout | Checkout Endpoints.

Creating a WooCommerce plugin

Unlike a lot of hosted e-commerce solutions, WooCommerce is entirely customizable. That's one of the huge advantages for anyone who builds on open source software. If you don't like it, you can change it. At some point, you'll probably want to change something that's not on a settings page, and that's when you may want to dig into the code. Even if you don't know how to code, you may want to look this over so that when you work with a developer, you would know they're doing it the right way.

Getting ready

In addition to having admin access to a WordPress site, you'll also need FTP credentials so you can upload a plugin. You'll also need a text editor. Popular code editors include Sublime Text, Coda, Dreamweaver, and Atom. I personally use Atom. You could also use Notepad on a Windows machine or Text Edit on a Mac in a pinch.

How to do it…

We're going to be creating a plugin that interacts with WooCommerce. It will take the existing WooCommerce functionality and change it. These are the WooCommerce basics. If you build a plugin like this correctly, when WooCommerce isn't active, it won't do anything at all and won't slow down your website. Let's create a plugin by performing the following steps:

  1. Open your text editor and create a new file. Save the file as woocommerce-demo-plugin.php.
  2. In that file, add the opening PHP tag, which looks like this: <?php.
  3. On the next line, add a plugin header. This allows WordPress to recognize the file as a plugin so that it can be activated. It looks something like the following:
    /**
     * Plugin Name: WooCommerce Demo Plugin
     * Plugin URI: https://gist.github.com/BFTrick/3ab411e7cec43eff9769
     * Description: A WooCommerce demo plugin
     * Author: Patrick Rauland
     * Author URI: http://speakinginbytes.com/
     * Version: 1.0
     *
     * This program is free software: you can redistribute it and/or modify
     * it under the terms of the GNU General Public License as published by
     * the Free Software Foundation, either version 3 of the License, or
     * (at your option) any later version.
     *
     * This program is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     * GNU General Public License for more details.
     *
     * You should have received a copy of the GNU General Public License
     * along with this program. If not, see <http://www.gnu.org/licenses/>.
     *
     */
  4. Now that WordPress knows that your file is a plugin, it's time to add some functionality to this. The first thing a good developer does is makes sure their plugin won't conflict with another plugin. To do that, we make sure an existing class doesn't have the same name as our class. I'll be using the WC_Demo_Plugin class, but you can use any class name you want. Add the following code beneath the plugin header:
    if ( class_exists( 'WC_Demo_Plugin' ) ) { 
        return;
    }
    
    class WC_Demo_Plugin { 
    
    } 
  5. Our class doesn't do anything yet, but at least we've written it in such a way that it won't break another plugin. There's another good practice we should add to our plugin before we add the functionality, and that's some logic to make sure another plugin won't misuse our plugin. In the vast majority of use cases, you want to make sure there can't be two instances of your code running. In computer science, this is called the Singleton pattern. This can be controlled by tracking the instances of the plugin with a variable. Right after the WC_Demo_Plugin { line, add the following:
    protected static $instance = null;
    
    
    /**
     * Return an instance of this class.
     *
     * @return object A single instance of this class.
     * @since  1.0
     */
    public static function get_instance() {
        // If the single instance hasn't been set, set it now.
        if ( null == self::$instance ) {
            self::$instance = new self;
        }
    
        return self::$instance;
    }

    And get the plugin started by adding this right before the endif; line:

    add_action( 'plugins_loaded', array( 'WC_Demo_Plugin', 'get_instance' ), 0 );
  6. At this point, we've made sure our plugin doesn't break other plugins and we've also dummy-proofed our own plugin so that we or other developers don't misuse it. Let's add just a bit more logic so that we don't run our logic unless WooCommerce is already loaded. This will make sure that we don't accidentally break something if we turn WooCommerce off temporarily. Right after the protected static $instance = null; line, add the following:
    /**
     * Initialize the plugin.
     *
     * @since 1.0
     */
    private function __construct() {
        if ( class_exists( 'WooCommerce' ) ) {
    
        }
    }
  7. And now our plugin only runs when WooCommerce is loaded. I'm guessing that at this point, you finally want it to do something, right? After we make sure WooCommerce is running, let's add some functionality. Right after the if ( class_exists( 'WooCommerce' ) ) { line, add the following code so that we add an admin notice:
    // print an admin notice to the screen.
    add_action( 'admin_notices', array( $this, 'my_admin_notice' ) );

    This code will call a method called my_admin_notice, but we haven't written that yet, so it's not doing anything. Let's write that method. Have a look at the __construct method, which should now look like this:

    /**
     * Initialize the plugin.
     *
     * @since 1.0
     */
    private function __construct() {
        if ( class_exists( 'WooCommerce' ) ) {
    
            // print an admin notice to the screen.
            add_action( 'admin_notices', array( $this, 'display_admin_notice' ) );
    
        }
    } 

    Add the following after the preceding __construct method:

    /**
     * Print an admin notice
     *
     * @since 1.0
     */
    public function display_admin_notice() {
        ?>
        <div class="updated">
            <p><?php _e( 'The WooCommerce dummy plugin notice.', 'woocommerce-demo-plugin' ); ?></p>
        </div>
        <?php
    }

    This will print an admin notice on every single admin page. This notice includes all the messages you typically see in the WordPress admin. You could replace this admin notice method with just about any other hook in WooCommerce to provide additional customizations in other areas of WooCommerce, whether it be for shipping, the product page, the checkout process, or any other area. This plugin is the easiest way to get started with WooCommerce customizations.

    Note

    If you'd like to see the full code sample, you can see it at https://gist.github.com/BFTrick/3ab411e7cec43eff9769.

  8. Now that the plugin is complete, you need to upload it to your plugins folder. You can do this via the WordPress admin or more commonly via FTP.
  9. Once the plugin has been uploaded to your site, you'll need to activate the plugin just like any other WordPress plugin. The end result is a notice in the WordPress admin letting us know we did everything successfully.
    How to do it…

Note

Whenever possible, use object-oriented code. That means using objects (like the WC_Demo_Plugin class) to encapsulate your code. It will prevent a lot of naming conflicts down the road. If you see some procedural code online, you can usually convert it to object-oriented code pretty easily. Object-oriented programming is out of the scope of this book, but you can read more at http://codex.wordpress.org/Plugin_API.

Adding a currency to WooCommerce

WooCommerce has dozens of currencies already included in the plugin, including but not limited to US dollars, euros, British pounds, New Zealand dollars, Russian rubles, South African rands, Egyptian pounds, and the Mexican peso. If you are planning on using any of these currencies, you don't need to add your own currency and can skip this recipe. If you can't find your currency under WooCommerce | Settings | Currency, then you should follow the steps that follow to add it in.

Getting ready

We'll be writing some code to add your custom currency. You'll need a text editor to write the code and an FTP program to upload it to your site once we're done.

How to do it…

We're going to write a very small snippet and add it to WooCommerce. Once it's added, we'll select the currency from the Currency dropdown in the WooCommerce settings pages. The following are the steps that illustrate the process of creating custom currencies:

  1. Open up your theme's functions.php file, located at wp-content/themes/your-theme-name/functions.php, with your text editor.
  2. At the bottom of the file, we'll need to add two filters to add this currency to WooCommerce. These filters will accept an array with the existing currencies and add another option to the array. The first filter will add the currency to WooCommerce. The second will add the currency symbol. Have a look at the code for these filters:
    add_filter( 'woocommerce_currencies', 'add_patricks_currency' );
    add_filter( 'woocommerce_currency_symbol', 'add_patricks_currency_symbol', 10, 2 );
  3. Now let's write the first one, which adds the currency itself. You'll need the name of the currency, which you can append in place of the term Patrick's Currency in the snippet that follows. You'll also need the three-character ISO code of the currency, which can be found at http://en.wikipedia.org/wiki/ISO_4217. This can replace PC in the following code snippet:
    function add_patricks_currency( $currencies ) {
         $currencies['PC'] = __( 'Patrick's Currency', 'your-theme-name' );
         return $currencies;
    }
  4. We're halfway there. Now we need to add the currency symbol. You'll obviously need the currency symbol, which you can use to replace the dollar sign in the snippet that follows. You'll need to use the same currency ISO code you used in the preceding snippet. Let's have a look at the code:
    function add_patricks_currency_symbol( $currency_symbol, $currency ) {
         switch( $currency ) {
              case 'PC': $currency_symbol = 'PC'; break;
         }
         return $currency_symbol;
    }

At this point, WooCommerce should know both your currency and your currency symbol, so it's worth uploading it and making sure we did it right. Upload the file via FTP.

Navigate to the Currency settings by going to WooCommerce | Settings. You should see your new currency in the Currency dropdown:

How to do it…

How it works…

WooCommerce is filled with hooks—places where developers can add or modify the existing code. WooCommerce was smartly built so that anyone can use these hooks to add (or remove) any number of currencies. In this case, we used a filter which is a special type of hook to change the value of something. We changed the contents in an array.

In future recipes, we'll be using actions, which allow completely new programming to fire, and not just changing the value of something.

See also

  • We added this snippet to the theme's functions.php file. That works, but it's not as bulletproof as putting it in its own WooCommerce plugin. Refer to the preceding recipe, Creating a WooCommerce plugin, for more details.
Left arrow icon Right arrow icon
Download code icon Download Code

Description

If you have ever built or managed a WordPress site and want to add e-commerce functionality into your site, WooCommerce and this book are perfect for you. Learning how to use WooCommerce through this series of recipes will give you a solid platform to add any future e-commerce needs.

Who is this book for?

If you have ever built or managed a WordPress site and want to add e-commerce functionality into your site, WooCommerce and this book are perfect for you. Learning how to use WooCommerce through this series of recipes will give you a solid platform to add any future e-commerce needs.

What you will learn

  • Install WooCommerce and get it up and running
  • Configure your products no matter how complex they are
  • Customize the look and feel of your WooCommerce store
  • Learn to put all of your extra code in a plugin
  • Measure your conversion rate by integrating with Google Analytics
  • Add customers to your newsletters automatically so that you can keep in touch with them
  • Use the WooCommerce dashboard to manage your orders

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Mar 31, 2015
Length: 248 pages
Edition : 1st
Language : English
ISBN-13 : 9781784394059
Languages :
Concepts :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Mar 31, 2015
Length: 248 pages
Edition : 1st
Language : English
ISBN-13 : 9781784394059
Languages :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 136.97
WordPress 4.0 Site Blueprints (Second Edition)
$48.99
Building E-Commerce Solutions with WooCommerce, Second Edition
$38.99
WooCommerce Cookbook
$48.99
Total $ 136.97 Stars icon

Table of Contents

11 Chapters
1. WooCommerce Basics Chevron down icon Chevron up icon
2. Adding Products Chevron down icon Chevron up icon
3. Changing the Product Organization Chevron down icon Chevron up icon
4. Running a Membership Site Chevron down icon Chevron up icon
5. Setting Up Shipping Methods Chevron down icon Chevron up icon
6. Getting Paid Chevron down icon Chevron up icon
7. Modifying the Checkout Process Chevron down icon Chevron up icon
8. Managing Orders and Taxes Chevron down icon Chevron up icon
9. WooCommerce Theming Chevron down icon Chevron up icon
10. Exploring More with WooCommerce Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.4
(12 Ratings)
5 star 33.3%
4 star 25%
3 star 16.7%
2 star 0%
1 star 25%
Filter icon Filter
Top Reviews

Filter reviews by




Warren Clendining Apr 18, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This is an excellent step by step approach to using WooCommerce. I recommend to any just getting started and as a reference when we forget, and we do seem to forget from time to time.
Amazon Verified review Amazon
nachiket chavan Apr 05, 2016
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Great book with step by step guide. Easy learning and fast creation of ecommerce store .
Amazon Verified review Amazon
Omar Skapti Gislason Oct 29, 2016
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Great book
Amazon Verified review Amazon
Thomas Way Sep 07, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I haven't finished the book but I skimmed some of the chapters. For the Woocommerce novice it looks like a good place to start.I am disappointed that someone else gave this book a one star review without any feedback, so I'm giving it five stars to offset that. I think three or four stars would be my normal rating.One caveat I have about this book is its endorsement of plugins that cost a fair amount of money without clearly explaining that. The information about cost may be in there but not in the chapters I have read so far. In the beginning they mention "There are several free WooThemes products including Pay with Amazon" but the chapters I have read have you downloading plugins that cost $$$ in order to complete tasks explained in the book. (Shipping is a prime example.)Though I think paying for plugins is fair, some of the pricing can be over-the-top.Woocommerce will work in free mode but if you are serious about your store, you will need to spend some bucks on plugins to make it comparable to other paid shopping software.
Amazon Verified review Amazon
GManMi Dec 09, 2015
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
IF YOU ARE GOING TO RUN A SHOPPING OR eCOMMERCE SITE YOU WILL NEED MORE THAN JUST THE BASIC INSTRUCTIONS.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.