Preventing “Hidden” Line Item Properties from Displaying on Your Store
Hidden line item properties can have a back-end appearance that may not look the best on your store front. Hiding these is straightforward.
The “_gcp_recipient_email”, and“_gcp_delivery_date”, etc. properties are referred to as “hidden” line item properties, since they start with an underscore. They are hidden during the Shopify checkout, and themes usually have the code built in to ensure that these are not displayed, but sometimes this needs to be added in manually.
To fix this, all we need to do is add a condition to the line item property loop in your cart.liquid template.
Within your cart.liquid template, find this line:
{% for p in item.properties %}
Paste this directly beneath it:
{% if p.first.first == "_" %}{% continue %}{% endif %}
Can't find the answer in our documentation?
Contact Support Hide the “Send to Myself” Checkbox in the Gift Card Form
Hide the Price Summary Section on the First Step of the Gift Card Pro Builder Form
Adding a Header and Footer Section to your Gift Card Pro Storefront Pages
Skip the First (Choose A Design) Step of the Gift Card Pro Builder Form
Centering the Gift Card Pro form on your Storefront
Updating the Fonts Used by the Gift Card Pro on your Storefront
Preventing “Hidden” Line Item Properties from Displaying on Your Store
Adding a Gift Card Terms and Conditions Page to your Online Store
How to Clear the Gift Card Pro Form After a Gift Card Has Been Added to the Cart
Using CSS Overrides to Change the Design / Layout of the Gift Card Form