Hi, using the Winee theme, and trying to add per case after the price.
I’m selling wine and want to do price “per case”
I’ve bene following this https://community.shopify.com/c/Shopify-Design/Add-text-after-price-on-product-pages-and-collections… - and for the life of me can’t find that in Winee theme.
Here is the code from the
product-template.liquid - can you help find where I should add this new line? Thanks. I’m new to this,
{%- assign current_variant = product.selected_or_first_available_variant -%}{{ product.title | escape }}
{% if section.settings.reviews %}
{%- endif -%}
{% if section.settings.show_featured_shop_desc %}
{{ product.description | strip_html | truncatewords: section.settings.featured_view_desc_truncate }}
{% if section.settings.show_featured_shop_product_link %}{{ 'products.product.view_product' | t }} {% render 'icon-right-arrow' %}
{% endif %}{{ "products.product.price" | t }}
- {{ current_variant.price | money }}
- {% if current_variant.compare_at_price > current_variant.price %} {{ current_variant.compare_at_price | money }} {% endif %}
{%- capture unit_price_base_unit -%}
{%- if variant.unit_price_measurement -%}
{%- if variant.unit_price_measurement.reference_value != 1 -%}
{{- variant.unit_price_measurement.reference_value -}}
{%- endif -%}
{{ variant.unit_price_measurement.reference_unit }}
{%- endif -%}
{%- endcapture -%}
{%- if variant.unit_price_measurement -%}
{{ variant.unit_price | money }}{{- unit_price_separator -}}{{- unit_price_base_unit -}}
{%- endif -%}
{% if section.settings.deals_section %}
{% include ‘deal-snippet’ %}
{% endif %}
{% capture product_form_config %}
{
“money_format”: {{ shop.money_format | json }},
“enable_history”: true,
“currency_switcher_enabled”: {{ settings.display_currency | json }},
“sold_out”: {{ “products.product.sold_out” | t | json }},
“button”: {{ ‘products.product.add_to_cart’ | t | json }},
“unavailable”: {{ ‘products.product.unavailable’ | t | json }}
}
{% endcapture %}
{% form ‘product’, product, data-product-form:product_form_config %}
{% if section.settings.show_variants_swatches %}
{% endif %}
{% if section.settings.show_size_chart %}
{% if product.options contains ‘Size’ %}
{{ 'products.product.vendor' | t }}
{{ product.vendor | link_to_vendor }}{% if section.settings.show_product_sku %}
{{ 'products.product.sku' | t }}
{% if section.settings.show_product_type %}
{{ 'products.product.type' | t }}
{{ product.type }}{% if section.settings.show_product_quantity %}
{{ 'products.product.availability' | t }}
{% if section.settings.show_quantity_selector %}
{{ 'products.product.quantity' | t }}
{% endif %}
{% endform %}
{% if section.settings.show_wishlist %}
{% include ‘notify-form’, product: product %}
{% endunless %}
{% schema %}
{
“name”: “Product pages”,
“settings”: [
{
“type”: “checkbox”,
“id”: “hide_breadcrumb”,
“label”: “Hide breadcrumb”,
“default”: false
},
{
“type”: “header”,
“content”: “Media”
},
{
“type”: “paragraph”,
“content”: “Learn more about media types”
},
{
“type”:“select”,
“id”:“gallery_type”,
“label”:“Gallery type”,
“options”:[
{
“value”:“thumbnails_vertical”,
“label”:“Thumbnails vertical”
},
{
“value”:“thumbnails_horizontal”,
“label”:“Thumbnails horizontal”
},
{
“value”:“thumbnails_hide”,
“label”:“Hide thumbnails”
}
],
“default”:“thumbnails_horizontal”
},
{
“type”:“radio”,
“id”:“vertical_style”,
“label”:“Thumb placement”,
“options”:[
{
“value”:“dt-sc-product-vertical-thumb-left”,
“label”:“Left”
},
{
“value”:“dt-sc-product-vertical-thumb-right”,
“label”:“Right”
}
],
“default”:“dt-sc-product-vertical-thumb-left”
},
{
“type”:“checkbox”,
“id”:“enable_zoom”,
“label”:“Enable image zoom”,
“default”:true
},
{
“type”: “checkbox”,
“id”: “enable_video_looping”,
“label”:“Enable video looping”,
“default”: false
},
{
“type”: “header”,
“content”: “Product Meta”
},
{
“type”: “checkbox”,
“id”: “reviews”,
“label”: “Enable reviews”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “show_featured_shop_desc”,
“label”: “Enable Short Description”,
“default”: true
},
{
“type”: “text”,
“id”: “featured_view_desc_truncate”,
“label”: “Description limit”,
“default”: “30”,
“info”: “The maximum number of characters for the product description”
},
{
“type”:“checkbox”,
“id”:“show_variants_swatches”,
“label”:“Enable product swatches”,
“default”:true
},
{
“type”:“checkbox”,
“id”:“deals_section”,
“label”:“Enable deals section”,
“default”:false
},
{
“type”:“checkbox”,
“id”:“show_size_chart”,
“label”:“Enable size chart”,
“default”:false
},
{
“type”:“checkbox”,
“id”:“show_product_vendor”,
“label”:“Enable vendor”,
“default”:false
},
{
“type”:“checkbox”,
“id”:“show_product_type”,
“label”:“Enable type”,
“default”:false
},
{
“type”:“checkbox”,
“id”:“show_product_sku”,
“label”:“Enable product / variant SKU”,
“default”:false
},
{
“type”:“checkbox”,
“id”:“show_product_quantity”,
“label”:“Enable stock status”,
“default”:false
},
{
“type” : “checkbox”,
“id” : “display_back_in_stock”,
“label” : “Enable back in stock”,
“default” : false
},
{
“type”:“checkbox”,
“id”:“show_quantity_selector”,
“label”:“Enable quantity selector”,
“default”:true
},
{
“type”: “checkbox”,
“id”: “show_checkout”,
“label”: “Enable buynow”,
“default”:true
},
{
“type”: “checkbox”,
“id”: “hide_addtocart”,
“label”: “Hide Add to cart”,
“default”:false
},
{
“type”: “checkbox”,
“id”: “show_wishlist”,
“label”: “Enable Wishlist”,
“default”:true
},
{
“type”:“checkbox”,
“id”:“show_share_buttons”,
“label”:“Show social sharing buttons”,
“default”:true
},
{
“type”: “header”,
“content”: “Tab Section”
},
{
“type”: “checkbox”,
“id”: “product_tab1”,
“label”: “Enable Product Description”,
“default”: true
},
{
“type”: “text”,
“id”: “product_tab1_heading”,
“label”: “Tab 1”,
“default”: “Product Description”
},
{
“type”: “checkbox”,
“id”: “product_tab2”,
“label”: “Enable Shipping details”,
“default”: false
},
{
“type”: “text”,
“id”: “product_tab2_heading”,
“label”: “Tab 2”,
“default”: “Additional information”
},
{
“type”: “page”,
“id”: “page_content”,
“label”: “Select the page”
},
{
“type”: “checkbox”,
“id”: “product_tab3”,
“label”: “Enable Product Review”,
“default”: false
},
{
“type”: “text”,
“id”: “product_tab3_heading”,
“label”: “Tab 3”,
“default”: “Reviews”
},
{
“type”: “checkbox”,
“id”: “enable_enquiry”,
“label”: “Show Enquiry Form”,
“default”: false
}
]
}
{% endschema %}