Have your say in Community Polls: What was/is your greatest motivation to start your own business?

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

Solved

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

KHH
Tourist
7 0 3

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 Solutions (2)

TMSmaldon
Tourist
7 1 9

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

imaginesuccess
Visitor
1 1 0

This is an accepted solution.

Is this still the solution for this with the current version of the theme?

View solution in original post

Replies 23 (23)

Ecommpremium
Shopify Partner
512 43 93

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
-Website
KHH
Tourist
7 0 3
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
Visitor
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 3

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
512 43 93

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
-Website
KHH
Tourist
7 0 3

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

abshop1y
Visitor
1 0 0

Did you find a solution for the checkout page? I have the same issue. Customers bypass the cart page so they never see the gift message box.

LCCDESIGNS
Visitor
1 0 0

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

Ethos_Chris
Visitor
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
Visitor
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
7 1 9

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 1

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 3

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

Elzsgr
Visitor
2 0 1

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

 

HarmanLab
Excursionist
12 0 37

Thank you, this is tricky to find and not where most of the other info suggests!

Ardnas18
Visitor
1 0 0

Please I need help with this too. I got lost from where said type note. I've followed the steps but nothing show which means I didn't do something right.

TMSmaldon
Tourist
7 1 9
Are you using the Dawn theme version 2.0?
imaginesuccess
Visitor
1 1 0

This is an accepted solution.

Is this still the solution for this with the current version of the theme?

TMSmaldon
Tourist
7 1 9
I haven't checked as I am no longer using the theme. You could try and see
if it's still a working solution and let this thread know your findings?
HarmanLab
Excursionist
12 0 37

Latest Dawn version 7.0.1

Customise Theme - Theme Settings - Cart - Check "Enable Cart Note"

kimmylim3
Visitor
2 0 0

Thank you! Resolved. This is so helpful!