Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
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

Arrow left icon
Profile Icon Rauland
Arrow right icon
₱1399.99 ₱2000.99
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.4 (12 Ratings)
eBook Mar 2015 248 pages 1st Edition
eBook
₱1399.99 ₱2000.99
Paperback
₱2500.99
Subscription
Free Trial
Arrow left icon
Profile Icon Rauland
Arrow right icon
₱1399.99 ₱2000.99
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.4 (12 Ratings)
eBook Mar 2015 248 pages 1st Edition
eBook
₱1399.99 ₱2000.99
Paperback
₱2500.99
Subscription
Free Trial
eBook
₱1399.99 ₱2000.99
Paperback
₱2500.99
Subscription
Free Trial

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

WooCommerce Cookbook

Chapter 2. Adding Products

In this chapter, we will cover:

  • Adding a simple product
  • Adding an image gallery to a product
  • Changing image sizes in WooCommerce
  • Adding a downloadable file to a product
  • Adding global product attributes
  • Adding a variable product
  • Adding an extra fee to a product with the Product Add-ons plugin
  • Adding a product bundle with the Product Bundles plugin
  • Bulk-uploading products with a CSV file
  • Removing product tabs
  • Reordering product tabs

Introduction

In Chapter 1, WooCommerce Basics, you set up your store. The recipes in this chapter are all about adding products to your store. There are many different ways to configure your products. Knowing a little bit about each will help you decide how you want to display your products to your customer. Near the end of the chapter, we'll also touch on removing or reorganizing some of the information on the product page.

WooCommerce started with just simple and variable products. Over the years, other developers have come in and created different ways to sell products. In this chapter, we'll look at simple products, variable products, the Product Add-ons plugin, and the Product Bundles plugin. There are other ways to configure your products, but these are some of the most commonly used ones. At the end of this chapter, you should have all of the products in your store configured the way you want them. In Chapter 3, Changing the Product Organization, we'll cover how to...

Adding a simple product

The best place to start when learning how you can add products to WooCommerce is to add a simple product. A simple product is the most basic product that you can create in WooCommerce. All other product types are based on the simple product and add extra controls.

How to do it…

In order to add a simple product to WooCommerce, take a look at the following steps:

  1. Go to Products | Add Product.
    How to do it…
  2. Enter the name of the product in the Product name field. In the text editor right beneath the Product name field, enter the product's description. In most themes, this copy will appear beneath the product, so you could write paragraphs and paragraphs if you wish.
  3. Scroll down to the Product Data panel.
    How to do it…
  4. Enter the product's price in the Regular Price ($) field.
  5. Scroll down to the Product Short Description panel and enter a short description of the product. This copy will appear above the Buy button, so it's best if it's only one or two lines. It is usually a summary...

Adding an image gallery to a product

One of the things that can really sell a product is having high-quality visuals. For some types of products, you may only need one photo. For other markets, especially upper-scale markets, the more photos, the better. Included in WooCommerce is the ability to show off a gallery of images.

Getting ready

You need to have a product on your site. If you haven't already done this, please follow the steps in the preceding recipe, Adding a simple product.

How to do it…

In order to add an image gallery to a product, go through the following steps:

  1. In the WordPress admin, click on the Products menu and navigate to your product.
  2. Once you're on the product detail page, look for the Product Gallery meta box and click on Add product gallery images.
    How to do it…
  3. Just like with the Featured Image configuration, you can either select existing images or upload as many images as you like.
  4. Now that you've added the images to the product gallery, you can arrange them however...

Changing image sizes in WooCommerce

If your products fit nicely into perfectly square images and they look good as they are in your theme, then you can probably skip this recipe. For some themes or some types of products, though, it's really beneficial to change how WooCommerce crops your images. If you're selling ties, for example, it's probably worth telling WooCommerce to crop them so they're long and skinny.

Getting ready

It's best if you have already created a couple of products and look at them to compare how the Featured Image and the Product Gallery look on their product pages. If you see gaps around the images, you may be able to increase the product image size and take advantage of that space.

How to do it…

Changing image sizes can be done in two parts. The first part will change the settings, and this will affect all future uploads. The second part will install a plugin that will force your website to recrop every image, which will affect all past...

Adding a downloadable file to a product

WooCommerce is just as good to sell virtual products as it is to sell physical products. The beauty of the way it's set up is that any product type can be a virtual product. It could be a simple product, a variable product, a subscription product (which we'll cover in Chapter 4, Running a Membership Site), and so on. WooCommerce handles all of the download permissions. Fulfilling virtual products is completely automated. As soon as you receive payment, the customer receives an email with a special link to download to the file.

The simple product I set up in previous recipes is a poster. I could change this product so that it includes a digital download in addition to the physical product or I could even change it so that the customer only receives a digital download and there is no physical product shipped.

Getting ready

Make sure you already have a simple product in your store.

How to do it…

In the first section, I'm going to add...

Adding global product attributes

In addition to using categories and tags similar to WordPress posts, there's one extra way that you can categorize your products, and that is by using product attributes. Product attributes are things such as color, size, style, and so on. A simple product could have multiple attributes. A small red and blue t-shirt could have the following attributes: red, blue, and small.

Setting up global product attributes will make creating variable products easier down the road.

How to do it…

