Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% if context == "cart" or context == "checkout" %}
- <script>
- FC.client.on("render.done", function() {
- var message = '<p>Note: Add 1-2 business days for processing.</p>';
- if ($(".shipping-note").length == 0 && FC.json.shipping_address.shipping_results.length > 0) {
- if (FC.json.context == "checkout") {
- $(".fc-checkout__section--shipping-results").append('<div class="row shipping-note"><div class="col-sm-10 col-sm-push-1">' + message + '</div></div>');
- } else {
- $(".fc-shipping-rates").append('<div class="fc-input-group--sidebar shipping-note"><br>' + message + '</div>');
- }
- }
- });
- </script>
- {% endif %}
Add Comment
Please, Sign In to add comment