Component: Block Related Purchase Modal

Purpose

Use this Enforcement Component to block purchases related to a product a customer already owns. For example, if you want someone who already has Digital + Print to not be able to buy Digital, then use this component.

Another example is if a customer has your Gold package, they should not be able to buy an add-on already included in Gold.

Important considerations

  • This component will only work to block purchases of products specified in the Related Products to Block Purchase attribute of a Limio Product the user owns.

Screenshot_2022-08-24_at_15.32.15.png
  • If you want to the block to apply both ways (owning product A prevents purchasing product B and vice versa) then the attribute needs to be configured on both products.

  • To display this Dialog, the checkout must be authenticated.

Screenshot_2022-06-28_at_17.17.30.png

id

label

type

default

Purpose

heading

Heading

string

You already have a related product.

Message visible to customers

body

Body

richtext

It looks like you already have a related product.

Message visible to customers

showButton

Show a button?

boolean

FALSE

Show a button that allows you to redirect the customer, for example to their self-service portal

buttonLabel

Button label

buttonLabel

Click here

Define button text

buttonUrl

Redirect Destination

buttonUrl

/

Define button URL

componentId

Component Id

string

block-related-purchase-modal

Last updated

Was this helpful?