Hi there, I used this tutorial to add a gift box option to my site, however the message text is not visible next to the check box (first screenshot below). Can you please advise? I’ve added screenshots and my code below. FYI, I replaced “gift-wrapping” with “gift-box” on all code and menus, etc.
Also, per the tutorial, my theme does not have a cart-template.liquid so I went into my cart.liquid
and added the code, BUT there is no in that code (second screenshot below)
Snippet Code I used:
{% if linklists.gift-box.links.size > 0 and
linklists.gift-box.links.first.type == ‘product_link’ %}
For {{ linklists.gift-box.links.first.object.price | money }}
please wrap the products in this order.
Gift message (free and optional):
{{ cart.attributes.gift-note }}
{% assign id = linklists.gift-box.links.first.object.variants.first.id
%} {% assign gift_wraps_in_cart = 0 %} {% for item in cart.items %} {% if
item.id == id %} {% assign gift_wraps_in_cart = item.quantity %} {% endif %}
{% endfor %}
#updates_{{ id }} { display: none; }
{% else %}
You attempted to add a gift-box script to your shopping cart, but it
won't work because you don't have a link list with handle
gift-box which, in turn, contains a link to your
gift-box product. Please review the steps outlined
here.
{% endif %}
Hi there @krisdrygoods ,
Also, per the tutorial, my theme does not have a cart-template.liquid so I went into my cart.liquid> > and added the code, BUT there is no in that code
You’ll want to dig into page-cart.liquid and find that form either in that file or any of the sections, or snippets it may reference . The tutorial is only mean for the list shopify made themes beyond that you have to figure out the third parties theme architecture.
Otherwise more advanced is on the inputs you’d want to use the form attribute using the ID of the main cart form. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#form
If you need direct support to fix this, send me an email paull.newton+shopifyforums@gmail.com please provide context: store url ,theme name, and project description.
Hi @krisdrygoods
,
If you need an out-of-the-box solution for this to get everything working well, our app Giftship can provide this, plus much more: https://apps.shopify.com/giftship
If you are selling digital gift cards we also have a new solution called Gift Card Pro that adds on great gifting and deliverability features: https://apps.shopify.com/gift-card-pro
Please let us know if you’d like to go over anything here. We’re happy to jump on a Zoom call or help out at any time 
Tim
Gist Applications
admin@gist-apps.com