How to edit Twisto widgets

Twisto widgets can be customized to fit your e-shop. The settings are similar across banner and checkout versions. Below you will find a description of each attribute for all widget types.

twisto-widget

AttributeDescriptionTypeDefault value
languageLanguage of widget. Options: cs, en or pl.Stringen
productName of Twisto product. Must be: pay-in-30-days, pay-in-3, or paid-bnpl.Stringnull
layoutWidget presentation. Options: default or minimal. Optional — defaults to default if omitted.Stringdefault
themeTheme color palette. Options: light or darkStringlight
siteTo which site the user will be redirected. By default decided by language. Can be cz or pl.Stringnull
widthThe width of widget. Options: auto or full.Stringauto
amountProduct price. Required for pay-in-3 and paid-bnpl.Numbernull
currencyCurrency of amount. Required for pay-in-3 and paid-bnpl. For example, CZK, EUR, PLN, etc.Stringnull
merchant-nameYour e-shop name. Required for pay-in-3 and paid-bnpl banner.Stringnull

twisto-widget-modal

The modal has two variants depending on what information is available:

  • Static — displayed when amount and currency are not provided, or when the merchant has not specified which services they offer. Always shows all services without the amount calculation on the right side.
  • Dynamic — displayed when amount and currency are provided. Shows the calculated amount for each service. If only one service is offered via product, only that service is shown.
AttributeDescriptionTypeDefault value
productName of Twisto product. Options: pay-in-30-days, pay-in-3, paid-bnpl.Stringnull
combinationUse bnpl+pay-in-3 to explicitly show BNPL + Pay in 3 together. Optional.Stringnull
amountProduct price. When provided together with currency, enables the dynamic variant with calculated amounts.Numbernull
currencyCurrency of amount. Required with amount. For example, CZK, EUR, PLN, etc.Stringnull
languageLanguage. Options: cs, en or pl.Stringen
themeTheme. Options: light or dark.Stringlight
widthModal width. Options: auto or full.Stringauto
merchant-nameYour e-shop name. Optional.Stringnull
is-openedControls visibility. Set to "true" to show, "false" to hide.Boolean"false"

twisto-combination-widget

Same attributes as <twisto-widget>, but uses combination instead of product.

AttributeDescriptionTypeDefault value
combinationCombined offer. Currently: bnpl+pay-in-3.Stringnull
layoutWidget presentation. Options: default or minimal.Stringdefault
languageLanguage. Options: cs, en or pl.Stringen
themeTheme. Options: light or dark.Stringlight
siteRedirect target. Can be cz or pl.Stringnull
widthWidget width. Options: auto or full.Stringauto
amountProduct price. Required.Numbernull
currencyCurrency. Required. For example, CZK, EUR, PLN, etc.Stringnull
merchant-nameYour e-shop name. Required.Stringnull

twisto-strip-widget

A sticky full-width banner fixed to the top of the page. Does not require amount, currency, or merchant-name — the strip promotes Twisto products without displaying calculated prices.

AttributeDescriptionTypeDefault value
productTwisto product. Must be: pay-in-30-days, pay-in-3, or paid-bnpl.Stringnull
languageLanguage. Options: cs, en or pl.Stringen
themeTheme color palette. Options: light or dark.Stringlight
variantVisual style. Options: white (light background) or colored (purple background).Stringwhite
siteRedirect target site. Can be cz or pl. By default decided by language.Stringnull

twisto-payment-widget

Checkout widget for payment selection. Shows Pay in 30 days and Pay in 3 — or a single product when product is specified.

AttributeDescriptionTypeDefault value
productTwisto product. Options: pay-in-30-days or pay-in-3. Omit to show all products.Stringnull
amountProduct price. Required when product="pay-in-3" or when product is omitted.Numbernull
currencyCurrency of amount. Required with amount. For example, CZK, EUR, PLN, etc.Stringnull
languageLanguage. Options: cs, en or pl.Stringen
themeTheme. Options: light or dark.Stringlight
widthWidget width. Options: auto or full.Stringauto
siteRedirect target. Can be cz or pl. By default decided by language.Stringnull
selected-typeRead-only. Reflects the selected product — "standard" (Pay in 30 days) or "pay-in-three".Stringnull

twisto-checkout-widget

AttributeDescriptionTypeDefault value
productTwisto product. Must be: pay-in-30-days or pay-in-3.Stringnull
languageLanguage. Options: cs, en or pl.Stringen
themeTheme. Options: light or dark.Stringlight
siteRedirect target. Can be cz or pl.Stringnull
widthWidget width. Options: auto or full.Stringauto
amountProduct price. Required for pay-in-3.Numbernull
currencyCurrency. Required for pay-in-3. For example, CZK, EUR, PLN, etc.Stringnull