Showing Giftships Options Only On Certain Products



Showing the gift options only on certain products can be quite easily accomplished with a small snippet of liquid and CSS in your theme. For example, if you have the product type of all of your gifts set to "Gift Product", you can add the following to your theme.liquid file right before the closing </head> tag:
{% if template contains 'product' %}

{% comment %} 

Change 'Gift Product' below to the product type of your Gift products

{% endcomment %}

{% if product.type != 'Gift Product' %}


#gsAppContainer {

display: none !important;


/* This hides all of Giftships options on the product page, but you can refine this to hide only certain parts */


{% endif %}

{% endif %}
0 out of 0 found this helpful



Please sign in to leave a comment.