gift wrap option to cart page

Gift Wrap Option (Cart Page) - Upsell

Log in or Sign up to ensure access to purchased code across multiple devices.

How to see the code

1. Please log in/create an account first. This is to ensure that all purchases are connected to an account and can be viewed on different devices.

2. Purchase the code using the "purchase box" on the specific page of the desired code.

3. After the purchase, please refresh the page.

Compatibility: All  Shopify 2.0 FREE themes  ONLYWorks from lower version to version 11

You are able to add a note in Shopify 2.0 and also add any product to upsell in the cart. This works in Dawn Theme and any Shopify 2.0 theme, even Refresh theme. If your product has multiple variants, it will add the first variant only. 

Please make sure to check the demo store before buying. Password: made4uo

If you want to use cart drawer, please use this code instead. 

NOTE: Gift wrap code for cart page and cart drawer are the same but different placement. 

 What you are buying:

  • Add one product in just a click of a button in your cart page only (no cart drawer)
  • Code is using ajax that updates the cart drawer
  • Choose any product you want
  • Design might have to depend to the Shopify theme being use
  • The code might not work together with an app

What makes our code better:

  • We do not use external libraries, with that being said, our code will have no to minimal effect to your website's speed performance
  • We do not leave or add codes use to advertise for our website
  • Our code is mobile friendly

Any issues related to the code will be fix with no additional cost, excluding code customization requests. Simply contact us with "Chat with us." We are just a button away.

To start:

1. Go to Admin store > Online Store > Themes > Actions > Edit code.

2. Open the Snippet folder and create a new snippet, name it "gift-wrap."

3. Then paste the code below. Click SAVE.

 4. Next, we will add our settings to allow customization. Open the settings_schema.json under the Config folder, and scroll down until you find the last "]." Before the closing bracket, add the code below.

5. Next, we need to add the snippet in the main-cart-footer.liquid file under the Section folder. Open the file and find the code below. See image for placement.

gift wrap option dawn


6. Then insert the code below. 


Last thing to do is to assign your product for gift wrap. Go to your theme editor, click Theme Settings, the Gift wrap.

That's it (",) If this is too intense for you, do not hesitate to contact me using "Chat with us."

Back to blog

Leave a comment