I want to add “gift wrapping” to my shopping Cart but I can’t find the files in which I need to change something. I’m using the Craft theme. I used the description on this page https://help.shopify.com/nl/manual/online-store/themes/themes-by-shopify/vintage-themes/customizing-vintage-themes/add-gift-wrap-option
What is going wrong?
system
November 23, 2022, 2:04pm
2
Hi, please use the search files field and enter search term “cart”, then share what files do you see.
system
November 23, 2022, 2:15pm
4
It looks like to update your /cart page’s content, you’ll have to edit sections/main-cart-items.liquid and to update your cart drawer, edit sections/cart-drawer.liquid.
Let me know if that helps.
I don’t exactly understand what I have to do now?
system
November 23, 2022, 2:24pm
6
I believe you have already created the snippet mentioned in the Shopify help docs i.e. gift-wrapping.liquid . So the next steps are:
Open the file sections/main-cart-items.liquid
Search/look for
Paste this code in a new line above
{% render 'gift-wrapping' %}
system
November 23, 2022, 2:34pm
8
Have you created the snippet as mentioned in the Shopify tutorial? i.e. snippets/gift-wrapping.liquid
system
November 23, 2022, 3:00pm
10
system
November 23, 2022, 3:19pm
13
The script is currently in action but you have not setup the menu item correctly. You could even see the error/warning message on the cart page.
You attempted to add a gift-wrapping script to your shopping cart, but it won't work because you don't have a link list with handle gift-wrapping which, in turn, contains a link to your gift-wrapping product. Please review the steps outlined here.
Thanks… I forgot to add the menu
Jaykbs
February 19, 2024, 7:08pm
15
Hi, i wanted to add 2-3 snippets, I manage to get one done.
but once I added the 2nd one, it did not allow me to check Both the boxes
I want to offer things like blank greeting cards, bottle opener, candles, plates etc for customers to choose which is additional cost for them
Jaykbs
February 19, 2024, 7:14pm
16
For the above question, i mange to check both of them for a short time like 2 minutes, then
if I uncheck the box, it automatically checks it back, so i can’t have both options blank…
Jaykbs
February 19, 2024, 7:16pm
17
The envelope one works fine now when i check/uncheck it.
but the bottle opener one just couldn’t uncheck it.
Jaykbs
February 19, 2024, 7:21pm
18
Worse part is if I try uncheck it, it not only Unchecks the bottom one that has been checked, then Checks itself back…
Jaykbs
February 19, 2024, 7:24pm
19
I’m using the craft them as well
Jaykbs
February 19, 2024, 7:26pm
20
now whenever I go to the shopping cart page, it keeps loading, i can see the page, but looks like its refreshing itself all the time/ crashing…