Make sure you already have a simple product in your store and proceed with the following steps:

  1. From the WordPress admin, go to Products | Attributes.
    How to do it…
  2. Under the Add New Attribute heading, you'll see settings to create attributes. The only mandatory field is Name.
  3. Enter a name for the attribute and click on the Add Attribute button.
  4. Now click on the icon on the far right in the Attribute table. When you hover over the button, you should see Configure terms.
    How to do it…
  5. Enter a name...

Introduction


In Chapter 1, WooCommerce Basics, you set up your store. The recipes in this chapter are all about adding products to your store. There are many different ways to configure your products. Knowing a little bit about each will help you decide how you want to display your products to your customer. Near the end of the chapter, we'll also touch on removing or reorganizing some of the information on the product page.

WooCommerce started with just simple and variable products. Over the years, other developers have come in and created different ways to sell products. In this chapter, we'll look at simple products, variable products, the Product Add-ons plugin, and the Product Bundles plugin. There are other ways to configure your products, but these are some of the most commonly used ones. At the end of this chapter, you should have all of the products in your store configured the way you want them. In Chapter 3, Changing the Product Organization, we'll cover how to manipulate the...

Adding a simple product


The best place to start when learning how you can add products to WooCommerce is to add a simple product. A simple product is the most basic product that you can create in WooCommerce. All other product types are based on the simple product and add extra controls.

How to do it…

In order to add a simple product to WooCommerce, take a look at the following steps:

  1. Go to Products | Add Product.

  2. Enter the name of the product in the Product name field. In the text editor right beneath the Product name field, enter the product's description. In most themes, this copy will appear beneath the product, so you could write paragraphs and paragraphs if you wish.

  3. Scroll down to the Product Data panel.

  4. Enter the product's price in the Regular Price ($) field.

  5. Scroll down to the Product Short Description panel and enter a short description of the product. This copy will appear above the Buy button, so it's best if it's only one or two lines. It is usually a summary of the full description...

Adding an image gallery to a product


One of the things that can really sell a product is having high-quality visuals. For some types of products, you may only need one photo. For other markets, especially upper-scale markets, the more photos, the better. Included in WooCommerce is the ability to show off a gallery of images.

Getting ready

You need to have a product on your site. If you haven't already done this, please follow the steps in the preceding recipe, Adding a simple product.

How to do it…

In order to add an image gallery to a product, go through the following steps:

  1. In the WordPress admin, click on the Products menu and navigate to your product.

  2. Once you're on the product detail page, look for the Product Gallery meta box and click on Add product gallery images.

  3. Just like with the Featured Image configuration, you can either select existing images or upload as many images as you like.

  4. Now that you've added the images to the product gallery, you can arrange them however you like by clicking...

Changing image sizes in WooCommerce


If your products fit nicely into perfectly square images and they look good as they are in your theme, then you can probably skip this recipe. For some themes or some types of products, though, it's really beneficial to change how WooCommerce crops your images. If you're selling ties, for example, it's probably worth telling WooCommerce to crop them so they're long and skinny.

Getting ready

It's best if you have already created a couple of products and look at them to compare how the Featured Image and the Product Gallery look on their product pages. If you see gaps around the images, you may be able to increase the product image size and take advantage of that space.

How to do it…

Changing image sizes can be done in two parts. The first part will change the settings, and this will affect all future uploads. The second part will install a plugin that will force your website to recrop every image, which will affect all past uploads. Let's have a look at the...

Adding a downloadable file to a product


WooCommerce is just as good to sell virtual products as it is to sell physical products. The beauty of the way it's set up is that any product type can be a virtual product. It could be a simple product, a variable product, a subscription product (which we'll cover in Chapter 4, Running a Membership Site), and so on. WooCommerce handles all of the download permissions. Fulfilling virtual products is completely automated. As soon as you receive payment, the customer receives an email with a special link to download to the file.

The simple product I set up in previous recipes is a poster. I could change this product so that it includes a digital download in addition to the physical product or I could even change it so that the customer only receives a digital download and there is no physical product shipped.

Getting ready

Make sure you already have a simple product in your store.

How to do it…

In the first section, I'm going to add a downloadable file to...

Adding global product attributes


In addition to using categories and tags similar to WordPress posts, there's one extra way that you can categorize your products, and that is by using product attributes. Product attributes are things such as color, size, style, and so on. A simple product could have multiple attributes. A small red and blue t-shirt could have the following attributes: red, blue, and small.

Setting up global product attributes will make creating variable products easier down the road.

How to do it…

Make sure you already have a simple product in your store and proceed with the following steps:

  1. From the WordPress admin, go to Products | Attributes.

  2. Under the Add New Attribute heading, you'll see settings to create attributes. The only mandatory field is Name.

  3. Enter a name for the attribute and click on the Add Attribute button.

  4. Now click on the icon on the far right in the Attribute table. When you hover over the button, you should see Configure terms.

  5. Enter a name for an attribute...

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 : 9781784398545
Languages :
Concepts :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Mar 31, 2015
Length: 248 pages
Edition : 1st
Language : English
ISBN-13 : 9781784398545
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 ₱260 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 ₱260 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 6,991.97
WordPress 4.0 Site Blueprints (Second Edition)
₱2500.99
Building E-Commerce Solutions with WooCommerce, Second Edition
₱1989.99
WooCommerce Cookbook
₱2500.99
Total 6,991.97 Stars icon
Banner background image

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

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.