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

# Rules

> Override your order editing defaults for orders that match conditions you choose.

Your settings and modules apply to every order by default. Rules let you override those defaults for orders that match conditions you set. When an order matches a rule, that rule's overrides apply to it. When no rule matches, your normal defaults apply.

For example, you can let most customers cancel their orders, but add a rule that blocks cancellation on orders over \$200.

Rules is a paid feature available on Recheck's higher-tier plans. If your plan doesn't include it, you'll see an upgrade option in place of the rules list.

## How to create a rule

<Steps>
  <Step title="Open Recheck and click on Rules in the left menu.">
    If you've created rules before, you'll see them listed here with their status and priority order. If this is your first rule, click Create first rule.
  </Step>

  <Step title="Click Create rule." />

  <Step title="Give the rule a name.">
    This is for your own reference and isn't shown to customers. A name is required. Keep it short so it stays readable in the rules list. Two to five words works well.
  </Step>

  <Step title="Add one or more conditions.">
    Conditions decide which orders the rule applies to. Each rule needs at least one. The condition types are listed below.
  </Step>

  <Step title="Set your overrides.">
    Choose a different editing window for matching orders, and turn specific settings or modules on or off.
  </Step>

  <Step title="Click Save.">
    Rules save in the Active state. You can deactivate a rule from the list at any time without deleting it.
  </Step>
</Steps>

## How rules are matched

Recheck checks your rules from top to bottom and applies the first one whose conditions match the order. Later rules are skipped for that order. If no rule matches, your global settings and modules apply.

The number on each row (#1, #2, and so on) is its priority. To change priority, drag the handle on a row to reorder the list. The new order takes effect right away.

Inactive rules are skipped during matching, so you can pause a rule without deleting it.

Recheck checks your rules again each time the customer opens the edit page and every time they confirm an edit. Some conditions, like order value, can change while a customer edits, so the rule that matches an order can change part way through. If the newly matching rule blocks the edit the customer started, they'll see an error when they try to confirm it.

## Conditions

A condition has three parts: what you're matching on, an operator, and a value. You can add as many as you need, and each rule needs at least one.

The condition types:

* **Country.** Match the order's shipping country, with is / is not.
* **Order value.** Match the order total, including tax and shipping, with greater than / less than / equals.
* **Order age.** Match how long ago the order was placed, in minutes, hours, or days.
* **Shipping method.** Match the shipping method the customer chose at checkout.
* **Day of week.** Match the day the order was placed, in a timezone you choose.
* **Time window.** Match orders placed within or outside a time range, in a timezone you choose.

### Combining conditions

When a rule has more than one condition, choose whether the order has to match all conditions (AND) or any condition (OR).

You can also add a condition group to mix the two. For example: Country is US, AND Order value is greater than \$200, AND a group of (Order age is less than 2 hours OR Shipping method is Express). Groups can be one level deep.

## Editing window override

By default, matching orders use your global [order editing window](/features/settings/order-editing-window). Turn on "Override editing window for this rule" to set a different one. The options are:

* **Until fulfilled.** The order stays editable until it's marked fulfilled in Shopify.
* **Until specific time.** A recurring cutoff at a set time on the days you choose. For example, a 9:00 AM cutoff on Monday to Friday means an order placed Friday evening stays editable until Monday 9:00 AM.
* **Custom.** A fixed length of time you set.
* **No editing.** Turns off editing for matching orders. When you pick this, the settings and modules overrides are hidden, since there's nothing left to edit.

## Settings and modules overrides

Each setting or module you can override has three buttons: Default, On, and Off.

* **Default** follows your current global setting. If you change that global setting later, matching orders follow the change.
* **On** or **Off** pins the value for this rule and ignores the global from then on.

You can override these settings today: refund to original payment method, refund as store credits, and hold order fulfillment during the editing window.

For modules, you can turn any module on or off for matching orders. A module that's on globally can be turned off for matching orders, and one that's off globally can be turned on. You can override the module as a whole, not the individual sub-settings inside it.

A badge at the top of each panel counts how many overrides you've set. Anything left on Default doesn't count.

If a module isn't included in your plan, you can still set an override to On, but customers won't see it until you upgrade to a plan that includes that module.

<Note>
  Rules can't override [order editing restrictions](/features/settings/order-editing-restrictions) yet. Those still apply based on your global settings.
</Note>

## Example use cases

* **Faster shipping, tighter window.** Give Express orders a short editing window so they make the carrier cutoff, and Standard orders a longer one.
* **Protect high-value orders.** On orders above a set amount, turn off Cancel order and the decrease quantity / remove product modules, and send any refund out as store credit.
* **International orders.** Lock shipping address edits and self-serve cancellation on orders shipping abroad, and force refunds to store credit.
* **Weekend and overnight orders.** Keep orders placed outside working hours editable until your team is back online, so fulfillment doesn't start before someone can catch a customer edit.

# Need help?

Our guides contain information on everything from the basics of setting up Recheck to advanced customizations available with every feature. But we're always here to offer help personally if you need it.

<CardGroup cols={2}>
  <Card title="Contact us" icon="question" href="mailto:kunal@recheckapp.com">
    Get personalized support from our founders
  </Card>

  <Card title="Book a demo" icon="calendar" href="https://cal.com/kunalkonde/recheck-discussion">
    See how Recheck can help your brand
  </Card>
</CardGroup>
