Payment Methods: Targeting Conditions
The full list of conditions you can use to target payment method rules, with practical examples.
Targeting Conditions in Nexo Payment Methods
Conditions decide when a rule runs. Without conditions an action always applies; with conditions the action only runs when every condition matches. This page lists every condition supported by Nexo Payment Methods with a practical example for each. To put these to use, see Creating Rules.
How conditions combine
Conditions within a single rule combine with AND logic — all of them must match for the action to apply. To express OR behavior, create separate rules.
Cart and discount conditions
Cart total
Match on the order subtotal or total. Use operators such as greater than, less than, or between.
- Example: Hide Cash on Delivery when the cart total is over 2,000,000₫ to reduce risk on high-value orders.
Discounts
Match on whether a discount or specific discount code is applied.
- Example: Hide a manual "pay later" gateway whenever a promotional code is used, so discounts apply only to prepaid orders.
Catalog conditions
Products
Match when a specific product is in the cart.
- Example: Hide COD when a pre-order product is present, since those orders ship later.
Variants
Match on a specific variant rather than the whole product.
- Example: Offer bank transfer only when the wholesale variant of an item is in the cart.
Collections
Match when any product from a chosen collection is in the cart.
- Example: Reorder methods to put card first whenever the cart includes items from the "Electronics" collection.
Customer conditions
Customer tags
Match on tags applied to the customer account.
- Example: Show a manual invoice gateway only to customers tagged
viporpartner.
Order count
Match on how many orders the customer has placed.
- Example: Hide COD for first-time customers (order count is 0) and allow it once they have a track record.
Location conditions
Shipping address
Match on fields of the shipping address such as city, province, or postal code.
- Example: Hide Cash on Delivery for addresses outside the regions where your couriers offer COD.
Market / country
Match on the Shopify Market or destination country.
- Example: Show local bank transfer only in your domestic market and hide it for international destinations.
B2B conditions
B2B data
Match on B2B signals such as whether the checkout belongs to a company location or a specific buyer.
- Example: Show net-terms or purchase-order payment options only for B2B company checkouts, and hide them for retail customers.
Putting conditions together
A rule can stack several conditions. For example, to hide COD for risky high-value international orders you might combine cart total greater than 2,000,000₫ AND market is not domestic AND customer order count is 0. Because conditions use AND logic, the more you add, the narrower the rule becomes.
Preview the edge cases
After combining conditions, preview a few realistic carts — small, large, domestic, and international — to confirm the right methods stay available before you publish.
Next steps
- Build your first rule in Creating Rules.
- Review installation in Getting Started.