Shopify themes, liquid, logos, and UX
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 .
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.
To show product customization information in the cart:
{% 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 %}
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!
Hello! Maybe someone can help me?
I have Prestige theme and I need the same on my product page (see screenshot)
I already have size box not drop-down menu
Waiting back
Good day for everyone!
How did you fix it?
I see it's working now on your website.
I managed to get the custom text box at the product on the right place (not the right design, like you did).
But it's not showing up in the cart and checkout.
I paid a Shopify partner $40
Thanks for your answer! That's nice do you remember which partner? We are ready to pay for it as well.
I am having the exact same problem. did you ever get a solution?
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024