> ## Documentation Index
> Fetch the complete documentation index at: https://codebeans-payment-rules-pro.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Conditions reference

> Every condition and operator the app offers, by section.

Every condition the app offers, by section. Simple and advanced rules draw on slightly different sets — advanced rules add fields that only make sense when conditions are combined.

## Simple customization conditions

### Cart

| Condition | Checks |
| - | - |
| **Cart total** | The total or subtotal value of the cart. |
| **Order Weight** | Total weight. Units: g, kg, lb, oz. |
| **Cart Currency** | The cart's currency. |
| **Cart Quantity** | Total number of items. |

### Customer

| Condition | Checks |
| - | - |
| **Localized Country** | Country of the active localized checkout experience. |
| **Localized Language** | Language of the active localized experience. |
| **Shipping Country** | The country being shipped to. |
| **Customer Tag** | Tags on the customer account. |
| **Customer is a Company** | Whether the checkout belongs to a B2B company. |
| **Customer Spent** | Lifetime spend. |
| **Customer Logged In** | Whether the customer is signed in. |

### Product

| Condition | Checks |
| - | - |
| **Cart Contains** | Products, collections, tags, vendors, titles, variants in the cart. |
| **Custom Product** | Whether the cart contains a custom (non-catalogue) product. |
| **Product/Variant SKU** | SKUs present in the cart. |
| **Selling Plan** | Subscription or selling-plan purchases. |

### Order, Discount, Shipping, Attribute

| Condition | Checks |
| - | - |
| **Order Count** | How many orders the customer has placed — includes a *first order* check. |
| **Order Discount** | Whether any discount is applied. |
| **Shipping Address** | Address line, city, or company shipping name. |
| **Zip Codes** | Postal code. |
| **Shipping Method** | The delivery method chosen. |
| **Shopify Market** | The active Market. |
| **Phone Number** | The phone number on the order. |
| **Weekday Range** | Day of the week at checkout time. |
| **Cart/Line Attribute** | Custom cart or line-item attributes. |

## Advanced customization conditions

Advanced rules expose a wider, more granular set. Availability depends on the **function input** you selected — see [Advanced customization](https://codebeans-payment-rules-pro.mintlify.site/rule-types/advanced-customization.md).

**Cart** — Cart total · Cart items total quantity · Cart items quantity per line · Cart items attribute · Cart contains products · Collection of product in cart · Tags of product in cart · Cart contains SKU · Cart currency · Selling plan id · Selling plan order

**Discount** — Global discount · Order discount · Line item discount

**Customer** — Customer country · Customer tag · Customer logged in · Customer email · Shopify market · Customer is a company · Customer company names · Customer total spent

**Shipping** — Shipping country · Shipping method · Selected delivery type · Shipping address (line 1) · Zip code · Province code

**Attribute** — Weekday range

## Operators

Which operators appear depends on the condition. The full vocabulary:

| Group | Operators |
| - | - |
| Numeric | Greater than · Less than · is between · is not between |
| Equality | is · is not |
| Text | contains · not contains · contain · not contain · start with · end with |
| Presence | is empty · is not empty |
| Boolean | is logged in · is not logged in · contains any discount · not contains any discount · contains a custom product · not contains a custom product |

> [!NOTE]
>
> **is between** is inclusive of both endpoints. For "over ₹5,000 but under ₹20,000" either use *is between* with 5000 and 20000, or two conditions joined with **And**.


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