RuffRuff Order Limits

Payment Rule

Explains the settings for payment rules and how payment methods are shown or hidden for orders that match the conditions.

Payment rules let you control which payment methods are shown at checkout for orders that match the conditions. You can hide the specified payment methods, or show only the specified payment methods.

A payment rule shows or hides payment methods only when all of the configured conditions are met. If the conditions are not met, the rule does nothing and Shopify's payment settings apply as they are.

The following is an example of a rule that hides Cash on Delivery (COD) when the cart subtotal is $30 or more.

Situation

Result

Subtotal is $30 or more

The rule is applied and Cash on Delivery (COD) is hidden

Subtotal is less than $30

The rule is not applied and Shopify's payment methods are shown as they are

The following are the items you can configure for a payment rule. The image below shows the payment rule setup screen.

Item

Description

Title

The internal name used to identify the rule

Payment methods

The display mode and the payment methods to target

Languages

The language condition for applying the rule

Customers

The customer condition for applying the rule

Products

The product condition for applying the rule

Orders

The order condition for applying the rule

Status

Whether the payment rule is enabled or disabled

This is the internal name used to identify the rule. It is not shown to customers.

Set the payment methods to show or hide when the conditions are met. You can specify payment methods in two ways: selecting from the list or entering them directly.

Display mode

Behavior

Hide the specified payment methods

Hides the specified payment methods at checkout (default)

Show only the specified payment methods

Shows only the specified payment methods and hides all others

Note: With "Show only the specified payment methods", if none of the specified payment methods exist in the checkout, the rule is not applied and all payment methods are shown. This behavior prevents customers from being unable to pay.

Note: If you have multiple "Show only the specified payment methods" rules enabled, or combine them with rules that hide payment methods, all payment methods may be hidden when the conditions overlap. This case is not protected against.

Commonly used payment methods can be selected from the list. Payment methods selected from the list are targeted regardless of the checkout's display language.

  • Shopify Payments (Credit Card)

  • Apple Pay

  • Google Pay

  • Shop Pay

  • PayPal

  • Bank Deposit

  • Money Order

  • Cash on Delivery (COD)

When you select from the list, the following related payment methods are also automatically targeted.

Selected payment method

Payment methods also targeted

Shopify Payments

Apple Pay, Google Pay, Meta Pay, Shop Pay

Shopify Payments (Credit Card)

Shopify Payments

Bank Deposit(銀行振込)

銀行振込

PayPal

PayPal Express Checkout

Rakuten Pay

楽天ペイ

The payment method names in this table are the values matched exactly against the payment method names Shopify sends at checkout — they are not interface labels. Methods that appear in Japanese at checkout are matched by their Japanese name, so 銀行振込 and 楽天ペイ are specified in Japanese and are not translated.

Related payment methods are added automatically only when you select from the list. If you use starts with, ends with, or contains in the direct entry field, related payment methods are not added automatically.

For payment methods not in the list, enter the name as it is shown at checkout to specify it directly. Names are compared with case sensitivity.

Match type

Payment methods targeted

Exact match

Matches exactly the entered name

Starts with

Starts with the entered text

Ends with

Ends with the entered text

Contains

Contains the entered text

Set the language condition for applying the rule. Choose from "All languages" or "Specific languages".

Set the customer condition for applying the rule.

Setting

Customers the rule applies to

All customers

All customers, regardless of login status

Customers with accounts

Logged-in customers

Guests

Guests (not logged in)

If you choose "Customers with accounts", you can narrow it down further by customer tag or customer metafield.

You can specify both "Include customers with any of these tags" and "Exclude customers with any of these tags". In both fields, multiple tags are combined with OR.

Field

Customers the rule applies to

Include customers with any of these tags

Customers who have any one of the specified tags

Exclude customers with any of these tags

Removes customers who have any one of the specified tags

If you set both, the rule applies only to customers who have an included tag and none of the excluded tags.

Narrows down customers by the value of a customer metafield. Specify the namespace, key and type, then enter values under "Include customers with any of these values" and "Exclude customers with any of these values".

Field

Customers the rule applies to

Include customers with any of these values

Customers whose value matches any one of the specified values

Exclude customers with any of these values

Removes customers whose value matches any one of the specified values

If you set both, the rule applies only to customers whose metafield has an included value and not an excluded value.

  • The include condition does not apply to customers who have no value set for the metafield.

  • Customers who have no value set for the metafield are not excluded either.

  • When you set the namespace and key, enter at least one included or excluded value.

  • You can specify up to 100 tags in total across included and excluded tags.

  • You can specify up to 100 excluded values.

  • The same tag or the same value cannot be both included and excluded.

Set the product condition for applying the rule. It applies if the cart contains even one item that matches the condition. You cannot specify by product tag.

Setting

Orders the rule applies to

All items

All orders, regardless of the items in the cart

Specific collections

Orders where the cart contains items from the specified collections (up to 50 collections)

Specific products

Orders where the cart contains the specified products or variants (up to 50 each)

Pre-order items

Orders where the cart contains pre-order items from RuffRuff Pre-Orders

Prerequisite: To use "Pre-order items", you need the RuffRuff Pre-Orders app.

Note: "Pre-order items" is determined by whether the items in the cart have the _PreOrderRuleId attribute that RuffRuff Pre-Orders assigns. Items without this attribute are not treated as pre-order items.

Set the order condition for applying the rule. If you choose "Specific orders", you can narrow it down by combining the following conditions.

Set a minimum price and maximum price for the total amount in the cart. Prices are set in the store currency; if you sell in local currency, the amount is converted using the exchange rate before the rule is evaluated.

Setting

Orders the rule applies to

Minimum price

Orders at or above the set price

Maximum price

Orders at or below the set price

Price type

How the price used for the judgment is calculated

There are two price types used for the judgment.

  • Cart subtotal (excluding shipping and tax, before discounts): Judged using the cart subtotal before discounts are applied.

  • Grand total (including shipping and tax, after discounts): Judged using the grand total that reflects shipping, tax, and discounts.

Set a minimum weight and maximum weight for the total weight of all items in the cart. The total weight is calculated by multiplying each variant's weight registered in Shopify by its quantity. Variants with no weight set are not included in the total.

Setting

Description

Minimum weight

Applies when the weight is at or above the set value

Maximum weight

Applies when the weight is at or below the set value

Weight unit

Grams (g), Kilograms (kg), Ounces (oz), Pounds (lb)

When product weight units differ

"Convert and include in calculation" converts the item to the rule's unit before adding it to the total; "Exclude from calculation" excludes items with a different unit from the total

Narrows down by the delivery option the customer selected at checkout. Choose a delivery type (Shipping, Pickup in store, Local delivery); if you choose "Shipping", you can narrow it down further by shipping method name. The match types for the shipping method name are the same four types as for entering payment methods directly.

Narrows down by the key and value of an attribute set on the cart. If the specified key is not in the cart, or the value does not match, the rule is not applied.

A payment rule you create is not applied to checkout until you enable it.

Setting

Behavior

Enabled

Shows or hides payment methods according to the payment rule.

Disabled

Does not show or hide payment methods according to the payment rule.