Add a "note to seller" in checkout for Dawn theme 2.0

Solved
KHH
Tourist
7 0 1

I need to add a "note to seller" section in my checkout. I'm using the Dawn 2.0 theme and haven't found any solution for doing this in the discussions. 

Accepted Solution (1)

Accepted Solutions
TMSmaldon
Tourist
5 1 6

This is an accepted solution.

Here is what I did:

 

Customise theme

At the top in the middle select the page (cart)

On the left hand side of the page click the 'subtotal' section

Now on the right hand side check the box 'enable cart note'

 

This will give you an area for inputting text with the title 'add special instructions'

This may be enough for you but I needed to change this title to: 'If collecting, please enter your collection date here:' you can change this to whatever you like by doing this:

 

Now exit the theme editor and on to 'edit code'

next find the file 'en.default.json' in the locales section at the bottom

now on line 232 (this may be different for you so it might be easier to 'ctrl F' and type "note" including both "

It should say: 

"note": "Add special instructions"

Were it says Add special instructions - delete this and type what you would like it to say e.g mine looks like this:

 

"note": "If collecting, please enter your collection date here:"

 

If collecting.png

 

View solution in original post

Replies 15 (15)
Ecommpremium
Shopify Partner
405 36 77

Hi @KHH i have the solution to your question!

  1. From your shop admin, go to the Themes page.
  2. Go to edit code.
  3. Under the Templates folder, locate and click on cart.liquid to open it in the online code editor.
  4. Between the opening <form> and the closing </form> paste the following code:

 

 

<p> <label for="note">Gift note:</label><br/> <textarea name="note" id="note" rows="3" cols="60">{{ cart.note }}</textarea> </p>

 

 

  • Save your changes.
- Did we solve your issue? Like & Mark As Solution to help the community
- SKYPE: ahsanaliawan
- 300+ Video Tutorials
-Upwork
KHH
Tourist
7 0 1
Thanks for the info. Unfortunately my templates only include cart.json.
There's no cart.liquid on the list. This is a 2.0 theme.
getxgo
New Member
1 0 1

For the Dawn theme. You can add the code between <form> </form>  to the "main-cart-items.liquid" under the sections. 

<p> <label for="note">Sending as a gift? - Enter a gift message below </label><br/> <textarea name="note" id="note" rows="3" cols="60">{{ cart.note }}</textarea> </p>


Screen Shot 2021-11-03 at 3.04.22 PM.png

KHH
Tourist
7 0 1

Thanks for the reply getxgo. This code works but it shows up in the cart. Some shoppers don't open their cart and go straight to checkout.  I need it to show in the checkout page where customers type their contact info. Is this possible? 

Ecommpremium
Shopify Partner
405 36 77

checkout page can only be customized in plus plan! @KHH 

- Did we solve your issue? Like & Mark As Solution to help the community
- SKYPE: ahsanaliawan
- 300+ Video Tutorials
-Upwork
KHH
Tourist
7 0 1

That's too bad. The plus plan is way out of my price range. 

LCCDESIGNS
New Member
1 0 0

Can you please advise what line the "form" part is in the section, thankyou.

Ethos_Chris
New Member
3 0 0

Unfortunately, entering any text into the notes field results in an immediate error generated on the cart page - see below:

"There was an error while updating your cart. Please try again."

 

A functional solution is always appreciated.

 

Thank you

 

Capture1.JPG

 

Capture2.JPG

 

Byashleya
New Member
1 0 0

Where exactly is the line form? And is there any updated way Of doing this? I’m trying to figure this out as well for dawn 2.0 

wiredogs
Tourist
3 0 1

This doesn't work for me either. Form element displays, but cannot checkout. Working solutions appreciated!

TMSmaldon
Tourist
5 1 6

This is an accepted solution.

Here is what I did:

 

Customise theme

At the top in the middle select the page (cart)

On the left hand side of the page click the 'subtotal' section

Now on the right hand side check the box 'enable cart note'

 

This will give you an area for inputting text with the title 'add special instructions'

This may be enough for you but I needed to change this title to: 'If collecting, please enter your collection date here:' you can change this to whatever you like by doing this:

 

Now exit the theme editor and on to 'edit code'

next find the file 'en.default.json' in the locales section at the bottom

now on line 232 (this may be different for you so it might be easier to 'ctrl F' and type "note" including both "

It should say: 

"note": "Add special instructions"

Were it says Add special instructions - delete this and type what you would like it to say e.g mine looks like this:

 

"note": "If collecting, please enter your collection date here:"

 

If collecting.png

 

ali-sha
Tourist
6 0 0

Thank you so much! i was searching the pages and settings and couldnt find it!

wiredogs
Tourist
3 0 1

Thank you! this works for me. I'm looking for a gift message and ability to print that to include with an order. Have you seen an app that achieves this?

KHH
Tourist
7 0 1

Bless you for sharing. This worked for me on Dawn 2.0 as well!

Elzsgr
New Member
2 0 0

Thank you! I have been looking for this answer for an hour and your answer was the only one that worked!