Skip to content

Payment icons

Payment icons (type: payment_icons, display name “Payment icons”) displays the shop’s supported payment methods. Can be specified manually or auto-inferred (Dynamic mode).

Image: storefront payment icons rendering (multiple methods in a row)

  • Mode toggle: Manual / Dynamic
    • Manual: drag to reorder, “Pick icon” opens icon picker (tab: Payment); merchant picks which payment methods to display
    • Dynamic: “Automatically display payment methods enabled in your Shopify store.”

When payment_icons.mode === "storefront" (i18n display name “Dynamic”):

  • System reads Shopify shop.enabled_payment_types (injected as window.__TTB_PAYMENT_TYPES__ in theme Liquid)
  • widget.js filters which payment icons to show based on this array
  • Auto-syncs when merchant enables / disables payment methods in Shopify backend

So when a merchant enables Apple Pay, Visa, Mastercard, PayPal in Shopify Settings → Payments, the widget auto-displays those 4 icons — no need to re-select in tt-blocks editor.

Image: dynamic mode rendering (same widget displays different methods per shop)

Icon style (variant, i18n iconStyle):

VariantMeaning
Color (color)Each method’s official brand colors
Dark (dark)Light-on-dark icons for dark backgrounds
Light (light)Dark-on-light icons for light backgrounds
Mono (mono)Black & white monochrome icons

Each variant maps to different R2 icon resources. Once a variant is selected, all payment icons switch uniformly.

Some brands only have partial variants (e.g. some card networks lack a dark variant); falls back to color when missing.

  • Icon color — toggle + Border color
  • “Wrap each child in a card” + Card background / Card border / Card radius
  • DirectionHorizontal / Vertical
  • Justify
  • Desktop icon size / Mobile icon size
  • Desktop gap / Mobile gap
  • Radius
  • Hover animation
  • Spacing — responsive

Image: Payment icons editor (manual + dynamic mode each)

  • Children editing: dynamic mode has no children editing (auto-renders per __TTB_PAYMENT_TYPES__); manual mode allows drag-reorder + delete individual items
  • Difference from Brand icons: brand_icons is typically social / marketing brands (Instagram / TikTok etc.), payment_icons is specifically payment methods (Visa / PayPal etc.), different R2 resource categories