Unsupported functionality
Here's a list of interesting ways to interact with Locksmith. None of these are officially supported. We can't troubleshoot your custom code. :)
Working with passcodes and secret links
<script>
window.addEventListener('load', () => {
if (Locksmith.params.passcode) {
$.post('/cart/update.json', { attributes: { passcode: Locksmith.params.passcode } })
}
});
</script>Working with Passcode/Secret Link expiry in UNIX timestamp

Clearing the Locksmith cart attribute
Responsive background image for the passcode form
Redirecting after customer registration
Removing product information from Shopify Analytics in the page source
Last updated
Was this helpful?