foxy_io

Add message after shipping address

Sep 10th, 2020 (edited)
1,073
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {% if context == "checkout" %}
  2. <script>
  3. FC.client.on("render.done", function() {
  4.   var message = '<p>First-run sifters go into production early 2021 to deliver to you by April 20.</p>';
  5.  
  6.   if ($(".production-note").length == 0) {
  7.             $("fieldset.fc-address-entry").append('<div class="row production-note"><div class="col-sm-10 col-sm-push-1">' + message + '</div></div>');
  8.   }
  9. });
  10. </script>
  11. {% endif %}
Add Comment
Please, Sign In to add comment