Top

Send Cart Notes with Cashier

To send cart notes with Cashier, follow these steps:

From "Shopify Admin", select Online Store.

select online store

  1. Select Actions.

    select actions

  2. Select Edit code.

    select edit code

  3. Under "Templates", select cart.liquid.

    Note: If your theme contains sections, you may need to open cart-template.liquid, under "Sections" instead.

    select cart.liquid

  4. Find the code that looks similar to this, it should contain name="update":

    Note: If this code doesn't exist, add it.

    <input type="submit" name="update" class="update" value="{{ 'cart.general.update' | t }}">

    find the update button code

  5. Add this code to the bottom of the page:
    <!-- Bold Update Cart Notes -->
     <script>
     function updateCartNote(){
     $('[name=update]').click();
     }
     </script>
    <!-- End update Cart Notes -->

    Add the update code

  6. Find the note textarea, it should look similar to this:
    <textarea name="note" id="CartSpecialInstructions" class="cart-note__input">{{ cart.note }}</textarea>

    Find the note textarea

  7. Copy and paste this code into the line:
    onblur="updateCartNote()"

    copy and paste the onblur code

  8. Select Save.

    Select Save

That's it!

Next Steps:

Blog Posts: