I’ve chosen to not track inventory on some of my products, but on the product pages, it’ll still show “available stock” and in some instances it’ll say there’s negative stock, such as “We currently have -4 in stock.” How can I remove stock from being shown on products where inventory is not tracked?
@InAnotherStore
Welcome to the Shopify community!
Thanks for your good question.
Please share your store URL.
So that I will check and let you know the exact solution here.
Thank you for your response. Here’s a link to one of the affected products: https://www.inanotherstore.com/collections/herbs-capsulzied/products/100-organic-elderberry-powder-capsules-1100mg-dr-sebi-alkaline-vitamin-mineral
For now you can hide it,
To fix it , you to write the condition when products are in Stock.
div b#variant-inventory {
display: none !important;
}
Add this code in theme.scss or theme.css file.
That just makes it say “We currently have in stock.” on all products, even ones that were being tracked.
@InAnotherStore
For removing this kindly share your product-template.liquid file.
Sorry for the delay, been a long day.
<div class="product-template__container page-width"id=“ProductSection-{{ section.id }}”
data-section-id=“{{ section.id }}”
data-section-type=“product”
data-enable-history-state=“true”
data-ajax-enabled=“{{ settings.enable_ajax }}”
{% comment %}
Get first variant, or deep linked one
{% endcomment %}
{%- assign current_variant = product.selected_or_first_available_variant -%}
{%- assign product_image_zoom_size = ‘1024x1024’ -%}
{%- assign product_image_scale = ‘2’ -%}
{%- assign enable_image_zoom = section.settings.enable_image_zoom -%}
{%- assign compare_at_price = current_variant.compare_at_price -%}
{%- assign price = current_variant.price -%}
{% case section.settings.media_size %}
{% when ‘small’ %}
{%- assign product_media_width = ‘medium-up–one-third’ -%}
{%- assign product_description_width = ‘medium-up–two-thirds’ -%}
{%- assign height = 345 -%}
{% when ‘medium’ %}
{%- assign product_media_width = ‘medium-up–one-half’ -%}
{%- assign product_description_width = ‘medium-up–one-half’ -%}
{%- assign height = 530 -%}
{% when ‘large’ %}
{%- assign product_media_width = ‘medium-up–two-thirds’ -%}
{%- assign product_description_width = ‘medium-up–one-third’ -%}
{%- assign height = 720 -%}
{% when ‘full’ %}
{%- assign product_media_width = ‘’ -%}
{%- assign product_description_width = ‘’ -%}
{%- assign height = 1090 -%}
{%- assign enable_image_zoom = false -%}
{% endcase %}
{%- assign featured_media = product.selected_or_first_available_variant.featured_media | default: product.featured_media -%}
{%- for media in product.media -%}
{% include ‘media’, media: media, featured_media: featured_media, height: height, enable_image_zoom: enable_image_zoom, image_zoom_size: product_image_zoom_size, image_scale: product_image_scale %}
{%- endfor -%}
{% capture product_image_size %}{{ height }}x{% endcapture %}
{% assign first_3d_model = product.media | where: “media_type”, “model” | first %}
{%- if first_3d_model -%}
<button
aria-label=“{{ ‘products.product.view_in_space_label’ | t }}”
class=“product-single__view-in-space”
data-shopify-xr
data-shopify-model3d-id=“{{ first_3d_model.id }}”
data-shopify-title=“{{ product.title | escape }}”
data-shopify-xr-hidden
{% include ‘icon-3d-badge-full-color’ %}{{ ‘products.product.view_in_space’ | t }}
{%- endif -%}
{% if product.media.size > 1 %}
{% if product.media.size > 4 %}
{%- assign enable_thumbnail_slides = true -%}
{% endif %}
{% if enable_thumbnail_slides == true %}
{% include ‘icon-chevron-left’ %}
{{ ‘sections.slideshow.previous_slide’ | t }}
{% endif %}
-
<a href=“{{ media.preview_image | img_url: product_image_zoom_size, scale: product_image_scale }}”
class=“text-link product-single__thumbnail product-single__thumbnail–{{ section.id }}”
data-thumbnail-id=“{{ section.id }}-{{ media.id }}”
{% if enable_image_zoom %}data-zoom=“{{ media.preview_image | img_url: product_image_zoom_size, scale: product_image_scale }}”{% endif %}>
{%- capture thumbnailAlt -%}
{%- if media.media_type == ‘video’ or media.media_type == ‘external_video’ -%}
{{ ‘sections.featured_product.video_thumbnail_alt’ | t: imageAlt: media.alt | escape }}
{%- elsif media.media_type == ‘model’ -%}
{{ ‘sections.featured_product.model_thumbnail_alt’ | t: imageAlt: media.alt | escape }}
{%- else -%}
{{ ‘sections.featured_product.gallery_thumbnail_alt’ | t: imageAlt: media.alt | escape }}
{%- endif -%}
{%- endcapture -%}
{%- if media.media_type == ‘video’ or media.media_type ==‘external_video’ -%}
{% include ‘icon-video-badge-full-color’ %}
{%- endif -%}
{%- if media.media_type == ‘model’ -%}
{% include ‘icon-3d-badge-full-color’ %}
{%- endif -%}
{% for media in product.media %}
{% endfor %}
{% if enable_thumbnail_slides == true %}
{% include ‘icon-chevron-right’ %}
{{ ‘sections.slideshow.next_slide’ | t }}
{% endif %}
{% endif %}
{{ product.title }}
{% include ‘product-price’, variant: current_variant, show_vendor: section.settings.show_vendor %}
{%- if shop.taxes_included or shop.shipping_policy.body != blank -%}
{%- if shop.taxes_included -%}
{{ ‘products.product.include_taxes’ | t }}
{%- endif -%}
{%- if shop.shipping_policy.body != blank -%}
{{ ‘products.product.shipping_policy_html’ | t: link: shop.shipping_policy.url }}
{%- endif -%}
{%- endif -%}
{% capture “form_classes” -%}
product-form product-form-{{ section.id }}
{%- unless section.settings.show_variant_labels %} product-form–hide-variant-labels {% endunless %}
{%- if section.settings.enable_payment_button and product.has_only_default_variant %} product-form–payment-button-no-variants {%- endif -%}
{%- if current_variant.available == false %} product-form–variant-sold-out {%- endif -%}
{%- endcapture %}
{% form ‘product’, product, class:form_classes, novalidate: ‘novalidate’, data-product-form: ‘’ %}
{% unless product.has_only_default_variant %}
{% for option in product.options_with_values %}
<label {% if option.name == ‘default’ %}class=“label–hidden” {% endif %}for=“SingleOptionSelector-{{ forloop.index0 }}”>
{{ option.name }}
<select class=“single-option-selector single-option-selector-{{ section.id }} product-form__input”
id=“SingleOptionSelector-{{ forloop.index0 }}”
data-index=“option{{ forloop.index }}”
{% for value in option.values %}
{{ value }}{% endfor %}
{% endfor %}
{% endunless %}
{% if section.settings.show_quantity_selector %}
{{ ‘products.product.quantity’ | t }}
<input type=“number” id=“Quantity-{{ section.id }}”
name=“quantity” value=“1” min=“1” pattern=“[0-9]*”
class=“product-form__input product-form__input–quantity” data-quantity-input
{% endif %}
<div class="product-form__error-message-wrapper product-form__error-message-wrapper--hidden{% if section.settings.enable_payment_button %} product-form__error-message-wrapper--has-payment-button{% endif %}"data-error-message-wrapper
role=“alert”
{{ ‘general.accessibility.error’ | t }}
{% include ‘icon-error’ %}
{{ ‘products.product.quantity_minimum_message’ | t }}
{% include ‘icon-spinner’ %}
{% if section.settings.enable_payment_button %}
{{ form | payment_button }}
{% endif %}
{% endform %}
{%- comment -%}
Live region for announcing updated price and availability to screen readers
{%- endcomment -%}
<p class="visually-hidden" data-product-statusaria-live=“polite”
role=“status”
{%- comment -%}
Live region for announcing that the product form has been submitted and the
product is in the process being added to the cart
{%- endcomment -%}
<p class="visually-hidden" data-loader-statusaria-live=“assertive”
role=“alert”
aria-hidden=“true”
{{ ‘products.product.loader_label’ | t }}
{{ product.description }}
{% if section.settings.show_share_buttons %}
{% include ‘social-sharing’, share_title: product.title, share_permalink: product.url, share_image: product.featured_media %}
{% endif %}
{% unless product == empty %}
{% endunless %}
{% schema %}
{
“name”: {
“da”: “Produktsider”,
“de”: “Produktseiten”,
“en”: “Product pages”,
“es”: “Páginas de productos”,
“fi”: “Tuotesivut”,
“fr”: “Pages de produits”,
“hi”: “उत्पाद पेज”,
“it”: “Pagine di prodotto”,
“ja”: “商品ページ”,
“ko”: “제품 페이지”,
“ms”: “Halaman produk”,
“nb”: “Produktsider”,
“nl”: “Productpagina’s”,
“pt-BR”: “Páginas de produtos”,
“pt-PT”: “Páginas de produtos”,
“sv”: “Produktsidor”,
“th”: “หน้าสินค้า”,
“zh-CN”: “产品页面”,
“zh-TW”: “產品頁面”
},
“settings”: [
{
“type”: “checkbox”,
“id”: “show_quantity_selector”,
“label”: {
“da”: “Vis antalsvælger”,
“de”: “Quantitäts-Auswahl anzeigen”,
“en”: “Show quantity selector”,
“es”: “Mostrar selector de cantidad”,
“fi”: “Näytä määrän valitsin”,
“fr”: “Afficher le sélecteur de quantité”,
“hi”: “मात्रा चयनकर्ता दिखाएं”,
“it”: “Mostra selettore quantità”,
“ja”: “数量セレクターを表示する”,
“ko”: “수량 선택기 표시”,
“ms”: “Tunjukkan pemilih kuantiti”,
“nb”: “Vis mengdevelger”,
“nl”: “Hoeveelheidskiezer weergeven”,
“pt-BR”: “Exibir seletor de quantidade”,
“pt-PT”: “Mostrar um seletor de quantidade”,
“sv”: “Visa kvantitetsväljare”,
“th”: “แสดงตัวเลือกจำนวน”,
“zh-CN”: “显示数量选择器”,
“zh-TW”: “顯示數量選擇器”
},
“default”: false
},
{
“type”: “checkbox”,
“id”: “show_variant_labels”,
“label”: {
“da”: “Vis variantlabels”,
“de”: “Varianten-Etiketten anzeigen”,
“en”: “Show variant labels”,
“es”: “Mostrar etiquetas de variantes”,
“fi”: “Näytä vaihtoehtoiset tarrat”,
“fr”: “Afficher le nom des variantes”,
“hi”: “वेरिएंट लेबल दिखाएं”,
“it”: “Mostra etichette varianti”,
“ja”: “バリエーションのラベルを表示する”,
“ko”: “이형 상품 레이블 표시”,
“ms”: “Tunjukkan label varian”,
“nb”: “Vis variantetiketter”,
“nl”: “Variantlabels weergeven”,
“pt-BR”: “Exibir etiquetas de variantes”,
“pt-PT”: “Mostrar etiquetas de variantes”,
“sv”: “Visa variantetiketter”,
“th”: “แสดงป้ายกำกับตัวเลือกสินค้า”,
“zh-CN”: “显示多属性标签”,
“zh-TW”: “顯示子類選項標籤”
},
“default”: true
},
{
“type”: “checkbox”,
“id”: “show_vendor”,
“label”: {
“da”: “Vis leverandør”,
“de”: “Lieferanten anzeigen”,
“en”: “Show vendor”,
“es”: “Mostrar proveedor”,
“fi”: “Näytä myyjä”,
“fr”: “Afficher les vendeurs”,
“hi”: “विक्रेता दिखाएं”,
“it”: “Mostra fornitore”,
“ja”: “販売元を表示する”,
“ko”: “공급업체 표시”,
“ms”: “Tunjukkan vendor”,
“nb”: “Vis leverandør”,
“nl”: “Leverancier weergeven”,
“pt-BR”: “Exibir fornecedor”,
“pt-PT”: “Mostrar fornecedor”,
“sv”: “Visa säljare”,
“th”: “แสดงผู้ขาย”,
“zh-CN”: “显示厂商”,
“zh-TW”: “顯示廠商”
},
“default”: false
},
{
“type”: “checkbox”,
“id”: “enable_payment_button”,
“label”: {
“da”: “Vis dynamisk betalingsknap”,
“de”: “Dynamischen Checkout Button anzeigen”,
“en”: “Show dynamic checkout button”,
“es”: “Mostrar botón de pago dinámico”,
“fi”: “Näytä dynaaminen kassapainike”,
“fr”: “Afficher le bouton de passage à la caisse dynamique”,
“hi”: “डायनेमिक चेकआउट बटन दिखाएं”,
“it”: “Mostra pulsante di check-out dinamico”,
“ja”: “ダイナミックチェックアウトボタンを表示する”,
“ko”: “동적 결제 버튼 표시”,
“ms”: “Tunjukkan butang daftar keluar dinamik”,
“nb”: “Vis dynamisk knapp for å gå til kassen”,
“nl”: “Dynamische checkout knop weergeven”,
“pt-BR”: “Exibir botão dinâmico de finalização da compra”,
“pt-PT”: “Mostrar o botão dinâmico de finalização da compra”,
“sv”: “Visa dynamiska utcheckningsknappar”,
“th”: “แสดงปุ่มชำระเงินแบบไดนามิก”,
“zh-CN”: “显示动态结账按钮”,
“zh-TW”: “顯示動態結帳按鈕”
},
“info”: {
“da”: “Den enkelte kunde vil se sin foretrukne betalingsmetode blandt dem, der er tilgængelige i din butik, f.eks. PayPal eller Apple Pay. Få mere at vide”,
“de”: “Jeder Kunde sieht seine bevorzugte Zahlungsmethode aus den in Ihrem Shop verfügbaren Zahlungsmethoden wie PayPal oder Apple Pay. Mehr Informationen”,
“en”: “Each customer will see their preferred payment method from those available on your store, such as PayPal or Apple Pay. Learn more”,
“es”: “Cada cliente verá su forma de pago preferida entre las disponibles en tu tienda, como PayPal o Apple Pay. Más información”,
“fi”: “Kukin asiakas näkee ensisijaisen valintansa kauppasi tarjoamista maksutavoista, esim. PayPal tai Apple Pay. Lisätietoja”,
“fr”: “Chaque client verra son moyen de paiement préféré parmi ceux qui sont proposés sur votre boutique, tels que PayPal ou Apple Pay. En savoir plus”,
“hi”: “प्रत्येक ग्राहक आपके स्टोर पर उपलब्ध अपनी पसंदीदा भुगतान की विधि देखेंगे जैसे PayPal या Apple Pay. अधिक जानें”,
“it”: “Ogni cliente vedrà il suo metodo di pagamento preferito tra quelli disponibili nel tuo negozio, come PayPal o Apple Pay. Maggiori informazioni”,
“ja”: “PayPalやApple Payなど、ストアで利用可能な希望の決済方法がお客様に表示されます。詳細情報”,
“ko”: “각 고객은 PayPal 또는 Apple Pay와 같이 스토어에서 사용 가능한 지불 방법을 확인할 수 있습니다. 자세히 알아보기”,
“ms”: “Setiap pelanggan akan melihat kaedah pembayaran keutamaan mereka dari yang tersedia di kedai anda, seperti PayPal atau Apple Pay. Ketahui lebih lanjut”,
“nb”: “Hver enkelt kunde vil se sin foretrukne betalingsmåte blant de som er tilgjengelig i butikken din, som PayPal eller Apple Pay. Finn ut mer”,
“nl”: “Elke klant ziet zijn of haar beschikbare voorkeursmethode om af te rekenen, zoals PayPal of Apple Pay. Meer informatie”,
“pt-BR”: “Cada cliente verá sua forma de pagamento preferida dentre as disponíveis na loja, como PayPal ou Apple Pay. Saiba mais”,
“pt-PT”: “Cada cliente irá ver o seu método de pagamento preferido entre os disponíveis na loja, como o PayPal ou Apple Pay. Saiba mais”,
“sv”: “Varje kund kommer att se den föredragna betalningsmetoden från de som finns tillgängliga i din butik, till exempel PayPal eller Apple Pay. Läs mer”,
“th”: “ลูกค้าแต่ละรายจะเห็นวิธีการชำระเงินที่ต้องการจากวิธีที่ใช้ได้ในร้านค้าของคุณ เช่น PayPal หรือ Apple Pay เรียนรู้เพิ่มเติม”,
“zh-CN”: “每位客户都可在您商店提供的付款方式中看到他们的首选付款方式,例如 PayPal 或 Apple Pay。了解详细信息”,
“zh-TW”: “每位顧客都可以在您商店內開放使用的付款方式中看見他們偏好使用的方式,如 PayPal、Apple Pay 等。深入瞭解”
},
“default”: true
},
{
“type”: “checkbox”,
“id”: “show_share_buttons”,
“label”: {
“da”: “Vis knapper til deling på sociale medier”,
“de”: “Buttons für Social Media anzeigen”,
“en”: “Show social sharing buttons”,
“es”: “Mostrar botones para compartir en redes sociales”,
“fi”: “Näytä sosiaalisen median jakamispainikkeet”,
“fr”: “Affichez les boutons de partage sur les médias sociaux”,
“hi”: “सोशल शेयरिंग बटन दिखाएं”,
“it”: “Mostra i pulsanti per la condivisione sui social”,
“ja”: “ソーシャル共有ボタンを表示する”,
“ko”: “소셜 공유 버튼 표시”,
“ms”: “Tunjukkan butang perkongsian sosial”,
“nb”: “Vis knapper for deling på sosiale medier”,
“nl”: “Knoppen voor sociaal delen weergeven”,
“pt-BR”: “Exibir botões de compartilhamento em redes sociais”,
“pt-PT”: “Mostrar botões de partilha nas redes sociais”,
“sv”: “Visa knappar för delning i sociala medier”,
“th”: “แสดงปุ่มสำหรับแชร์ลงโซเชียล”,
“zh-CN”: “显示社交分享按钮”,
“zh-TW”: “顯示社群分享按鈕”
},
“default”: true
},
{
“type”: “header”,
“content”: {
“da”: “Medie”,
“de”: “Medien”,
“en”: “Media”,
“es”: “Medios de comunicación”,
“fi”: “Media”,
“fr”: “Support multimédia”,
“hi”: “मीडिया”,
“it”: “Media”,
“ja”: “メディア”,
“ko”: “미디어”,
“ms”: “Media”,
“nb”: “Medier”,
“nl”: “Media”,
“pt-BR”: “Mídia”,
“pt-PT”: “Multimédia”,
“sv”: “media”,
“th”: “สื่อ”,
“zh-CN”: “媒体”,
“zh-TW”: “媒體”
},
“info”: {
“da”: “Få mere at vide om media types”,
“de”: "Mehr Informationen über Medientypen ",
“en”: “Learn more about media types”,
“es”: “Más información sobre tipos de archivos multimedia”,
“fi”: “Lue lisää mediatyypeistä”,
“fr”: “En savoir plus sur les types de supports multimédia”,
“hi”: “मीडिया प्रकार के बारे में और जानें”,
“it”: “Scopri di più sulle tipologie di file multimediali”,
“ja”: “メディアのタイプ について詳しく知る”,
“ko”: “미디어 유형에](https://help.shopify.com/manual/products/product-media)에) 대해 자세히 알아보기”,
“ms”: “Ketahui lebih lanjut tentang jenis media”,
“nb”: “Lær mer om medietyper”,
“nl”: “Meer informatie over mediatypen”,
“pt-BR”: “Saiba mais sobre tipos de mídia”,
“pt-PT”: “Saiba mais sobre media types”,
“sv”: “Läs mer om mediatyper”,
“th”: “ดูข้อมูลเพิ่มเติมเกี่ยวกับ ประเภทของสื่อ”,
“zh-CN”: “详细了解 媒体类型”,
“zh-TW”: “深入瞭解 媒體類型”
}
},
{
“type”: “select”,
“id”: “media_size”,
“label”: {
“da”: “Størrelse”,
“de”: “Größe”,
“en”: “Size”,
“es”: “Tamaño”,
“fi”: “Koko”,
“fr”: “Taille”,
“hi”: “आकार”,
“it”: “Dimensione”,
“ja”: “サイズ”,
“ko”: “사이즈”,
“ms”: “Saiz”,
“nb”: “Størrelse”,
“nl”: “Grootte”,
“pt-BR”: “Tamanho”,
“pt-PT”: “Tamanho”,
“sv”: “Storlek”,
“th”: “ขนาด”,
“zh-CN”: “大小”,
“zh-TW”: “尺寸”
},
“options”: [
{
“value”: “small”,
“label”: {
“da”: “Lille”,
“de”: “Klein”,
“en”: “Small”,
“es”: “Pequeño”,
“fi”: “Pieni”,
“fr”: “Petit”,
“hi”: “छोटा”,
“it”: “Piccolo”,
“ja”: “スモール”,
“ko”: “스몰”,
“ms”: “Kecil”,
“nb”: “Liten”,
“nl”: “Klein”,
“pt-BR”: “Pequeno”,
“pt-PT”: “Pequeno”,
“sv”: “Liten”,
“th”: “เล็ก”,
“zh-CN”: “小”,
“zh-TW”: “小型”
}
},
{
“value”: “medium”,
“label”: {
“da”: “Medium”,
“de”: “Mittel”,
“en”: “Medium”,
“es”: “Mediano”,
“fi”: “Keskisuuri”,
“fr”: “Moyenne”,
“hi”: “मध्यम”,
“it”: “Medio”,
“ja”: “中”,
“ko”: “보통”,
“ms”: “Sederhana”,
“nb”: “Middels”,
“nl”: “Gemiddeld”,
“pt-BR”: “Médio”,
“pt-PT”: “Médio”,
“sv”: “Medium”,
“th”: “ปานกลาง”,
“zh-CN”: “中等”,
“zh-TW”: “中等”
}
},
{
“value”: “large”,
“label”: {
“da”: “Stor”,
“de”: “Groß”,
“en”: “Large”,
“es”: “Grande”,
“fi”: “Suuri”,
“fr”: “Grande”,
“hi”: “बड़ा”,
“it”: “Grande”,
“ja”: “大”,
“ko”: “라지”,
“ms”: “Besar”,
“nb”: “Stor”,
“nl”: “Groot”,
“pt-BR”: “Grande”,
“pt-PT”: “Grande”,
“sv”: “Stor”,
“th”: “ใหญ่”,
“zh-CN”: “大”,
“zh-TW”: “大型”
}
},
{
“value”: “full”,
“label”: {
“da”: “Fuld bredde”,
“de”: “Volle Breite”,
“en”: “Full-width”,
“es”: “Ancho completo”,
“fi”: “Täysi leveys”,
“fr”: “Pleine largeur”,
“hi”: “पूर्ण चौड़ाई”,
“it”: “Intera larghezza”,
“ja”: “全幅”,
“ko”: “전체 폭”,
“ms”: “Lebar penuh”,
“nb”: “Full bredde”,
“nl”: “Volledige breedte”,
“pt-BR”: “Largura completa”,
“pt-PT”: “Largura completa”,
“sv”: “Full bredd”,
“th”: “เต็มความกว้าง”,
“zh-CN”: “全宽”,
“zh-TW”: “完整寬度”
}
}
],
“default”: “medium”
},
{
“type”: “checkbox”,
“id”: “enable_image_zoom”,
“label”: {
“da”: “Aktivér billedzoom”,
“de”: “Foto-Zoom zulassen”,
“en”: “Enable image zoom”,
“es”: “Habilitar zoom de imagen”,
“fi”: “Ota kuvan zoomaus käyttöön”,
“fr”: “Activer le zoom d’image”,
“hi”: “इमेज ज़ूम सक्षम करें”,
“it”: “Abilita lo zoom dell’immagine”,
“ja”: “画像ズームを有効にする”,
“ko”: “이미지 확대 사용”,
“ms”: “Dayakan zum imej”,
“nb”: “Aktiver bildezoom”,
“nl”: “Inzoomen op afbeelding inschakelen”,
“pt-BR”: “Habilitar o zoom da imagem”,
“pt-PT”: “Ativar o zoom da imagem”,
“sv”: “Aktivera bildzoom”,
“th”: “เปิดใช้การซูมภาพ”,
“zh-CN”: “启用图片缩放”,
“zh-TW”: “啟用圖片縮放”
},
“default”: true
},
{
“type”: “checkbox”,
“id”: “enable_video_looping”,
“label”: {
“da”: “Aktivér looping af videoer”,
“de”: “Videschleife aktivieren”,
“en”: “Enable video looping”,
“es”: “Habilitar la reproducción de video en bucle”,
“fi”: “Ota käyttöön videosilmukka”,
“fr”: “Activer le bouclage de la vidéo”,
“hi”: “वीडियो लूपिंग सक्षम करें”,
“it”: “Abilita la riproduzione in loop dei video”,
“ja”: “ビデオのループを有効にする”,
“ko”: “동영상 루프”,
“ms”: “Dayakan pengulangan video”,
“nb”: “Aktiver løkkeavspilling av video”,
“nl”: “Video-looping inschakelen”,
“pt-BR”: “Habilitar loop de vídeo”,
“pt-PT”: “Ativar ciclo de vídeo”,
“sv”: “Aktivera video-loopning”,
“th”: “เปิดใช้งานการวนซ้ำวิดีโอ”,
“zh-CN”: “启用视频循环”,
“zh-TW”: “啟用影片循環功能”
},
“default”: false
}
]
}
{% endschema %}
Sorry for the delay, been a long day.
{% case section.settings.media_size %}
{% when ‘small’ %}
{%- assign product_media_width = ‘medium-up–one-third’ -%}
{%- assign product_description_width = ‘medium-up–two-thirds’ -%}
{%- assign height = 345 -%}
{% when ‘medium’ %}
{%- assign product_media_width = ‘medium-up–one-half’ -%}
{%- assign product_description_width = ‘medium-up–one-half’ -%}
{%- assign height = 530 -%}
{% when ‘large’ %}
{%- assign product_media_width = ‘medium-up–two-thirds’ -%}
{%- assign product_description_width = ‘medium-up–one-third’ -%}
{%- assign height = 720 -%}
{% when ‘full’ %}
{%- assign product_media_width = ‘’ -%}
{%- assign product_description_width = ‘’ -%}
{%- assign height = 1090 -%}
{%- assign enable_image_zoom = false -%}
{% endcase %}
{%- for media in product.media -%}
{% include ‘media’, media: media, featured_media: featured_media, height: height, enable_image_zoom: enable_image_zoom, image_zoom_size: product_image_zoom_size, image_scale: product_image_scale %}
{%- endfor -%}
{% assign first_3d_model = product.media | where: “media_type”, “model” | first %}
{%- if first_3d_model -%}
<button
aria-label=“{{ ‘products.product.view_in_space_label’ | t }}”
class=“product-single__view-in-space”
data-shopify-xr
data-shopify-model3d-id=“{{ first_3d_model.id }}”
data-shopify-title=“{{ product.title | escape }}”
data-shopify-xr-hidden
{% include ‘icon-3d-badge-full-color’ %}{{ ‘products.product.view_in_space’ | t }}
{%- endif -%}
{% if product.media.size > 1 %}
{% if product.media.size > 4 %}
{%- assign enable_thumbnail_slides = true -%}
{% endif %}
{{ product.title }}
{%- if shop.taxes_included or shop.shipping_policy.body != blank -%}
{% capture “form_classes” -%}
product-form product-form-{{ section.id }}
{%- unless section.settings.show_variant_labels %} product-form–hide-variant-labels {% endunless %}
{%- if section.settings.enable_payment_button and product.has_only_default_variant %} product-form–payment-button-no-variants {%- endif -%}
{%- if current_variant.available == false %} product-form–variant-sold-out {%- endif -%}
{%- endcapture %}
{% form ‘product’, product, class:form_classes, novalidate: ‘novalidate’, data-product-form: ‘’ %}
{% unless product.has_only_default_variant %}
{% if section.settings.show_quantity_selector %}
{%- comment -%}
Live region for announcing updated price and availability to screen readers
{%- endcomment -%}
{%- comment -%}
Live region for announcing that the product form has been submitted and the
product is in the process being added to the cart
{%- endcomment -%}
{{ 'products.product.loader_label' | t }}
{% if section.settings.show_share_buttons %}
{% include ‘social-sharing’, share_title: product.title, share_permalink: product.url, share_image: product.featured_media %}
{% endif %}
{% unless product == empty %}
{% endunless %}
{% schema %}
{
“name”: {
“da”: “Produktsider”,
“de”: “Produktseiten”,
“en”: “Product pages”,
“es”: “Páginas de productos”,
“fi”: “Tuotesivut”,
“fr”: “Pages de produits”,
“hi”: “उत्पाद पेज”,
“it”: “Pagine di prodotto”,
“ja”: “商品ページ”,
“ko”: “제품 페이지”,
“ms”: “Halaman produk”,
“nb”: “Produktsider”,
“nl”: “Productpagina’s”,
“pt-BR”: “Páginas de produtos”,
“pt-PT”: “Páginas de produtos”,
“sv”: “Produktsidor”,
“th”: “หน้าสินค้า”,
“zh-CN”: “产品页面”,
“zh-TW”: “產品頁面”
},
“settings”: [
{
“type”: “checkbox”,
“id”: “show_quantity_selector”,
“label”: {
“da”: “Vis antalsvælger”,
“de”: “Quantitäts-Auswahl anzeigen”,
“en”: “Show quantity selector”,
“es”: “Mostrar selector de cantidad”,
“fi”: “Näytä määrän valitsin”,
“fr”: “Afficher le sélecteur de quantité”,
“hi”: “मात्रा चयनकर्ता दिखाएं”,
“it”: “Mostra selettore quantità”,
“ja”: “数量セレクターを表示する”,
“ko”: “수량 선택기 표시”,
“ms”: “Tunjukkan pemilih kuantiti”,
“nb”: “Vis mengdevelger”,
“nl”: “Hoeveelheidskiezer weergeven”,
“pt-BR”: “Exibir seletor de quantidade”,
“pt-PT”: “Mostrar um seletor de quantidade”,
“sv”: “Visa kvantitetsväljare”,
“th”: “แสดงตัวเลือกจำนวน”,
“zh-CN”: “显示数量选择器”,
“zh-TW”: “顯示數量選擇器”
},
“default”: false
},
{
“type”: “checkbox”,
“id”: “show_variant_labels”,
“label”: {
“da”: “Vis variantlabels”,
“de”: “Varianten-Etiketten anzeigen”,
“en”: “Show variant labels”,
“es”: “Mostrar etiquetas de variantes”,
“fi”: “Näytä vaihtoehtoiset tarrat”,
“fr”: “Afficher le nom des variantes”,
“hi”: “वेरिएंट लेबल दिखाएं”,
“it”: “Mostra etichette varianti”,
“ja”: “バリエーションのラベルを表示する”,
“ko”: “이형 상품 레이블 표시”,
“ms”: “Tunjukkan label varian”,
“nb”: “Vis variantetiketter”,
“nl”: “Variantlabels weergeven”,
“pt-BR”: “Exibir etiquetas de variantes”,
“pt-PT”: “Mostrar etiquetas de variantes”,
“sv”: “Visa variantetiketter”,
“th”: “แสดงป้ายกำกับตัวเลือกสินค้า”,
“zh-CN”: “显示多属性标签”,
“zh-TW”: “顯示子類選項標籤”
},
“default”: true
},
{
“type”: “checkbox”,
“id”: “show_vendor”,
“label”: {
“da”: “Vis leverandør”,
“de”: “Lieferanten anzeigen”,
“en”: “Show vendor”,
“es”: “Mostrar proveedor”,
“fi”: “Näytä myyjä”,
“fr”: “Afficher les vendeurs”,
“hi”: “विक्रेता दिखाएं”,
“it”: “Mostra fornitore”,
“ja”: “販売元を表示する”,
“ko”: “공급업체 표시”,
“ms”: “Tunjukkan vendor”,
“nb”: “Vis leverandør”,
“nl”: “Leverancier weergeven”,
“pt-BR”: “Exibir fornecedor”,
“pt-PT”: “Mostrar fornecedor”,
“sv”: “Visa säljare”,
“th”: “แสดงผู้ขาย”,
“zh-CN”: “显示厂商”,
“zh-TW”: “顯示廠商”
},
“default”: false
},
{
“type”: “checkbox”,
“id”: “enable_payment_button”,
“label”: {
“da”: “Vis dynamisk betalingsknap”,
“de”: “Dynamischen Checkout Button anzeigen”,
“en”: “Show dynamic checkout button”,
“es”: “Mostrar botón de pago dinámico”,
“fi”: “Näytä dynaaminen kassapainike”,
“fr”: “Afficher le bouton de passage à la caisse dynamique”,
“hi”: “डायनेमिक चेकआउट बटन दिखाएं”,
“it”: “Mostra pulsante di check-out dinamico”,
“ja”: “ダイナミックチェックアウトボタンを表示する”,
“ko”: “동적 결제 버튼 표시”,
“ms”: “Tunjukkan butang daftar keluar dinamik”,
“nb”: “Vis dynamisk knapp for å gå til kassen”,
“nl”: “Dynamische checkout knop weergeven”,
“pt-BR”: “Exibir botão dinâmico de finalização da compra”,
“pt-PT”: “Mostrar o botão dinâmico de finalização da compra”,
“sv”: “Visa dynamiska utcheckningsknappar”,
“th”: “แสดงปุ่มชำระเงินแบบไดนามิก”,
“zh-CN”: “显示动态结账按钮”,
“zh-TW”: “顯示動態結帳按鈕”
},
“info”: {
“da”: “Den enkelte kunde vil se sin foretrukne betalingsmetode blandt dem, der er tilgængelige i din butik, f.eks. PayPal eller Apple Pay. Få mere at vide”,
“de”: “Jeder Kunde sieht seine bevorzugte Zahlungsmethode aus den in Ihrem Shop verfügbaren Zahlungsmethoden wie PayPal oder Apple Pay. Mehr Informationen”,
“en”: “Each customer will see their preferred payment method from those available on your store, such as PayPal or Apple Pay. Learn more”,
“es”: “Cada cliente verá su forma de pago preferida entre las disponibles en tu tienda, como PayPal o Apple Pay. Más información”,
“fi”: “Kukin asiakas näkee ensisijaisen valintansa kauppasi tarjoamista maksutavoista, esim. PayPal tai Apple Pay. Lisätietoja”,
“fr”: “Chaque client verra son moyen de paiement préféré parmi ceux qui sont proposés sur votre boutique, tels que PayPal ou Apple Pay. En savoir plus”,
“hi”: “प्रत्येक ग्राहक आपके स्टोर पर उपलब्ध अपनी पसंदीदा भुगतान की विधि देखेंगे जैसे PayPal या Apple Pay. अधिक जानें”,
“it”: “Ogni cliente vedrà il suo metodo di pagamento preferito tra quelli disponibili nel tuo negozio, come PayPal o Apple Pay. Maggiori informazioni”,
“ja”: “PayPalやApple Payなど、ストアで利用可能な希望の決済方法がお客様に表示されます。詳細情報”,
“ko”: “각 고객은 PayPal 또는 Apple Pay와 같이 스토어에서 사용 가능한 지불 방법을 확인할 수 있습니다. 자세히 알아보기”,
“ms”: “Setiap pelanggan akan melihat kaedah pembayaran keutamaan mereka dari yang tersedia di kedai anda, seperti PayPal atau Apple Pay. Ketahui lebih lanjut”,
“nb”: “Hver enkelt kunde vil se sin foretrukne betalingsmåte blant de som er tilgjengelig i butikken din, som PayPal eller Apple Pay. Finn ut mer”,
“nl”: “Elke klant ziet zijn of haar beschikbare voorkeursmethode om af te rekenen, zoals PayPal of Apple Pay. Meer informatie”,
“pt-BR”: “Cada cliente verá sua forma de pagamento preferida dentre as disponíveis na loja, como PayPal ou Apple Pay. Saiba mais”,
“pt-PT”: “Cada cliente irá ver o seu método de pagamento preferido entre os disponíveis na loja, como o PayPal ou Apple Pay. Saiba mais”,
“sv”: “Varje kund kommer att se den föredragna betalningsmetoden från de som finns tillgängliga i din butik, till exempel PayPal eller Apple Pay. Läs mer”,
“th”: “ลูกค้าแต่ละรายจะเห็นวิธีการชำระเงินที่ต้องการจากวิธีที่ใช้ได้ในร้านค้าของคุณ เช่น PayPal หรือ Apple Pay เรียนรู้เพิ่มเติม”,
“zh-CN”: “每位客户都可在您商店提供的付款方式中看到他们的首选付款方式,例如 PayPal 或 Apple Pay。了解详细信息”,
“zh-TW”: “每位顧客都可以在您商店內開放使用的付款方式中看見他們偏好使用的方式,如 PayPal、Apple Pay 等。深入瞭解”
},
“default”: true
},
{
“type”: “checkbox”,
“id”: “show_share_buttons”,
“label”: {
“da”: “Vis knapper til deling på sociale medier”,
“de”: “Buttons für Social Media anzeigen”,
“en”: “Show social sharing buttons”,
“es”: “Mostrar botones para compartir en redes sociales”,
“fi”: “Näytä sosiaalisen median jakamispainikkeet”,
“fr”: “Affichez les boutons de partage sur les médias sociaux”,
“hi”: “सोशल शेयरिंग बटन दिखाएं”,
“it”: “Mostra i pulsanti per la condivisione sui social”,
“ja”: “ソーシャル共有ボタンを表示する”,
“ko”: “소셜 공유 버튼 표시”,
“ms”: “Tunjukkan butang perkongsian sosial”,
“nb”: “Vis knapper for deling på sosiale medier”,
“nl”: “Knoppen voor sociaal delen weergeven”,
“pt-BR”: “Exibir botões de compartilhamento em redes sociais”,
“pt-PT”: “Mostrar botões de partilha nas redes sociais”,
“sv”: “Visa knappar för delning i sociala medier”,
“th”: “แสดงปุ่มสำหรับแชร์ลงโซเชียล”,
“zh-CN”: “显示社交分享按钮”,
“zh-TW”: “顯示社群分享按鈕”
},
“default”: true
},
{
“type”: “header”,
“content”: {
“da”: “Medie”,
“de”: “Medien”,
“en”: “Media”,
“es”: “Medios de comunicación”,
“fi”: “Media”,
“fr”: “Support multimédia”,
“hi”: “मीडिया”,
“it”: “Media”,
“ja”: “メディア”,
“ko”: “미디어”,
“ms”: “Media”,
“nb”: “Medier”,
“nl”: “Media”,
“pt-BR”: “Mídia”,
“pt-PT”: “Multimédia”,
“sv”: “media”,
“th”: “สื่อ”,
“zh-CN”: “媒体”,
“zh-TW”: “媒體”
},
“info”: {
“da”: “Få mere at vide om media types”,
“de”: "Mehr Informationen über Medientypen ",
“en”: “Learn more about media types”,
“es”: “Más información sobre tipos de archivos multimedia”,
“fi”: “Lue lisää mediatyypeistä”,
“fr”: “En savoir plus sur les types de supports multimédia”,
“hi”: “मीडिया प्रकार के बारे में और जानें”,
“it”: “Scopri di più sulle tipologie di file multimediali”,
“ja”: “メディアのタイプ について詳しく知る”,
“ko”: “미디어 유형에](https://help.shopify.com/manual/products/product-media)에) 대해 자세히 알아보기”,
“ms”: “Ketahui lebih lanjut tentang jenis media”,
“nb”: “Lær mer om medietyper”,
“nl”: “Meer informatie over mediatypen”,
“pt-BR”: “Saiba mais sobre tipos de mídia”,
“pt-PT”: “Saiba mais sobre media types”,
“sv”: “Läs mer om mediatyper”,
“th”: “ดูข้อมูลเพิ่มเติมเกี่ยวกับ ประเภทของสื่อ”,
“zh-CN”: “详细了解 媒体类型”,
“zh-TW”: “深入瞭解 媒體類型”
}
},
{
“type”: “select”,
“id”: “media_size”,
“label”: {
“da”: “Størrelse”,
“de”: “Größe”,
“en”: “Size”,
“es”: “Tamaño”,
“fi”: “Koko”,
“fr”: “Taille”,
“hi”: “आकार”,
“it”: “Dimensione”,
“ja”: “サイズ”,
“ko”: “사이즈”,
“ms”: “Saiz”,
“nb”: “Størrelse”,
“nl”: “Grootte”,
“pt-BR”: “Tamanho”,
“pt-PT”: “Tamanho”,
“sv”: “Storlek”,
“th”: “ขนาด”,
“zh-CN”: “大小”,
“zh-TW”: “尺寸”
},
“options”: [
{
“value”: “small”,
“label”: {
“da”: “Lille”,
“de”: “Klein”,
“en”: “Small”,
“es”: “Pequeño”,
“fi”: “Pieni”,
“fr”: “Petit”,
“hi”: “छोटा”,
“it”: “Piccolo”,
“ja”: “スモール”,
“ko”: “스몰”,
“ms”: “Kecil”,
“nb”: “Liten”,
“nl”: “Klein”,
“pt-BR”: “Pequeno”,
“pt-PT”: “Pequeno”,
“sv”: “Liten”,
“th”: “เล็ก”,
“zh-CN”: “小”,
“zh-TW”: “小型”
}
},
{
“value”: “medium”,
“label”: {
“da”: “Medium”,
“de”: “Mittel”,
“en”: “Medium”,
“es”: “Mediano”,
“fi”: “Keskisuuri”,
“fr”: “Moyenne”,
“hi”: “मध्यम”,
“it”: “Medio”,
“ja”: “中”,
“ko”: “보통”,
“ms”: “Sederhana”,
“nb”: “Middels”,
“nl”: “Gemiddeld”,
“pt-BR”: “Médio”,
“pt-PT”: “Médio”,
“sv”: “Medium”,
“th”: “ปานกลาง”,
“zh-CN”: “中等”,
“zh-TW”: “中等”
}
},
{
“value”: “large”,
“label”: {
“da”: “Stor”,
“de”: “Groß”,
“en”: “Large”,
“es”: “Grande”,
“fi”: “Suuri”,
“fr”: “Grande”,
“hi”: “बड़ा”,
“it”: “Grande”,
“ja”: “大”,
“ko”: “라지”,
“ms”: “Besar”,
“nb”: “Stor”,
“nl”: “Groot”,
“pt-BR”: “Grande”,
“pt-PT”: “Grande”,
“sv”: “Stor”,
“th”: “ใหญ่”,
“zh-CN”: “大”,
“zh-TW”: “大型”
}
},
{
“value”: “full”,
“label”: {
“da”: “Fuld bredde”,
“de”: “Volle Breite”,
“en”: “Full-width”,
“es”: “Ancho completo”,
“fi”: “Täysi leveys”,
“fr”: “Pleine largeur”,
“hi”: “पूर्ण चौड़ाई”,
“it”: “Intera larghezza”,
“ja”: “全幅”,
“ko”: “전체 폭”,
“ms”: “Lebar penuh”,
“nb”: “Full bredde”,
“nl”: “Volledige breedte”,
“pt-BR”: “Largura completa”,
“pt-PT”: “Largura completa”,
“sv”: “Full bredd”,
“th”: “เต็มความกว้าง”,
“zh-CN”: “全宽”,
“zh-TW”: “完整寬度”
}
}
],
“default”: “medium”
},
{
“type”: “checkbox”,
“id”: “enable_image_zoom”,
“label”: {
“da”: “Aktivér billedzoom”,
“de”: “Foto-Zoom zulassen”,
“en”: “Enable image zoom”,
“es”: “Habilitar zoom de imagen”,
“fi”: “Ota kuvan zoomaus käyttöön”,
“fr”: “Activer le zoom d’image”,
“hi”: “इमेज ज़ूम सक्षम करें”,
“it”: “Abilita lo zoom dell’immagine”,
“ja”: “画像ズームを有効にする”,
“ko”: “이미지 확대 사용”,
“ms”: “Dayakan zum imej”,
“nb”: “Aktiver bildezoom”,
“nl”: “Inzoomen op afbeelding inschakelen”,
“pt-BR”: “Habilitar o zoom da imagem”,
“pt-PT”: “Ativar o zoom da imagem”,
“sv”: “Aktivera bildzoom”,
“th”: “เปิดใช้การซูมภาพ”,
“zh-CN”: “启用图片缩放”,
“zh-TW”: “啟用圖片縮放”
},
“default”: true
},
{
“type”: “checkbox”,
“id”: “enable_video_looping”,
“label”: {
“da”: “Aktivér looping af videoer”,
“de”: “Videschleife aktivieren”,
“en”: “Enable video looping”,
“es”: “Habilitar la reproducción de video en bucle”,
“fi”: “Ota käyttöön videosilmukka”,
“fr”: “Activer le bouclage de la vidéo”,
“hi”: “वीडियो लूपिंग सक्षम करें”,
“it”: “Abilita la riproduzione in loop dei video”,
“ja”: “ビデオのループを有効にする”,
“ko”: “동영상 루프”,
“ms”: “Dayakan pengulangan video”,
“nb”: “Aktiver løkkeavspilling av video”,
“nl”: “Video-looping inschakelen”,
“pt-BR”: “Habilitar loop de vídeo”,
“pt-PT”: “Ativar ciclo de vídeo”,
“sv”: “Aktivera video-loopning”,
“th”: “เปิดใช้งานการวนซ้ำวิดีโอ”,
“zh-CN”: “启用视频循环”,
“zh-TW”: “啟用影片循環功能”
},
“default”: false
}
]
}
{% endschema %}
My comment wasn’t going through earlier. I fixed the issue with stock quantities showing up on product pages that it shouldn’t show up on, but now my problem is that stock quantities aren’t showing up on most pages at all.
{% comment %}
Get first variant, or deep linked one
{% endcomment %}
{%- assign current_variant = product.selected_or_first_available_variant -%}
{%- assign product_image_zoom_size = '1024x1024' -%}
{%- assign product_image_scale = '2' -%}
{%- assign enable_image_zoom = section.settings.enable_image_zoom -%}
{%- assign compare_at_price = current_variant.compare_at_price -%}
{%- assign price = current_variant.price -%}
{% case section.settings.media_size %}
{% when 'small' %}
{%- assign product_media_width = 'medium-up--one-third' -%}
{%- assign product_description_width = 'medium-up--two-thirds' -%}
{%- assign height = 345 -%}
{% when 'medium' %}
{%- assign product_media_width = 'medium-up--one-half' -%}
{%- assign product_description_width = 'medium-up--one-half' -%}
{%- assign height = 530 -%}
{% when 'large' %}
{%- assign product_media_width = 'medium-up--two-thirds' -%}
{%- assign product_description_width = 'medium-up--one-third' -%}
{%- assign height = 720 -%}
{% when 'full' %}
{%- assign product_media_width = '' -%}
{%- assign product_description_width = '' -%}
{%- assign height = 1090 -%}
{%- assign enable_image_zoom = false -%}
{% endcase %}
{%- assign featured_media = product.selected_or_first_available_variant.featured_media | default: product.featured_media -%}
{%- for media in product.media -%}
{% include 'media', media: media, featured_media: featured_media, height: height, enable_image_zoom: enable_image_zoom, image_zoom_size: product_image_zoom_size, image_scale: product_image_scale %}
{%- endfor -%}
{% assign first_3d_model = product.media | where: "media_type", "model" | first %}
{%- if first_3d_model -%}
{%- endif -%}
{% if product.media.size > 1 %}
{% if product.media.size > 4 %}
{%- assign enable_thumbnail_slides = true -%}
{% endif %}
{% if enable_thumbnail_slides == true %}
{% endif %}
{% for media in product.media %}
- {%- capture thumbnailAlt -%}
{%- if media.media_type == 'video' or media.media_type == 'external_video' -%}
{{ 'sections.featured_product.video_thumbnail_alt' | t: imageAlt: media.alt | escape }}
{%- elsif media.media_type == 'model' -%}
{{ 'sections.featured_product.model_thumbnail_alt' | t: imageAlt: media.alt | escape }}
{%- else -%}
{{ 'sections.featured_product.gallery_thumbnail_alt' | t: imageAlt: media.alt | escape }}
{%- endif -%}
{%- endcapture -%}
{%- if media.media_type == 'video' or media.media_type =='external_video' -%}
{% include 'icon-video-badge-full-color' %}
{%- endif -%}
{%- if media.media_type == 'model' -%}
{% include 'icon-3d-badge-full-color' %}
{%- endif -%}
{% endfor %}
{% if enable_thumbnail_slides == true %}
{% endif %}
{% endif %}
# {{ product.title }}
{% include 'product-price', variant: current_variant, show_vendor: section.settings.show_vendor %}
{% comment %} Inventory tracking on product page {% endcomment %}
{% for variant in product.variants %}
{% endfor %}
{% if current_variant.inventory_management == "shopify" and current_variant.inventory_policy != "continue" %}
We have **{{ current_variant.inventory_quantity }}** in stock.
{% else %}
{% endif %}
{% comment %} END inventory tracking on product page {% endcomment %}
{%- if shop.taxes_included or shop.shipping_policy.body != blank -%}
{%- if shop.taxes_included -%}
{{ 'products.product.include_taxes' | t }}
{%- endif -%}
{%- if shop.shipping_policy.body != blank -%}
{{ 'products.product.shipping_policy_html' | t: link: shop.shipping_policy.url }}
{%- endif -%}
{%- endif -%}
{% capture "form_classes" -%}
product-form product-form-{{ section.id }}
{%- unless section.settings.show_variant_labels %} product-form--hide-variant-labels {% endunless %}
{%- if section.settings.enable_payment_button and product.has_only_default_variant %} product-form--payment-button-no-variants {%- endif -%}
{%- if current_variant.available == false %} product-form--variant-sold-out {%- endif -%}
{%- endcapture %}
{% form 'product', product, class:form_classes, novalidate: 'novalidate', data-product-form: '' %}
{% unless product.has_only_default_variant %}
{% for option in product.options_with_values %}
{% endfor %}
{% endunless %}
{% if section.settings.show_quantity_selector %}
{% endif %}
{{ 'general.accessibility.error' | t }}
{% include 'icon-error' %}
{{ 'products.product.quantity_minimum_message' | t }}
{% if section.settings.enable_payment_button %}
{{ form | payment_button }}
{% endif %}
{% endform %}
{%- comment -%}
Live region for announcing updated price and availability to screen readers
{%- endcomment -%}
{%- comment -%}
Live region for announcing that the product form has been submitted and the
product is in the process being added to the cart
{%- endcomment -%}
{{ 'products.product.loader_label' | t }}
{{ product.description }}
{% if section.settings.show_share_buttons %}
{% include 'social-sharing', share_title: product.title, share_permalink: product.url, share_image: product.featured_media %}
{% endif %}
{% unless product == empty %}
{% endunless %}
{% schema %}
{
"name": {
"da": "Produktsider",
"de": "Produktseiten",
"en": "Product pages",
"es": "Páginas de productos",
"fi": "Tuotesivut",
"fr": "Pages de produits",
"hi": "उत्पाद पेज",
"it": "Pagine di prodotto",
"ja": "商品ページ",
"ko": "제품 페이지",
"ms": "Halaman produk",
"nb": "Produktsider",
"nl": "Productpagina's",
"pt-BR": "Páginas de produtos",
"pt-PT": "Páginas de produtos",
"sv": "Produktsidor",
"th": "หน้าสินค้า",
"zh-CN": "产品页面",
"zh-TW": "產品頁面"
},
"settings": [
{
"type": "checkbox",
"id": "show_quantity_selector",
"label": {
"da": "Vis antalsvælger",
"de": "Quantitäts-Auswahl anzeigen",
"en": "Show quantity selector",
"es": "Mostrar selector de cantidad",
"fi": "Näytä määrän valitsin",
"fr": "Afficher le sélecteur de quantité",
"hi": "मात्रा चयनकर्ता दिखाएं",
"it": "Mostra selettore quantità",
"ja": "数量セレクターを表示する",
"ko": "수량 선택기 표시",
"ms": "Tunjukkan pemilih kuantiti",
"nb": "Vis mengdevelger",
"nl": "Hoeveelheidskiezer weergeven",
"pt-BR": "Exibir seletor de quantidade",
"pt-PT": "Mostrar um seletor de quantidade",
"sv": "Visa kvantitetsväljare",
"th": "แสดงตัวเลือกจำนวน",
"zh-CN": "显示数量选择器",
"zh-TW": "顯示數量選擇器"
},
"default": false
},
{
"type": "checkbox",
"id": "show_variant_labels",
"label": {
"da": "Vis variantlabels",
"de": "Varianten-Etiketten anzeigen",
"en": "Show variant labels",
"es": "Mostrar etiquetas de variantes",
"fi": "Näytä vaihtoehtoiset tarrat",
"fr": "Afficher le nom des variantes",
"hi": "वेरिएंट लेबल दिखाएं",
"it": "Mostra etichette varianti",
"ja": "バリエーションのラベルを表示する",
"ko": "이형 상품 레이블 표시",
"ms": "Tunjukkan label varian",
"nb": "Vis variantetiketter",
"nl": "Variantlabels weergeven",
"pt-BR": "Exibir etiquetas de variantes",
"pt-PT": "Mostrar etiquetas de variantes",
"sv": "Visa variantetiketter",
"th": "แสดงป้ายกำกับตัวเลือกสินค้า",
"zh-CN": "显示多属性标签",
"zh-TW": "顯示子類選項標籤"
},
"default": true
},
{
"type": "checkbox",
"id": "show_vendor",
"label": {
"da": "Vis leverandør",
"de": "Lieferanten anzeigen",
"en": "Show vendor",
"es": "Mostrar proveedor",
"fi": "Näytä myyjä",
"fr": "Afficher les vendeurs",
"hi": "विक्रेता दिखाएं",
"it": "Mostra fornitore",
"ja": "販売元を表示する",
"ko": "공급업체 표시",
"ms": "Tunjukkan vendor",
"nb": "Vis leverandør",
"nl": "Leverancier weergeven",
"pt-BR": "Exibir fornecedor",
"pt-PT": "Mostrar fornecedor",
"sv": "Visa säljare",
"th": "แสดงผู้ขาย",
"zh-CN": "显示厂商",
"zh-TW": "顯示廠商"
},
"default": false
},
{
"type": "checkbox",
"id": "enable_payment_button",
"label": {
"da": "Vis dynamisk betalingsknap",
"de": "Dynamischen Checkout Button anzeigen",
"en": "Show dynamic checkout button",
"es": "Mostrar botón de pago dinámico",
"fi": "Näytä dynaaminen kassapainike",
"fr": "Afficher le bouton de passage à la caisse dynamique",
"hi": "डायनेमिक चेकआउट बटन दिखाएं",
"it": "Mostra pulsante di check-out dinamico",
"ja": "ダイナミックチェックアウトボタンを表示する",
"ko": "동적 결제 버튼 표시",
"ms": "Tunjukkan butang daftar keluar dinamik",
"nb": "Vis dynamisk knapp for å gå til kassen",
"nl": "Dynamische checkout knop weergeven",
"pt-BR": "Exibir botão dinâmico de finalização da compra",
"pt-PT": "Mostrar o botão dinâmico de finalização da compra",
"sv": "Visa dynamiska utcheckningsknappar",
"th": "แสดงปุ่มชำระเงินแบบไดนามิก",
"zh-CN": "显示动态结账按钮",
"zh-TW": "顯示動態結帳按鈕"
},
"info": {
"da": "Den enkelte kunde vil se sin foretrukne betalingsmetode blandt dem, der er tilgængelige i din butik, f.eks. PayPal eller Apple Pay. [Få mere at vide](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
"de": "Jeder Kunde sieht seine bevorzugte Zahlungsmethode aus den in Ihrem Shop verfügbaren Zahlungsmethoden wie PayPal oder Apple Pay. [Mehr Informationen](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
"en": "Each customer will see their preferred payment method from those available on your store, such as PayPal or Apple Pay. [Learn more](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
"es": "Cada cliente verá su forma de pago preferida entre las disponibles en tu tienda, como PayPal o Apple Pay. [Más información](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
"fi": "Kukin asiakas näkee ensisijaisen valintansa kauppasi tarjoamista maksutavoista, esim. PayPal tai Apple Pay. [Lisätietoja](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
"fr": "Chaque client verra son moyen de paiement préféré parmi ceux qui sont proposés sur votre boutique, tels que PayPal ou Apple Pay. [En savoir plus](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
"hi": "प्रत्येक ग्राहक आपके स्टोर पर उपलब्ध अपनी पसंदीदा भुगतान की विधि देखेंगे जैसे PayPal या Apple Pay. [अधिक जानें](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
"it": "Ogni cliente vedrà il suo metodo di pagamento preferito tra quelli disponibili nel tuo negozio, come PayPal o Apple Pay. [Maggiori informazioni](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
"ja": "PayPalやApple Payなど、ストアで利用可能な希望の決済方法がお客様に表示されます。[詳細情報](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
"ko": "각 고객은 PayPal 또는 Apple Pay와 같이 스토어에서 사용 가능한 지불 방법을 확인할 수 있습니다. [자세히 알아보기](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
"ms": "Setiap pelanggan akan melihat kaedah pembayaran keutamaan mereka dari yang tersedia di kedai anda, seperti PayPal atau Apple Pay. [Ketahui lebih lanjut](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
"nb": "Hver enkelt kunde vil se sin foretrukne betalingsmåte blant de som er tilgjengelig i butikken din, som PayPal eller Apple Pay. [Finn ut mer](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
"nl": "Elke klant ziet zijn of haar beschikbare voorkeursmethode om af te rekenen, zoals PayPal of Apple Pay. [Meer informatie](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
"pt-BR": "Cada cliente verá sua forma de pagamento preferida dentre as disponíveis na loja, como PayPal ou Apple Pay. [Saiba mais](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
"pt-PT": "Cada cliente irá ver o seu método de pagamento preferido entre os disponíveis na loja, como o PayPal ou Apple Pay. [Saiba mais](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
"sv": "Varje kund kommer att se den föredragna betalningsmetoden från de som finns tillgängliga i din butik, till exempel PayPal eller Apple Pay. [Läs mer](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
"th": "ลูกค้าแต่ละรายจะเห็นวิธีการชำระเงินที่ต้องการจากวิธีที่ใช้ได้ในร้านค้าของคุณ เช่น PayPal หรือ Apple Pay [เรียนรู้เพิ่มเติม](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
"zh-CN": "每位客户都可在您商店提供的付款方式中看到他们的首选付款方式,例如 PayPal 或 Apple Pay。[了解详细信息](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
"zh-TW": "每位顧客都可以在您商店內開放使用的付款方式中看見他們偏好使用的方式,如 PayPal、Apple Pay 等。[深入瞭解](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)"
},
"default": true
},
{
"type": "checkbox",
"id": "show_share_buttons",
"label": {
"da": "Vis knapper til deling på sociale medier",
"de": "Buttons für Social Media anzeigen",
"en": "Show social sharing buttons",
"es": "Mostrar botones para compartir en redes sociales",
"fi": "Näytä sosiaalisen median jakamispainikkeet",
"fr": "Affichez les boutons de partage sur les médias sociaux",
"hi": "सोशल शेयरिंग बटन दिखाएं",
"it": "Mostra i pulsanti per la condivisione sui social",
"ja": "ソーシャル共有ボタンを表示する",
"ko": "소셜 공유 버튼 표시",
"ms": "Tunjukkan butang perkongsian sosial",
"nb": "Vis knapper for deling på sosiale medier",
"nl": "Knoppen voor sociaal delen weergeven",
"pt-BR": "Exibir botões de compartilhamento em redes sociais",
"pt-PT": "Mostrar botões de partilha nas redes sociais",
"sv": "Visa knappar för delning i sociala medier",
"th": "แสดงปุ่มสำหรับแชร์ลงโซเชียล",
"zh-CN": "显示社交分享按钮",
"zh-TW": "顯示社群分享按鈕"
},
"default": true
},
{
"type": "header",
"content": {
"da": "Medie",
"de": "Medien",
"en": "Media",
"es": "Medios de comunicación",
"fi": "Media",
"fr": "Support multimédia",
"hi": "मीडिया",
"it": "Media",
"ja": "メディア",
"ko": "미디어",
"ms": "Media",
"nb": "Medier",
"nl": "Media",
"pt-BR": "Mídia",
"pt-PT": "Multimédia",
"sv": "media",
"th": "สื่อ",
"zh-CN": "媒体",
"zh-TW": "媒體"
},
"info": {
"da": "Få mere at vide om [media types](https://help.shopify.com/manual/products/product-media)",
"de": "Mehr Informationen über [Medientypen ](https://help.shopify.com/manual/products/product-media)",
"en": "Learn more about [media types](https://help.shopify.com/manual/products/product-media)",
"es": "Más información sobre [tipos de archivos multimedia](https://help.shopify.com/manual/products/product-media)",
"fi": "Lue lisää [mediatyypeistä](https://help.shopify.com/manual/products/product-media)",
"fr": "En savoir plus sur les [types de supports multimédia](https://help.shopify.com/manual/products/product-media)",
"hi": "[मीडिया प्रकार](https://help.shopify.com/manual/products/product-media) के बारे में और जानें",
"it": "Scopri di più sulle [tipologie di file multimediali](https://help.shopify.com/manual/products/product-media)",
"ja": "[メディアのタイプ](https://help.shopify.com/manual/products/product-media) について詳しく知る",
"ko": "[미디어 유형](https://help.shopify.com/manual/products/product-media)에 대해 자세히 알아보기",
"ms": "Ketahui lebih lanjut tentang [jenis media](https://help.shopify.com/manual/products/product-media)",
"nb": "Lær mer om [medietyper](https://help.shopify.com/manual/products/product-media)",
"nl": "Meer informatie over [mediatypen](https://help.shopify.com/manual/products/product-media)",
"pt-BR": "Saiba mais sobre [tipos de mídia](https://help.shopify.com/manual/products/product-media)",
"pt-PT": "Saiba mais sobre [media types](https://help.shopify.com/manual/products/product-media)",
"sv": "Läs mer om [mediatyper](https://help.shopify.com/manual/products/product-media)",
"th": "ดูข้อมูลเพิ่มเติมเกี่ยวกับ [ประเภทของสื่อ](https://help.shopify.com/manual/products/product-media)",
"zh-CN": "详细了解 [媒体类型](https://help.shopify.com/manual/products/product-media)",
"zh-TW": "深入瞭解 [媒體類型](https://help.shopify.com/manual/products/product-media)"
}
},
{
"type": "select",
"id": "media_size",
"label": {
"da": "Størrelse",
"de": "Größe",
"en": "Size",
"es": "Tamaño",
"fi": "Koko",
"fr": "Taille",
"hi": "आकार",
"it": "Dimensione",
"ja": "サイズ",
"ko": "사이즈",
"ms": "Saiz",
"nb": "Størrelse",
"nl": "Grootte",
"pt-BR": "Tamanho",
"pt-PT": "Tamanho",
"sv": "Storlek",
"th": "ขนาด",
"zh-CN": "大小",
"zh-TW": "尺寸"
},
"options": [
{
"value": "small",
"label": {
"da": "Lille",
"de": "Klein",
"en": "Small",
"es": "Pequeño",
"fi": "Pieni",
"fr": "Petit",
"hi": "छोटा",
"it": "Piccolo",
"ja": "スモール",
"ko": "스몰",
"ms": "Kecil",
"nb": "Liten",
"nl": "Klein",
"pt-BR": "Pequeno",
"pt-PT": "Pequeno",
"sv": "Liten",
"th": "เล็ก",
"zh-CN": "小",
"zh-TW": "小型"
}
},
{
"value": "medium",
"label": {
"da": "Medium",
"de": "Mittel",
"en": "Medium",
"es": "Mediano",
"fi": "Keskisuuri",
"fr": "Moyenne",
"hi": "मध्यम",
"it": "Medio",
"ja": "中",
"ko": "보통",
"ms": "Sederhana",
"nb": "Middels",
"nl": "Gemiddeld",
"pt-BR": "Médio",
"pt-PT": "Médio",
"sv": "Medium",
"th": "ปานกลาง",
"zh-CN": "中等",
"zh-TW": "中等"
}
},
{
"value": "large",
"label": {
"da": "Stor",
"de": "Groß",
"en": "Large",
"es": "Grande",
"fi": "Suuri",
"fr": "Grande",
"hi": "बड़ा",
"it": "Grande",
"ja": "大",
"ko": "라지",
"ms": "Besar",
"nb": "Stor",
"nl": "Groot",
"pt-BR": "Grande",
"pt-PT": "Grande",
"sv": "Stor",
"th": "ใหญ่",
"zh-CN": "大",
"zh-TW": "大型"
}
},
{
"value": "full",
"label": {
"da": "Fuld bredde",
"de": "Volle Breite",
"en": "Full-width",
"es": "Ancho completo",
"fi": "Täysi leveys",
"fr": "Pleine largeur",
"hi": "पूर्ण चौड़ाई",
"it": "Intera larghezza",
"ja": "全幅",
"ko": "전체 폭",
"ms": "Lebar penuh",
"nb": "Full bredde",
"nl": "Volledige breedte",
"pt-BR": "Largura completa",
"pt-PT": "Largura completa",
"sv": "Full bredd",
"th": "เต็มความกว้าง",
"zh-CN": "全宽",
"zh-TW": "完整寬度"
}
}
],
"default": "medium"
},
{
"type": "checkbox",
"id": "enable_image_zoom",
"label": {
"da": "Aktivér billedzoom",
"de": "Foto-Zoom zulassen",
"en": "Enable image zoom",
"es": "Habilitar zoom de imagen",
"fi": "Ota kuvan zoomaus käyttöön",
"fr": "Activer le zoom d'image",
"hi": "इमेज ज़ूम सक्षम करें",
"it": "Abilita lo zoom dell'immagine",
"ja": "画像ズームを有効にする",
"ko": "이미지 확대 사용",
"ms": "Dayakan zum imej",
"nb": "Aktiver bildezoom",
"nl": "Inzoomen op afbeelding inschakelen",
"pt-BR": "Habilitar o zoom da imagem",
"pt-PT": "Ativar o zoom da imagem",
"sv": "Aktivera bildzoom",
"th": "เปิดใช้การซูมภาพ",
"zh-CN": "启用图片缩放",
"zh-TW": "啟用圖片縮放"
},
"default": true
},
{
"type": "checkbox",
"id": "enable_video_looping",
"label": {
"da": "Aktivér looping af videoer",
"de": "Videschleife aktivieren",
"en": "Enable video looping",
"es": "Habilitar la reproducción de video en bucle",
"fi": "Ota käyttöön videosilmukka",
"fr": "Activer le bouclage de la vidéo",
"hi": "वीडियो लूपिंग सक्षम करें",
"it": "Abilita la riproduzione in loop dei video",
"ja": "ビデオのループを有効にする",
"ko": "동영상 루프",
"ms": "Dayakan pengulangan video",
"nb": "Aktiver løkkeavspilling av video",
"nl": "Video-looping inschakelen",
"pt-BR": "Habilitar loop de vídeo",
"pt-PT": "Ativar ciclo de vídeo",
"sv": "Aktivera video-loopning",
"th": "เปิดใช้งานการวนซ้ำวิดีโอ",
"zh-CN": "启用视频循环",
"zh-TW": "啟用影片循環功能"
},
"default": false
}
]
}
{% endschema %}
I’ve been trying to share it all day and whenever I do, it shows that it posted as a comment, but then it disappears.
I fixed the issue with stock quantities showing up on product pages where quantities aren’t supposed to be tracked, but now my issue is stock quantities aren’t showing up on a majority of product pages at all.
I entered this code into my product-template.liquid:
{% comment %} Inventory tracking on product page {% endcomment %}
{% for variant in product.variants %}
{% endfor %}
{% if current_variant.inventory_management == "shopify" and current_variant.inventory_policy != "continue" %}
We have **{{ current_variant.inventory_quantity }}** in stock.
{% else %}
{% endif %}
{% comment %} END inventory tracking on product page {% endcomment %}
I know why it’s only showing on some products and not others, but I don’t know how to fix it. It’s only showing on products that I’m the vendor of. I have secondary vendors, and none of those products show the in stock inventory.