Skip to content
Docs menu

Shipping Discount

Discount shipping rates by cart value, customer, products or destination, including free shipping. A Playwright Checkout Rules template for shipping options.

What it does

When the rule’s conditions match, Playwright takes a percentage or a fixed amount off each selected rate. The message shows with the discount at checkout.

Shopify gives an order one shipping discount, so Playwright’s shipping discount doesn’t combine with your other shipping discounts.

For example:

  • Spend $50 or more and get free shipping
  • 10% off all DHL shipping rates

Settings

Find it under Shipping Rules in Playwright, in Discount Rates. Give the rule a name, fill in these settings and select Save Rule.

All or any criteria
Whether all of the conditions you set must match for the rule to apply, or any one of them. Conditions left at “All” aren’t counted. See All or any.
  • Discount if ALL of the following criteria are met
  • Discount if ANY of the following criteria are met
Eligible Customers
Which customers the rule applies to: “All”, one customer condition, or a Multi-Select that combines up to three. See customer conditions.
Eligible Carts in Checkout
Which carts the rule applies to: “All”, one cart or shipping address condition, or a Multi-Select that combines up to three. See cart conditions and destination conditions.
Line item qualify condition
Whether the item condition below must match any item in the cart or every item. It only counts when you set an item condition.
  • Qualify if any item in cart matches
  • Qualify if all items in cart match
Eligible Line Items in Cart
An optional condition on the items in the cart, checked with the setting above. For example, only when the cart has a product tagged fragile. See product conditions.
Rates to Change
Which shipping rates to discount. With “None” the rule changes nothing. See Choosing shipping rates.
  • All: Every shipping rate.
  • Rate Name: Rates whose name does (or doesn’t) match, contain, start with or end with what you enter. Names are compared without regard to capital letters.
  • Rate Code: Rates whose code (the service code a carrier or shipping app gives the rate) does or doesn’t match what you enter.
  • Rate Source: Rates from a given source. Not available on Shopify Functions: rules that use it aren’t published.
  • Rate Price: Rates above or below a price, in dollars.
  • Rate Discounted: Rates an earlier shipping rule did or didn’t discount.
  • Multi-Select - Meets all criteria: Combines up to three choices; all must match.
  • Multi-Select - Meets any criteria: Combines up to three choices; any can match.
Discount to apply
A Percentage Discount off each selected rate (100 makes it free) or a Fixed Discount in dollars off each selected rate, with the message customers see.
  • Percentage Discount: Takes a percentage off each selected rate. 100 makes it free.
  • Fixed Discount: Takes a fixed amount, in dollars, off each selected rate.

Example: Free shipping over $50

  1. Eligible Carts in Checkout: Cart/Item/Discount subtotal, Cart current subtotal, Greater than or equal to, 50.
  2. Rates to Change: Rate Name, Does, Match one of, Standard.
  3. Discount to apply: Percentage Discount, 100, “Free shipping over $50”.

At checkout: Orders of $50 or more see Standard shipping at $0. Express keeps its price.

On Shopify Functions

Playwright publishes this template as part of the Shopify discount “Playwright: shipping discounts”.

  • An order can only get one shipping discount, so this doesn’t combine with other shipping discounts.

These conditions aren’t available in shipping discounts, so a rule that uses one isn’t published:

  • Customer Accepts Marketing: Shopify Functions can’t see whether a customer accepts marketing. Tag those customers and use a customer tag condition instead.
  • Product Vendor: Vendor conditions aren’t available to shipping price rules on Shopify Functions.
  • Variant SKU: SKU conditions aren’t available to shipping rules on Shopify Functions. Select items by product or variant instead.
  • Has Properties: Line item properties aren’t available to Shopify Functions.
  • Gift Card Selector: Gift card conditions aren’t available to shipping rules on Shopify Functions.
  • Sale Item Selector: Sale-price conditions aren’t available to shipping rules on Shopify Functions.
  • Discounted Item Selector (discount by scripts): Shipping and payment rules can’t see the discounts your line item rules gave.
  • Subscription Item Selector: Subscription conditions aren’t available to shipping rules on Shopify Functions.
  • Cart Total Weight: Cart weight isn’t available to Shopify Functions.
  • Compare to billing address: Shopify Functions can’t compare billing and shipping addresses here.
  • Discounted Cart Subtotal (applied by discount code): Shopify Functions only see the discount code itself, not its type or value.
  • Language: Language conditions aren’t available to shipping price rules on Shopify Functions.
  • Rate Source: The shipping rate source (Shopify or carrier) isn’t available to Shopify Functions. Select rates by name or code instead.

Tag conditions match whole tags only. See Conditions and Publishing.