Created
May 31, 2018 17:50
-
-
Save CartHookSupport/063b2f4cf006d71749b35238df840126 to your computer and use it in GitHub Desktop.
Script to Uncheck Marketing Emails Opt-in on the 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
CH.event(function (event, data) { | |
if (event === 'INITIATED_PAGE') { | |
$('#buyer_accepts_marketing').prop('checked', false); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment