# Creating Coupon Codes in WooCommerce > **Source video:** https://www.youtube.com/watch?v=gi-MhzDSdb4 This guide shows how to create coupon codes in WooCommerce — setting the code, discount type, restrictions, and usage limits — then testing the coupon on your store. ## Create a New Coupon 1. Go to **Marketing → Coupons**. 2. Click **Add coupon**. ## Set the Coupon Code and Description 1. Enter the code you want to use — for example, **welcome**. 2. Optionally add a description. ## Choose the Discount Type The available discount types are: - **Fixed cart discount** — a certain dollar amount discounted from the cart. - **Percentage discount** — a percentage off. - **Fixed product discount** — a fixed amount off specific products. For example, choose **Percentage discount** and enter **10** for a 10% discount. ## Additional Options - Tick **Allow free shipping** to let this coupon include free shipping. - Set an **expiry date** for the coupon. Leaving it empty keeps the coupon available indefinitely. ## Usage Restrictions - **Minimum amount** — the minimum amount that needs to be spent to use the coupon. - **Maximum amount** — a maximum amount spent limit. - **Individual use only** — prevents the coupon from being used in conjunction with other coupons. - **Exclude sale items** — the coupon will not work on items already on sale. - **Products** — select specific products the coupon should work on, or exclude products it should not work on. - **Categories** — the same applies to product categories. ## Usage Limits - **Usage limit per coupon** — how many times the coupon code can be used in total. - **Limit items the coupon applies to** — the number of items the coupon applies to. - **Usage limit per user** — how many times each user can use the coupon. For a welcome discount, enter **1** so each user can only use it once. ## Publish the Coupon Click **Publish** to make the coupon live. ## Testing the Coupon 1. Go to your website and open the cart. 2. Scroll down to the coupon field, type in the coupon code (e.g. **welcome**), and click **Apply coupon**. 3. The coupon appears as applied and the discount (e.g. **10%**) is shown in the cart.