Skip to main content

Discounts

Give customers a coupon code for a discount, a free product or free shipping. They type it in the cart or at checkout, and EverShop checks it and works out the discount.

CoreLast updated Nov 30, 2026Screenshots from EverShop 2.4
The coupon list in Promotion › Coupons with the five demo coupons FREESHIP, CUPS3FOR2, SUMMER20, WELCOME10 and SAVE5, each with its dates, the status Active and the number of times it was used.

From a code to a discount at checkout

The demo store has five coupons. Each step shows one of them and links to the guide that explains it.

  1. Create a coupon

    A coupon has a code, a discount amount and, if you want, a start and an end date. It works as soon as you save it. One cart can hold one coupon.

    The General Information card of the coupon WELCOME10: Coupon Code WELCOME10, Description 10% off your first order, Status Enabled, Discount amount 10, empty Start date and End date, and Free shipping? not selected.
  2. Choose how the discount works

    The coupon type decides what the number means: a percentage or an amount, off the whole order or off some products only. Pick a cart and a coupon to see what the demo store charges.

    Cart
    Coupon
    Order summary
    • Sub total$45.00
    • Discount (WELCOME10)−$4.50
    • Shipping (Standard Shipping)$5.00
    • Total$45.50

    Percentage discount to entire order: 10% of $45.00 is $4.50.

    Totals worked out by the demo store for a guest with an Oregon address (no sales tax) and Standard Shipping at $5.00.

  3. Add conditions

    A condition limits who can use the coupon: a minimum order amount or quantity, products the cart must contain, or the email addresses of some customers. When a condition fails, EverShop refuses the code.

    The Order conditions card of the coupon SAVE5: Minimum purchase amount 40, Minimum purchase qty 0, and an empty list of products the order must contain, with an Add product button.
  4. Offer a free product with Buy X get Y

    Buy X get Y gives extra units of the same product for free or at a lower price. Max of Y limits how many units one order gets.

    The Discount Type card of the coupon CUPS3FOR2 with Buy X get Y selected and one row: SKU CUP-001-WHT, X 2, Y 1, Max of Y 1 and Discount percent 100.
  5. Make shipping free with a code

    Free shipping? makes every shipping method cost $0.00 for the order. With a discount amount of 0, the coupon gives free shipping only. A free shipping method is the other way to do it.

    The General Information card of the coupon FREESHIP: Description Free shipping on any order, Status Enabled, Discount amount 0, and Free shipping? selected.
  6. Find out why a code does not work

    When EverShop refuses a code, the customer sees Invalid coupon. The reason can be a typo, the dates, the status or a condition. The troubleshooting guide checks each one.

    The storefront Order summary with one $25.00 vase and the ended code SUMMER20 typed in the coupon box, and below it the message Invalid coupon.

All discount guides

For developers

Coupons can also be created and applied with code. Extensions can add their own discount types and coupon rules.

Coupon endpoints. Creating, updating and deleting need an admin access token.
POST/api/couponsCreate a coupon
PATCH/api/coupons/:idUpdate a coupon
POST/api/carts/:cart_id/couponsApply a coupon to a cart
DELETE/api/carts/:cart_id/coupons/:couponRemove it from the cart