B2B Lock | How to prevent bot purchases, fraudulent orders, and unauthorized orders
โ๏ธ Prerequisites
Before setting up checkout lock, ensure you have:
- You must have the BSS B2B Lock app installed
- This feature requires a Shopify Plus plan.
๐ฎ How to use
Step 1: Navigate to Checkout Locks in the sidebar of the BSS B2B Lock app.

Step 2: Configure the general rule information.
Rule Name and Status (important โ the status must be enabled for the rule to work).
Step 3: Configure Rules Based on Specific Conditions ๐
Configure your validation rules using these options:
- ๐ค Customer conditions: Customer tags, email addresses, customer phone, login status
- ๐ฆ Product conditions: Product tags, specific products, collections

Step 4: Set Up Logic and Error Message ๐ฌ

Condition Matching:
- ๐ ALL: Acts as an AND condition, meaning all selected conditions must be met
- ๐ ANY: Acts as an OR condition, meaning at least one selected condition must be met
Error Message:
โ ๏ธ Default message: "Sorry, your order has been blocked."
This error message will be displayed when a checkout attempt is blocked based on your defined rules.

โ ๏ธ Important Limitations
Please note: Currently, it's only possible to set up one checkout validation rule per store. We will support multiple rules soon.
๐ Troubleshooting
โ Common Issues
If your checkout validation isn't working as expected:
- โ Verify that your product and customer tags are correctly applied
- ๐ Check that your checkout rule matches your condition logic
- ๐งช Test with different customer accounts to verify the behavior
๐งช Testing Your Setup
Before going live, test your checkout validation by:
- ๐ฅ Creating test customer accounts with and without the required tags
- ๐ Adding tagged products to cart
- ๐ณ Attempting checkout to verify the validation works correctly
- ๐ Testing different scenarios based on your rule conditions
๐ Next Steps
Once you've successfully set up checkout validation:
- ๐ Monitor your store for blocked orders to ensure rules are working correctly
- โ๏ธ Adjust error messages to provide clearer guidance to customers
- ๐ Consider additional validation rules as your business needs evolve
- ๐ Review blocked attempts regularly to identify potential issues
Updated on: 04/08/2025
Thank you!