Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying WooCommerce Cookbook
  • Table Of Contents Toc
  • Feedback & Rating feedback
WooCommerce Cookbook

WooCommerce Cookbook

By : Rauland
3.4 (12)
close
close
WooCommerce Cookbook

WooCommerce Cookbook

3.4 (12)
By: Rauland

Overview of this book

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.
Table of Contents (12 chapters)
close
close
11
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...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete