Hello
Im uncertain as to the best way to remove or comment out all pricing, add to cart, etc, on my shopify store. Xzib.com
Its an art gallery, so I do not want to show pricing.
Here is the prodcut-template.liquid:
{%- if collection -%}
{% capture product_url %}{{ product.url }}{% endcapture %}
{%- else -%}
{% capture product_url %}{{ ‘/collections’ }}{% endcapture %}
{%- endif -%}
/* Create two equal columns that floats next to each other */
.custom-page-column-full {
float: left;
width: 100%;
padding: 10px;
box-sizing: border-box;
}
.vendor-name{
font-size: 36px;
margin-bottom: 10px !important;
}
.custom-page-column-goback {
float: left;
width: 25%;
padding: 10px;
box-sizing: border-box;
position: -webkit-sticky;
position: sticky;
top: 20%;
}
.custom-page-column-goback-mobile{
float: left;
width: 100%;
padding: 10px;
box-sizing: border-box;
display: none;
}
.custom-page-column-product-image {
float: left;
width: 75%;
padding: 10px;
box-sizing: border-box;
text-align:center;
}
.custom-page-column-description {
float: left;
width: 55%;
padding: 10px;
box-sizing: border-box;
}
.custom-page-column-vendorimage {
float: left;
width: 10%;
padding: 10px;
box-sizing: border-box;
}
/* Clear floats after the columns */
.custom-pagerow:after {
content: "";
display: table;
clear: both;
}
.custom-product-title{
font-size: 18px;
font-family: "Gabrielle bad";
color: black;
margin-bottom: 5%;
}
/* .vendor-product-page{
margin-bottom: 5%;
} */
.vendor-product-page a{
font-size: 22px;
line-height: 1.2em;
font-family: "Gabrielle bad";
color: black;
}
.museum-placecard{
border: 2px solid white;
border-radius: 3px;
padding: 20px;
box-shadow: 6px 3px 10px 0px rgba(255,255,255,0.3);
background-color: #f4f6f8;
width: 75%;
float: right;
padding-bottom: 20%;
}
.museum-placecard-mobile{
border-radius: 3px;
padding: 10px;
box-shadow: 6px 3px 10px 0px rgba(255,255,255,0.3);
background-color: #f4f6f8;
margin-top: 4%;
display: none;
text-align: left;
}
.mobile-thumbnails{
display: none;
}
.museum-placecard-mobile p{
line-height: 18px;
}
.museum-placecard p{
margin: 0px;
line-height: 18px;
}
.discp-image-wrapped{
display: none;
}
.goBack-heading{
text-align:center;
color: white;
margin-bottom: 70%;
}
.custom-page-column-product-image-mobile{
display: none;
}
@media only screen and (max-width: 600px) {
.custom-page-column-goback{
display: none;
}
.custom-page-column-product-image{
width: 100%;
padding-top: 0px;
}
.custom-page-column-goback-mobile .go-back img{
width: 7%;
}
.custom-page-column-goback-mobile{
display: unset;
/* padding-bottom: 3%; */
position: sticky;
top: 0%;
z-index: 999999;
background-color: #000;
padding-bottom: 0px;
padding-top: 5px
}
.custom-page-column-goback-mobile h1{
margin-bottom: 5px;
}
.custom-page-column-description{
width: 100%;
}
.custom-page-column-description iframe{
width: 100%;
}
#custom-space-div{
display: none;
}
.custom-page-column-vendorimage{
display: none;
}
.discp-image-wrapped{
float: left;
margin-right: 15px;
display: unset;
}
.museum-placecard-mobile{
display: block;
}
.mobile-thumbnails{
display: block !important;
}
.custom-page-column-product-image{
display: none;
float: none;
}
.custom-page-column-product-image-mobile{
display: block;
}
}
@media only screen and (max-width: 700px) and (orientation : landscape) {
#custom-space-div{
display: none;
}
.custom-page-column-vendorimage{
display: none;
}
.discp-image-wrapped{
float: left;
margin-right: 15px;
display: unset;
}
.custom-page-column-description{
width: 100%;
}
.custom-page-column-description iframe{
width: 100%;
}
.custom-page-column-goback .goBack-heading{
margin-bottom: 10%;
}
.museum-placecard .vendor-product-page a{
font-size: 18px;
}
.custom-product-title{
font-size: 12px;
}
.museum-placecard{
font-size: 60%;
line-height: 1.5em;
}
}
{% comment %}
{% endcomment %}
{% if product.images.size > 1 %}
{% for image in product.images %}
<a {% if image.src== featured_image.src %} class=“active” {% endif %} title=“{{ image.alt | escape }}”
href=“{{ image | product_img_url: ‘master’ }}”
data-full-size-url=“{{ image | product_img_url: ‘master’ }}” style=“width:18%; display: inline-block;”>
{% include ‘thumbnail-images’, image: image %}
{% endfor %}
{% endif %}
{% comment %}
{% endcomment %}
{% if product.images.size > 1 %}
{% for image in product.images %}
<a {% if image.src== featured_image.src %} class=“active” {% endif %} title=“{{ image.alt | escape }}”
href=“{{ image | product_img_url: ‘master’ }}”
data-full-size-url=“{{ image | product_img_url: ‘master’ }}” style=“width:25%; display: inline-block;”>
{% include ‘thumbnail-images’, image: image %}
{% endfor %}
{% endif %}
{{ product.title }}
{% assign short_description = product.description | split: ‘||’ %}
{{ short_description[1] }}
{% assign featured_image = product.selected_or_first_available_variant.featured_image | default: product.featured_image %}
{{ product.title }}
{% assign short_description = product.description | split: ‘||’ %}
{{ short_description[1] }}
{% assign featured_image = product.selected_or_first_available_variant.featured_image | default: product.featured_image %}
{{ product.title }}
{% assign short_description = product.description | split: ‘||’ %}
{{ short_description[1] }}
{% assign variant = product.selected_or_first_available_variant %}
{% assign product_vendor_handle = product.vendor | handle %}
{% assign vendor_image = product_vendor_handle | append:'.png' %}
{{ product.description | remove:'||'}}
{% if product.available %}
{% form 'product', product, class: 'form', data-product-id: product.id, data-enable-history-state: 'true' %}
{% if product.variants.size > 1 %}
{% for option in product.options_with_values %}
{{ option.name }}
<span class=“styled-select” {% if settings.prod_variant_style == ‘blocks’ %}data-make-box{% endif %}>
{% for value in option.values %}
{{ value }} | {{product.variants[forloop.index0].price | money}}
{% endfor %}
{% if variant.compare_at_price > variant.price %}
{{ variant.compare_at_price | money }}
{% endif %}
{{ variant.price | money }}
{% if settings.show_size_chart and option.name == settings.size_chart_variant %}
{% endif %}
{% endfor %}
{% for variant in product.variants %}
{{ variant.title | escape }}
{% endfor %}
{% else %}
{% unless product.has_only_default_variant %}
{% for option in product.options %}
{% assign opt_idx = 'option' | append: forloop.index %}
{{ option }}: {{ product.variants.first[opt_idx] }}
{% if settings.show_size_chart and option == settings.size_chart_variant %}
{% endif %}
{% endfor %}
{% if variant.compare_at_price > variant.price %}
{{ variant.compare_at_price | money }}
{% endif %}
{{ variant.price | money }}
{% endunless %}
{% endif %}
{{ 'products.product.quantity' | t }}
{% if section.settings.enable_payment_button %}
{{ form | payment_button }}
{% endif %}
{% capture backorder_message %}{{ ‘products.product.backorder’ | t }}{% endcapture %}
{% unless backorder_message == blank %}
{% if product.variants.size == 1 %}
{% if product.variants.first.inventory_management == ‘shopify’ and product.variants.first.inventory_quantity < 1 %}
{{ product.title }} {{ backorder_message }}
{% endif %}
{% else %}
{% endif %}
{% endunless %}
{% endform %}
{% else %}
{{ 'products.product.product_unavailable' | t }}
{% endif %}
{% comment %}
{% for variant in product.variants %}
{% if product.available %}
{% else %}
{% endif %}
{% endfor %}
{% assign product_collection = product.collections.first %}
{% if product_collection %}
{% endif %}
{% comment %}
{% for collection in product.collections %}
{{ collection.title | escape }}
{% endfor %}
{% endcomment %}
{% if section.settings.prod_show_tags and product.tags.size > 0 %}
{{ 'products.product.tags' | t }} +
{% endif %}
{% if section.settings.prod_show_type %}
{% assign product_type_handle = product.type | handle %}
{% if collections[product_type_handle].handle == product_type_handle %}
{% assign type_url = collections[product_type_handle].url %}
{% else %}
{% assign type_url = product.type | url_for_type %}
{% endif %}
{{ ‘products.product.see_more_of_this_type’ | t }} {{ product.type | link_to: type_url }}
{% endif %}
{% if collection %}
{% endif %}
{% if section.settings.prod_show_tags and product.tags.size > 0 %}
{% for tag in product.tags %}
{{ tag }}
{% endfor %}
{% endif %}
{% assign variant = product.selected_or_first_available_variant %}
{% assign lightbox_size = 'master' %}
{% if product.images.size > 1 %}
{% endif %}
{% assign featured_image = product.selected_or_first_available_variant.featured_image | default: product.featured_image %}
{% include 'responsive-image', image: featured_image, manual_image_load: true, imgClass: 'cbb-loupe'%}
{% for image in product.images %}
{% unless image contains featured_image %}
{% include 'responsive-image', image: image %}
{% endunless %}
{% endfor %}
{% include 'product-label' with product %}
{% if settings.prod_show_vendor or settings.prod_show_sku %}
{%- if settings.prod_show_vendor -%}
{%- comment -%}
Do we have a collection that has the same name as our product vendor name?
If we do, let's have the vendor link point to it.
If not, we will point to the automatic vendor collection.
{%- endcomment -%}
{%- assign product_vendor_handle = product.vendor | handle -%}
{% assign vendor_image = product_vendor_handle | append:'.png' %}
{%- if collections[product_vendor_handle].handle == product_vendor_handle -%}
{%- assign vendor_url = collections[product_vendor_handle].url -%}
{%- else -%}
{%- assign vendor_url = product.vendor | url_for_vendor -%}
{%- endif -%}
{%- endif -%}
{%- if settings.prod_show_sku -%}
{{ 'products.product.sku' | t }} {{ product.selected_or_first_available_variant.sku }}
{%- endif -%}
{% endif %}
/
{{ product.title }}
{% if variant.compare_at_price > variant.price %}
{{ variant.compare_at_price | money }}
{% endif %}
{{ variant.price | money }}
{% if product.available %}
{% form 'product', product, class: 'form', data-product-id: product.id, data-enable-history-state: 'true' %}
{% if product.variants.size > 1 %}
{% for option in product.options_with_values %}
{{ option.name }}
<span class=“styled-select” {% if settings.prod_variant_style == ‘blocks’ %}data-make-box{% endif %}>
{% for value in option.values %}
{{ value }}
{% endfor %}
{% if settings.show_size_chart and option.name == settings.size_chart_variant %}
{% endif %}
{% endfor %}
{% for variant in product.variants %}
{{ variant.title | escape }}
{% endfor %}
{% else %}
{% unless product.has_only_default_variant %}
{% for option in product.options %}
{% assign opt_idx = 'option' | append: forloop.index %}
{{ option }}: {{ product.variants.first[opt_idx] }}
{% if settings.show_size_chart and option == settings.size_chart_variant %}
{% endif %}
{% endfor %}
{% endunless %}
{% endif %}
{{ 'products.product.quantity' | t }}
{% if section.settings.enable_payment_button %}
{{ form | payment_button }}
{% endif %}
{% capture backorder_message %}{{ ‘products.product.backorder’ | t }}{% endcapture %}
{% unless backorder_message == blank %}
{% if product.variants.size == 1 %}
{% if product.variants.first.inventory_management == ‘shopify’ and product.variants.first.inventory_quantity < 1 %}
{{ product.title }} {{ backorder_message }}
{% endif %}
{% else %}
{% endif %}
{% endunless %}
{% endform %}
{% else %}
{{ 'products.product.product_unavailable' | t }}
{% endif %}
{% if section.settings.prod_desc_pos == ‘beside’ %}
{{ product.description }}
{% comment %} Add code to show under the description on the line below this one, if beside the image {% endcomment %}
{% endif %}
{% include 'social-sharing' %}
{% if section.settings.prod_desc_pos == ‘below’ %}
{{ product.description }}
{% comment %} Add code to show under the description on the line below this one, if full-width underneath the image {% endcomment %}
{% endif %}
{% if section.settings.prod_show_tags and product.tags.size > 0 %}
{{ 'products.product.tags' | t }}
{% for tag in product.tags %}
{{ tag }}
{% endfor %}
{% endif %}
{% include 'social-sharing' %}
{% if section.settings.prod_show_type %}
{% assign product_type_handle = product.type | handle %}
{% if collections[product_type_handle].handle == product_type_handle %}
{% assign type_url = collections[product_type_handle].url %}
{% else %}
{% assign type_url = product.type | url_for_type %}
{% endif %}
{{ product.type | link_to: type_url }}
{% endif %}
{{ product.metafields.spr.reviews }}
{% if section.settings.show_related_products %}
{% include ‘related-products’ %}
{% endif %}
{% endcomment %}
{% schema %}
{
“name”: “Product pages”,
“settings”: [
{
“type”: “checkbox”,
“id”: “prod_show_tags”,
“label”: “Show tags”
},
{
“type”: “checkbox”,
“id”: “prod_show_type”,
“label”: “Show ‘See more (type)’”
},
{
“type”: “radio”,
“id”: “prod_gall_thumbs_under”,
“label”: “Thumbnail position”,
“options”: [
{
“value”: “beside”,
“label”: “Beside main image”
},
{
“value”: “under”,
“label”: “Underneath main image”
}
],
“default”: “beside”
},
{
“type”: “select”,
“id”: “prod_desc_pos”,
“label”: “Description position”,
“options”: [
{
“value”: “beside”,
“label”: “Beside main image, under price”
},
{
“value”: “below”,
“label”: “Underneath image and price”
}
]
},
{
“type”: “checkbox”,
“id”: “enable_payment_button”,
“label”: “Show dynamic checkout button”,
“info”: “Each customer will see their preferred payment method from those available on your store, such as PayPal or Apple Pay. Learn more ”,
“default”: true
},
{
“type”: “header”,
“content”: “Related products”
},
{
“type”: “paragraph”,
“content”: “Show other products from the same collection, underneath the product details”
},
{
“type”: “checkbox”,
“id”: “show_related_products”,
“label”: “Show”,
“default”: false
}
]
}
{% endschema %}