Hi! Appreciate whoever can help me with this one! Have been struggling.
SO I have the PRESTIGE theme and have managed to follow this tutorial and get a custom text box to appear on my product page. Link Here to Guide on Adding Customizable Product
Following the guide, I have updated my code and added a new section for product-customizable-template and have successfully gotten my custom text to appear on my product page .
- Here is a link to my product page I am referring to - https://malibuapothecary.com/products/crown-castle-custom-candle
As you can see the custom text box is kind of in a wonky position. I would like it to be right above the add to cart in between the other product options, though, if not possible this is fine. The MAIN issue I am having is that it is not appearing in the cart at checkout so I am not able to see the order details.
Their suggestion was to if your theme doesn’t display customizations in the cart, then you can add some code to either your cart-template.liquid, or your cart.liquid file to check for line-item properties and display them if they exist. However the PRESTIGE theme does not have {{ item.product.title }} in the cart-template.liquid or the cart.liquid section. It is contained in their “cart-items.liquid section”. I have tried adding it a few different places in both but it is not appearing. For reference, here is the code and instructions I followed below.
If someone could please help me figure out how to display this in the cart, I would really appreciate it.
- The Suggested option to add the details to your cart:
-
To show product customization information in the cart:
-
From your Shopify admin, go to Online Store > Themes.
-
Find the theme you want to edit, and then click Actions > Edit code.
-
In the Sections directory, click cart-template.liquid. If your theme doesn’t have a cart-template.liquid, then open the Templates directory and click cart.liquid.
-
Find the line containing the code {{ item.product.title }}. On a new line below, paste the following code:
``` {% assign property_size = item.properties | size %} {% if property_size > 0 %} {% for p in item.properties %} {% assign first_character_in_key = p.first | truncate: 1, '' %} {% unless p.last == blank or first_character_in_key == '_' %} {{ p.first }}: {% if p.last contains '/uploads/' %} <a class="lightbox" href="{{ p.last }}">{{ p.last | split: '/' | last }}</a> {% else %} {{ p.last }} {% endif %} <br> {% endunless %} {% endfor %} {% endif %} ``` -
Click Save.
-
-
However, this theme did not include " {{ item.product.title }} " in either. I noticed it lives in the cart-items.liquid snippet but this does not work if you add the code here.
Would you possibly be of any helping in directing me to the right place to add this feature?
Thank you!



