How to Restrict user from checkout?🤔
PreviousHow to Create a Bundle Discount of Specific Products?🤔NextHow to Create a Product Level Volume Discount Setup : Buy More, Save More🤔
Last updated
Objective: Blocks checkout for customers tagged “banned” and displays a custom validation error..
Navigate to the Nexus Dashboard and click Create Function.
Select Validation Functions from the list.
Click on Conditional Cart & Checkout Validation.
A setup screen will appear.
Enter the Function Name.
Select the Function Input Type to Advanced Input.
Select Customer Tags from Customer Qualifier.
Condition: Does Match one of the
Customer Tags: Banned
Note:(Validation Message will be shown Only Banned -tagged customers …You can assign the Banned tag to a customer by adding it directly to their profile.)
Click on Add Validation Error to begin setting up your validation rule.
A popup will appear.
Select the User Journey: Choose the page where the error should appear (e.g., Cart or Checkout).
Select the Target: Define the specific field or section (e.g., Email)
Enter the Error Message: This is the message customers will see when validation fails. And Click on Save.
To ensure your function works correctly and is enforced during checkout:
Scroll down to the Validation Settings section.
Check the box labeled Active to enable the validation function.
Check Block on failure if you want the checkout to stop when the conditions of your function are not met (e.g., if the required bundle items aren't in the cart).
Once everything is set, click Save to create your validation function.
🎉 You're all set! Enjoy a smarter, smoother checkout experience with Nexus Function. 😊
Last updated