Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
WooCommerce Cookbook

You're reading from   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
Product type Paperback
Published in Mar 2015
Publisher Packt
ISBN-13 9781784394059
Length 248 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Patrick Rauland Patrick Rauland
Author Profile Icon Patrick Rauland
Patrick Rauland
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

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

Creating a coupon with restrictions

The coupon system built into WooCommerce isn't simplistic. There are all sorts of limitations you can add on to coupons to make sure that they're only used in the right way. You can create coupons for specific users, coupons that can be used a certain number of times, or coupons that are limited to certain amounts.

We'll be creating a coupon that you can give out at a conference. It can only be used 100 times, it will only be active for a month, and it can only be used on orders over $50. This will make sure that you don't lose money on your promotions but users still get a good deal.

How to do it...

We'll be creating a regular coupon and then tweaking a few extra settings to add the appropriate restrictions. Let's take a look at the following steps:

  1. From the WordPress admin, go to WooCommerce | Coupons.
  2. Click on Add Coupon.
  3. Enter the code you want in the Coupon code field.
  4. Enter the discount you want in the Coupon amount field...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime