Rename Payment Option
Change the name customers see for a payment option, like adding guidance to a bank transfer. A Playwright Checkout Rules template for payment options.
What it does
When the rule’s conditions match, every selected payment option gets the new name.
Shopify doesn’t let apps rename wallets such as Shop Pay, Apple Pay and Google Pay, or options shown with a logo: those keep their names while the others are renamed.
For example:
- Show 'Shop Pay' as 'Shop Pay (recommended)'
Settings
Find it under Payment Rules in Playwright, in Rename Payment Option. Give the rule a name, fill in these settings and select Save Rule.
- All or any criteria
- Whether all of the conditions you set must match for the rule to apply, or any one of them. Conditions left at “All” aren’t counted. See All or any.
- Change name if all qualify
- Change name if any qualify
- Eligible Customers
- Which customers the rule applies to: “All”, one customer condition, or a Multi-Select that combines up to three. See customer conditions.
- Eligible Carts in Checkout
- Which carts the rule applies to: “All”, one cart or shipping address condition, or a Multi-Select that combines up to three. See cart conditions and destination conditions.
- Line item qualify condition
- Whether the item condition below must match any item in the cart or every item. It only counts when you set an item condition.
- Qualify if any item in cart matches
- Qualify if all items in cart match
- Eligible Line Items in Cart
- An optional condition on the items in the cart, checked with the setting above. For example, only when the cart has a product tagged
fragile. See product conditions. - Select Payment Options
- Which payment options to rename: “All”, or options whose name matches. With “None” the rule changes nothing.
- All: Every payment option.
- Payment Option Name: Options whose name does (or doesn’t) match, contain, start with or end with what you enter, as customers see it at checkout. Names are compared without regard to capital letters.
- New name
- The name customers see instead.
Example: Explain bank transfers
- Select Payment Options: Payment Option Name, Does, Match one of,
Bank Deposit. - New name: “Bank transfer (we ship once paid)”.
At checkout: Customers see “Bank transfer (we ship once paid)” at checkout.
On Shopify Functions
Playwright publishes this template as part of the Shopify customization “Playwright: payment rules”.
- Shopify doesn’t allow renaming Shop Pay, Apple Pay, Google Pay or other wallets.
These conditions aren’t available in payment rules, so a rule that uses one isn’t published:
- Customer Accepts Marketing: Shopify Functions can’t see whether a customer accepts marketing. Tag those customers and use a customer tag condition instead.
- Has Properties: Line item properties aren’t available to Shopify Functions.
- Sale Item Selector: Sale-price conditions aren’t available to payment rules on Shopify Functions.
- Discounted Item Selector (discount by scripts): Shipping and payment rules can’t see the discounts your line item rules gave.
- Cart Total Weight: Cart weight isn’t available to Shopify Functions.
- Cart Has Discount Code: Only discount rules and shipping discounts can see which discount code was entered.
- Cart Has No Discount Code: Only discount rules and shipping discounts can see which discount code was entered.
- Compare to billing address: Shopify Functions can’t compare billing and shipping addresses here.
- Discounted Cart Subtotal (applied by discount code): Shopify Functions only see the discount code itself, not its type or value.
Tag conditions match whole tags only. See Conditions and Publishing.