Created
December 30, 2020 20:37
-
-
Save rieckpil/1db609771311b1b64bd8cb7fa184d882 to your computer and use it in GitHub Desktop.
Trigger Cart Abandonment when Email is pre-filled on SendOwl's Checkout Page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
Page.checkoutCallback = function () { | |
var email = document.getElementById("order_buyer_email").value; | |
if (email) { | |
$("#order_buyer_email").blur(); | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment