How can I add custom engraving notice to cart page on a .json theme?

Solved

How can I add custom engraving notice to cart page on a .json theme?

theengravers
Tourist
22 0 0

Hi there,

 

All of the products in our store include custom engraving, so it can take up to 3 weeks to process an order.  I would like to include a note to this effect on the cart page so customers are aware of it before placing their order.  I've found other instructions for adding text to the cart page, but they are all for .liquid themes, and we have a .json theme (Craft).  How would I go about adding the text to the cart page in our theme?

 

TIA

Accepted Solution (1)

gr_trading
Shopify Partner
2000 147 205

This is an accepted solution.

Hi @theengravers ,

 

You do have cart liquid named main-cart-items.liquid, plz add your message after line number 298 or anywhere you want.

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | Shopify Free codes
To support Buy Me a Coffee

View solution in original post

Replies 9 (9)

KetanKumar
Shopify Partner
37585 3668 12152

@theengravers 

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community!😊
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

If helpful then please Like and Accept Solution. Partnership of your ️ Coffee Tips and my code can bring miracles.
Want to modify or custom changes on store Hire Me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
theengravers
Tourist
22 0 0

Our url is theengravers.ca.  Thank you!

suyash1
Shopify Partner
10565 1305 1672

@theengravers - we have 3 options, announcement bar, add to cart button and cart page

 

so you need to put an instruction for the users, so you can put it in announcement bar - your theme may have an announcement bar option

 

, or

you can put it on product pages before add to cart button, this needs little code editing

or

can edit cart page to add text

Support me | To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
theengravers
Tourist
22 0 0

I would like to edit the cart page to add text, but I don't see an option anywhere for doing that.  Do I need to edit the code?

suyash1
Shopify Partner
10565 1305 1672
yes, if you want to add on cart page then please go to cart.liquid file in
your theme and add the required text and required location
Support me | To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
theengravers
Tourist
22 0 0

I don't have a cart.liquid file.  I only have a cart.json file.  From what I've seen the .json set up is very different from .liquid files, so I'm not sure what code to add or where.

suyash1
Shopify Partner
10565 1305 1672

@theengravers - can you ad me as collaborator? I can send the request

Support me | To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.

gr_trading
Shopify Partner
2000 147 205

This is an accepted solution.

Hi @theengravers ,

 

You do have cart liquid named main-cart-items.liquid, plz add your message after line number 298 or anywhere you want.

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | Shopify Free codes
To support Buy Me a Coffee
theengravers
Tourist
22 0 0

Thank you!  That is exactly what I was looking for!