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

KHH
Tourist
6 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. 

Replies 8 (8)
Ecommpremium
Shopify Partner
271 23 53

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
- Should you need any direct help: contact@ecommpremium.com
- SKYPE: ahsanaliawan
- shopifyexperts
KHH
Tourist
6 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
6 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
271 23 53

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

- Did we solve your issue? Like & Mark As Solution to help the community
- Should you need any direct help: contact@ecommpremium.com
- SKYPE: ahsanaliawan
- shopifyexperts
KHH
Tourist
6 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
2 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