> ## Documentation Index
> Fetch the complete documentation index at: https://docs.revize.app/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Revize is a Shopify app by Untechnickle for self-service order editing and upsells. Customers edit their existing order from the Shopify Order status page within the merchant's editing window.
> For the Shopify upsell playbook and a comparison of checkout, Thank you, Order status and email offers, start at https://docs.revize.app/guides/increase-average-order-value. Revize Pro includes upsells. Checkout offers and free shipping bars also require Shopify Plus.
> For Shopify integrations, start at https://docs.revize.app/integrations/index. The integration guides specify whether an app connects directly, works through the existing Shopify order, or uses Shopify Flow.
> For 3PLs, warehouse apps, and ERPs, see https://docs.revize.app/integrations/fulfillment for provider-specific workflows using Shopify order tags, delayed payment capture, or fulfillment holds.
> The public documentation is at https://docs.revize.app. For current public pricing and plans, see https://apps.shopify.com/revize. Find the cancellation API guide at https://docs.revize.app/features/cancellation-api.
> To test Revize with selected customers on a live store, see https://docs.revize.app/setup/test-mode. For the Shopify draft-order walkthrough, see https://docs.revize.app/how-to-test-revize.

# Set discount rules for edited Shopify orders

> Use Revize Discount rules to recreate discounts on edited Shopify orders, including minimum-spend offers, free gift discounts, and Shopify Functions promotions.

> [!NOTE]
>
> The **discount rules engine** is live on Revize Pro. When a customer edits an order, it evaluates the updated order against the promotion you configured. The Revize team manages rules in the **Discount rules** dashboard today. Merchant access to the editor is coming.

## Choose the discount you need

| Merchant goal | Where to start |
| - | - |
| Let a shopper add a forgotten discount code to the order | Enable [discount code edits](https://docs.revize.app/features/apply-discounts.md). |
| Offer a special price for an item promoted by email | Use [an email upsell discount](https://docs.revize.app/setup/email-upsells.md#offer-a-discount-in-your-email). |
| Recreate a checkout promotion when an order changes | Share your promotion with [Revize support](https://docs.revize.app/support/contact.md) to set it up in **Discount rules**. |
| Change the shipping charge when an order crosses a threshold | Use [Shipping rules](https://docs.revize.app/setup/shipping-rules.md). |

## Choose the rule type in the discount editor

| Rule type | What it controls | Example |
| - | - | - |
| Product | Percentage or fixed savings on qualifying items. A limit can cap the number of discounted units. | Make one pouch already on the order free when eligible skincare reaches the required spend. |
| Order | Percentage or fixed savings across the order when its conditions are met. | Take 10% off a qualifying order for customers in your VIP segment. |
| Bundle | Quantity or spend tiers across a group of eligible items, per product, or per variant. Tiers can set a unit price or a total price for the group. | Price any three eligible tees at a fixed group total. |
| Shipping | Percentage off, a fixed amount off, or a fixed price for a shipping promotion. | Recreate an app's discount on the shipping line. To control which rates the customer can choose, use the [shipping rules engine](https://docs.revize.app/setup/shipping-rules.md). |

![An example collection offer gives 10% off two tees and 15% off three tees.](https://mintcdn.com/revize/fO0gpZzV3rO1cWHo/images/changelog/changelog-discount-rules.jpg?fit=max\&auto=format\&n=fO0gpZzV3rO1cWHo\&q=85\&s=607e21d4ae13dc6614d2e251fab614cb)

## Set the conditions and savings

In the dashboard, the team names the rule, chooses its type and enters the reward. Conditions can use quantities, eligible product collections, customer tags, shipping country, currency, or a discount code on the order. Conditions in the same group must all match. Use a second group for an alternative way to qualify.

For example, to give one free pouch with a purchase from your skincare collection, identify the pouch variant as the reward and the skincare collection as the qualifying items. Set the qualifying spend, make the pouch 100% off and cap the reward at one. Include the campaign dates and combination settings so a second code behaves the way you intend.

To request setup or change a live promotion, send [Revize support](https://docs.revize.app/support/contact.md) its name as it appears on a Shopify order, the campaign settings, and one example on either side of the qualifying threshold.

For a gift that's free on orders of \$200 or more, configure the rule to remove the gift discount when the edited order drops below the threshold. Test that the gift line shows its regular price and that the total reflects the customer's changes before they confirm.

Use the [Shopify Functions and third-party discounts guide](https://docs.revize.app/integrations/shopify-functions-discounts.md) for a custom app promotion, or the [Shopify Checkout Blocks guide](https://docs.revize.app/integrations/shopify-checkout-blocks.md) for a rule created with Checkout Blocks.

## Test a minimum-spend promotion

**1. Place an order that qualifies**

Use the same products, customer conditions, currency, and shipping destination that the promotion expects. Record the original discount and Shopify order total.

**2. Make an edit that changes eligibility**

For example, reduce the quantity so the order drops below the gift threshold. Check the preview, then confirm the edit on a test order and review the gift line, the discount, and the final total in Shopify.

**3. Check the opposite case**

Increase the quantity again, and check what you expect when the order qualifies. Repeat with any discount code or automatic discount that can combine with the promotion.

## Frequently asked questions

> [accordion] Should I compare the result with Shopify checkout or Shopify's order editor?
>
> Check a fresh checkout to understand your promotion's eligibility. Check Shopify's order editor and the saved order to understand how Shopify handles the existing discount after an edit. Use the Revize rule to define the outcome you need where supported.

## Related guides

* [Apply discounts after checkout](https://docs.revize.app/features/apply-discounts.md): let customers enter a code on an eligible order
* [Payments and refunds](https://docs.revize.app/setup/payments-and-refunds.md): choose how customers pay or receive a refund when the total changes


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.