How to add note section to the Buy Button?

Previously I was using this solution on this post: https://community.shopify.com/c/shopify-design/shopify-lite-cart-notes-enabled-but-not-showing/td-p/464798

I did this and it worked in January. Now I had to update something and re-do the embedded html code and I’m no expert with code but I definitely think Shopify rearranged the html code. The notice text looks to be in a completely different spot now under it’s own text section, so I am not sure where I should add the note description? Anyone have a solution?? Additionally, I cannot recall if I am to select “show order note field” when I am creating the button and then go to edit the html from there or if I leave it unselected?

I have tried putting in just the below right under cart and it’s not working:

“cart”: {
“contents”: {
“note”: true,
“button”: true
},
“text”: {
“noteDescription”: “Insert text here”

},

This is the new code I have from shopify:

Well I was going to delete this because I figured it out and couldn’t find where to delete a post so I will just make it known for everyone what I did and it seems to be working now and much easier than the old way… So I selected to show order note field when creating the button but DO NOT type anything in. Create your button and go to the code.

Here is the new piece of the code they must’ve updated. And then all I did was add my note in between the quotes for notedescription:

“text”: {
“total”: “Subtotal”,
“notice”: "Local Delivery added at checkout. Delivery will display as "Ship" on the Information Page. ",
“button”: “Checkout”,
“noteDescription”: “type your text here”
},

Seems to be working right now! Hopefully this helps somebody :slightly_smiling_face:

It doesn’t work for me. Maybe something has changed? Can you help me?