Purpose: Use this Enforcement Component to block multiple purchases of any products or the same product on the checkout.
Important consideration:
Important consideration:
- 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.
id | label | type | default | Purpose |
heading | Heading | string | You're already a subscriber | Message visible to customers |
body | Body | richtext | It looks like you're already a subscriber. Go to your account to edit your current subscription. | Message visible to customers |
max | 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 ant to block all purchase for existing subscribers. |
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. |
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 |
buttonLabel | Button label | buttonLabel | Click here | Define button text |
buttonUrl | Button URL | buttonUrl | /renew | Define button URL |
componentId | Component Id | string | block-purchase-dialog-limio |
Comments
0 comments
Please sign in to leave a comment.