Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
snippets:checkout:adding_a_consent_to_data_transfer_checkbox [2016/01/22 08:41] jedsnippets:checkout:adding_a_consent_to_data_transfer_checkbox [2017/04/26 07:02] (current) – external edit 127.0.0.1
Line 10: Line 10:
 ---- ----
  
-====== Remove days timeframe from USPS rates ======+====== Adding a Consent to Data Transfer Checkbox in the Checkout ======
  
 This snippet was made in relation to the post about the workaround for the removal of Safe Harbor. This would require customers to check the consent to allow a secure data transfer, and serves as a workaround until a new agreement to replace Safe Harbor is in place. You can read more information about it here: [[http://www.foxycart.com/blog/safe-harbor-is-dead-long-live-something-else#.VqGXw4h97IU]] This snippet was made in relation to the post about the workaround for the removal of Safe Harbor. This would require customers to check the consent to allow a secure data transfer, and serves as a workaround until a new agreement to replace Safe Harbor is in place. You can read more information about it here: [[http://www.foxycart.com/blog/safe-harbor-is-dead-long-live-something-else#.VqGXw4h97IU]]
Line 21: Line 21:
 Paste the following code immediately after the ''^^checkout^^'' tag in your checkout template: Paste the following code immediately after the ''^^checkout^^'' tag in your checkout template:
  
-<code>+<code html>
 ^^custom_begin^^ ^^custom_begin^^
    
Line 31: Line 31:
  <div>  <div>
  <h4>Consent to Secure Data Transfer</h4>  <h4>Consent to Secure Data Transfer</h4>
- <input type="checkbox" id="consent_to_secure_data" name="consent_to_secure_data" value="accept" checked="checked" class="fc_required" />+ <input type="checkbox" id="consent_to_secure_data" name="consent_to_secure_data" value="accept" class="fc_required" />
  <label for="consent_to_secure_data">We make every effort to protect your personal data. By checking this box, you are consenting to securely transmitting the data entered to here to the secure ecommerce servers we utilize in the United States.</label>  <label for="consent_to_secure_data">We make every effort to protect your personal data. By checking this box, you are consenting to securely transmitting the data entered to here to the secure ecommerce servers we utilize in the United States.</label>
  <label class="fc_error" style="display:none;" for="consent_to_secure_data">You must accept this Consent to Secure Data Transfer to complete this transaction.</label>  <label class="fc_error" style="display:none;" for="consent_to_secure_data">You must accept this Consent to Secure Data Transfer to complete this transaction.</label>

Site Tools