Solved

I can't find the cart-template.liquid or cart.liquid file in CRAFT theme

Gijs-Graey
Excursionist
14 1 3

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-...

 

What is going wrong?

Accepted Solutions (2)
Junaid-Ahmed
Shopify Partner
79 17 16

This is an accepted solution.

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.
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.

View solution in original post

Gijs-Graey
Excursionist
14 1 3

This is an accepted solution.

Thanks... I forgot to add the menu 😖

View solution in original post

Replies 20 (20)

Junaid-Ahmed
Shopify Partner
79 17 16

Hi, please use the search files field and enter search term "cart", then share what files do you see.

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
Gijs-Graey
Excursionist
14 1 3

scher1..pngScherm­afbeelding 2022-11-23 om 15.09.00.png

Junaid-Ahmed
Shopify Partner
79 17 16

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.

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
Gijs-Graey
Excursionist
14 1 3

I don't exactly understand what I have to do now?

 

Junaid-Ahmed
Shopify Partner
79 17 16

I believe you have already created the snippet mentioned in the Shopify help docs i.e. gift-wrapping.liquid. So the next steps are:

 

  1. Open the file sections/main-cart-items.liquid
  2. Search/look for </form>
  3. Paste this code in a new line above </form>
{% render 'gift-wrapping' %}

 

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
Gijs-Graey
Excursionist
14 1 3

Still it is not working

 

Scherm­afbeelding 2022-11-23 om 15.31.51.png

Junaid-Ahmed
Shopify Partner
79 17 16

Have you created the snippet as mentioned in the Shopify tutorial? i.e. snippets/gift-wrapping.liquid

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
Gijs-Graey
Excursionist
14 1 3

Yes

Scherm­afbeelding 2022-11-23 om 15.35.05 (2).png

Junaid-Ahmed
Shopify Partner
79 17 16

What about the nav menu item? https://help.shopify.com/nl/manual/online-store/themes/themes-by-shopify/vintage-themes/customizing-...

 

If you have done all the steps, please share the store URL.

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
Gijs-Graey
Excursionist
14 1 3
Gijs-Graey
Excursionist
14 1 3

Yes I did everything

Junaid-Ahmed
Shopify Partner
79 17 16

This is an accepted solution.

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.
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
Gijs-Graey
Excursionist
14 1 3

This is an accepted solution.

Thanks... I forgot to add the menu 😖

Jaykbs
New Member
9 0 0

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

shopify cart checkout buttons.png

Jaykbs
New Member
9 0 0

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....cart checkout box.png

 

Jaykbs
New Member
9 0 0

The envelope one works fine now when i check/uncheck it.

but the bottle opener one just couldn't uncheck it.

Jaykbs
New Member
9 0 0

Worse part is if I try uncheck it, it not only Unchecks the bottom one that has been checked, then Checks itself back...

Jaykbs
New Member
9 0 0

I'm using the craft them as well

Jaykbs
New Member
9 0 0

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... 😞

Jaykbs
New Member
9 0 0

If I try remove the item with the Bin image, it removes it, price reflects it too, but the box remains checked