App Settings, Installation & Maintenance
Manage global store-wide settings for BSS B2B Lock, including Theme Editor visibility, theme targeting, app embeds, and code cleanup.
While individual lock rules are configured with their own targets and conditions, the Settings area in BSS B2B Lock manages global, store-wide behaviors, theme integration environments, and code lifecycle management.
On This Page
1. Display Rules on Shopify Theme Editor
Under App Settings, you can control whether lock rules take effect inside the Shopify Theme Customizer/Editor.
Setting Location: BSS B2B Lock → Settings → General / App Settings → Display rules on Theme Editor
Default State: ON (enabled by default for all stores to comply with Shopify App Store requirements and ensure WYSIWYG editing).
Storefront Behavior: When enabled, whenever you or your team open Shopify Admin → Online Store → Themes → Customize, the preview renders locked content exactly as a customer would experience it.
Troubleshooting / Merchant Tip: If you need to edit theme sections, customize layout blocks, or adjust styling freely without triggering app lock overlays or login gates in the theme preview, you can temporarily toggle this setting OFF. Remember to turn it back ON once your visual editing is complete.
2. Theme Targeting (Live vs Draft Theme)
Testing B2B locks on a live production storefront can disrupt active customers. The Installation tab allows you to isolate app script injection to a staging theme.
Setting Location: BSS B2B Lock → Installation → Auto Installation
Install to TEST (Draft Theme):
Select Install to TEST (Draft).
Choose your staging or duplicate theme from the theme dropdown (e.g. Theme Dawn (Staging)).
Click Install.
The top banner in the app will reflect: Install target: [Theme Name] — Draft Theme.
Lock rules created or edited in the app will only execute when previewing that specific draft theme.
Install to LIVE (Published Theme):
Once you have verified your locks in the draft preview, return to Settings → Installation.
Select Install to LIVE (Published).
Select your published theme and click Install.
The banner updates to confirm live storefront execution.
3. App Embed Central Management
The BSS B2B Lock App Embed connects the app's locking logic and rules to your storefront theme:
Central Dashboard Control: App embed status is monitored directly from the App Dashboard header.
Theme Switching: Whenever you publish a new theme or duplicate your active theme, always verify that the BSS B2B Lock app embed is turned ON in Shopify Admin → Online Store → Themes → Customize → App Embeds.
4. Clean Up Code Before Uninstalling
If you ever decide to change themes, pause usage, or uninstall BSS B2B Lock, you should always remove injected snippets first.
Setting Location: BSS B2B Lock → Settings → Clean up code
Why this is critical:
Auto-installation injects theme code snippets to ensure locks work reliably across all page templates.
If the app is uninstalled directly from Shopify Apps without running cleanup, orphaned code snippets can remain in your theme files and potentially cause display issues.
How to run Clean Up:
Go to Settings → Clean up code.
Select the themes where B2B Lock code was previously installed.
Click Clean Up Code.
The system scans the theme files, removes injected code snippets, and logs completion.
Best Practice: Always execute Clean Up Code before clicking "Uninstall app" in your Shopify Admin. If you have already uninstalled the app and notice leftover snippets, contact support-sbc@bsscommerce.com for free cleanup assistance.
5. Summary of Global Settings vs Per-Rule Settings
Global App Settings
App Settings / Installation / Clean Up
Theme Editor visibility toggle, Target theme (Live vs Draft), App Embed activation, Code Cleanup
Per-Rule Advanced Settings
Step 3 of Rule Builder (Lock Settings)
Custom lock message, Login/Register buttons, Passcode timeout, Excluded URLs, Session expiry
Still Need Help?
If you have questions or need assistance configuring BSS B2B Lock, our dedicated support team is here to help.
In-App Assistance: Click Need help? or use the in-app chat button within BSS B2B Lock.
Email Support: Contact us at support-sbc@bsscommerce.com with your store URL and specific rule details.
Last updated