Component: Block Purchase Dialog
Purpose: Use this Enforcement Component to block multiple purchases of any products or the same product on the checkout.
Important consideration:
This component should only be used on the Limio Checkout. If you are using it on other pages (e.g. offers Pages), please contact .
This component will only work for Limio Products that have been set to Block Multiple Purchases? to True. If the customer purchased subscription has a product with Block Multiple Purchase? set to False, the component will not activate.
If you want to prevent multiple purchases of one product but allow the purchase of other products, you must set Allow Purchase Different Product? to True.
To display this Dialog, the checkout must be authenticated.
body
Body
richtext
It looks like you're already a subscriber. Go to your account to edit your current subscription.
Message visible to customers
Minimum number of subscriptions for a dialog to appear
number
0
This block will appear only if the customer has at least X subscription(s). This can be helpful if you want to block all purchase for existing subscribers. If set to 0, the modal will be displayed if the customer has 1 or more subscriptions. If set to 1, the modal will be displayed if the customer has 2 or more subscriptions and so on.
addSubRef
Add subscription reference to URL, if present?
boolean
FALSE
If enabled, if the customer has only one subscription, Limio will add the subscription reference as a query parameter to the URL If the customer has multiple subscriptions, this setting is ignored and no query parameter is added.
addPurchaseCountry
Add purchase country URL, if present?
boolean
FALSE
showButton
Show a button?
boolean
FALSE
Show a button that allows you to redirect the customer, for example to the appropriate product or to their self-service portal
alwaysBlock
Always show the block?
boolean
FALSE
Overrides the product requirement and block if someone has ANY active subscription
allowDifferentProducts
Allow to purchase different products?
boolean
FALSE
allowClose
Always to close the dialog for subscriptions with 'Block Multiple' disabled
boolean
FALSE
buttonLabel
Button label
buttonLabel
Click here
Define button text
buttonUrl
Button URL
buttonUrl
/mma
Define button URL
componentId
Component Id
string
block-purchase-dialog-limio
Last updated
Was this helpful?

