Advertisement
Guest User

product-template.liquid

a guest
Jan 9th, 2020
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 28.86 KB | None | 0 0
  1. {%- include 'bold-product' with product, hide_action: 'break', output: 'none' -%}
  2. <div class="product-template__container page-width"
  3.  id="ProductSection-{{ section.id }}"
  4.  data-section-id="{{ section.id }}"
  5.  data-section-type="product"
  6.  data-enable-history-state="true"
  7.  data-ajax-enabled="{{ settings.enable_ajax }}"
  8. >
  9.   {% comment %}
  10.     Get first variant, or deep linked one
  11.   {% endcomment %}
  12.   {%- assign current_variant = product.selected_or_first_available_variant -%}
  13.   {%- assign product_image_zoom_size = '1024x1024' -%}
  14.   {%- assign product_image_scale = '2' -%}
  15.   {%- assign enable_zoom = section.settings.enable_zoom -%}
  16.   {%- assign compare_at_price = current_variant.compare_at_price -%}
  17.   {%- assign price = current_variant.price -%}
  18.  
  19.   {% case section.settings.image_size %}
  20.     {% when 'small' %}
  21.       {%- assign product_image_width = 'medium-up--one-third' -%}
  22.       {%- assign product_description_width = 'medium-up--two-thirds' -%}
  23.       {%- assign product_thumbnail_width = 'medium-up--one-third' -%}
  24.       {%- assign height = 345 -%}
  25.     {% when 'medium' %}
  26.       {%- assign product_image_width = 'medium-up--one-half' -%}
  27.       {%- assign product_description_width = 'medium-up--one-half' -%}
  28.       {%- assign product_thumbnail_width = 'medium-up--one-quarter' -%}
  29.       {%- assign height = 530 -%}
  30.     {% when 'large' %}
  31.       {%- assign product_image_width = 'medium-up--two-thirds' -%}
  32.       {%- assign product_description_width = 'medium-up--one-third' -%}
  33.       {%- assign product_thumbnail_width = 'medium-up--one-fifth' -%}
  34.       {%- assign height = 720 -%}
  35.     {% when 'full' %}
  36.       {%- assign product_image_width = '' -%}
  37.       {%- assign product_description_width = '' -%}
  38.       {%- assign product_thumbnail_width = 'medium-up--one-eighth' -%}
  39.       {%- assign height = 1090 -%}
  40.       {%- assign enable_zoom = false -%}
  41.   {% endcase %}
  42.  
  43.   <div class="grid product-single{% if section.settings.enable_payment_button %} product-single--{{ section.settings.image_size }}-image{% endif %}">
  44.     <div class="grid__item product-single__photos {{ product_image_width }}{% if section.settings.image_size == 'full' %} product-single__photos--full{% endif %}">
  45.       {%- assign featured_image = product.selected_or_first_available_variant.featured_image | default: product.featured_image -%}
  46.       {% for image in product.images %}
  47.         {% capture img_id %}FeaturedImage-{{ section.id }}-{{ image.id }}{% endcapture %}
  48.         {% capture img_class %}product-featured-img{% endcapture %}
  49.         {% capture zoom_img_id %}FeaturedImageZoom-{{ section.id }}-{{ image.id }}{% endcapture %}
  50.         {% capture img_wrapper_id %}{{ zoom_img_id }}-wrapper{% endcapture %}
  51.         {%- assign img_url = image | img_url: '1x1' | replace: '_1x1.', '_{width}x.' -%}
  52.  
  53.         {% include 'image-style', image: image, height: height, wrapper_id: img_wrapper_id, img_id: img_id %}
  54.  
  55.         <div id="{{ img_wrapper_id }}" class="product-single__photo-wrapper js">
  56.           <div
  57.          id="{{ zoom_img_id }}"
  58.          style="padding-top:{{ 1 | divided_by: image.aspect_ratio | times: 100}}%;"
  59.          class="product-single__photo{% if enable_zoom %} js-zoom-enabled{% endif %}{% if product.images.size > 1 %} product-single__photo--has-thumbnails{% endif %}{% unless featured_image == image %} hide{% endunless %}"
  60.           data-image-id="{{ image.id }}"
  61.           {% if enable_zoom %} data-zoom="{{ image | img_url: product_image_zoom_size, scale: product_image_scale }}"{% endif %}>
  62.             <img id="{{ img_id }}"
  63.                 class="feature-row__image {{ img_class }} lazyload{% unless featured_image == image %} lazypreload{% endunless %}"
  64.                 src="{{ image | img_url: '300x300' }}"
  65.                 data-src="{{ img_url }}"
  66.                 data-widths="[180, 360, 540, 720, 900, 1080, 1296, 1512, 1728, 2048]"
  67.                 data-aspectratio="{{ image.aspect_ratio }}"
  68.                 data-sizes="auto"
  69.                 tabindex="-1"
  70.                 alt="{{ image.alt | escape }}">
  71.           </div>
  72.         </div>
  73.       {% endfor %}
  74.  
  75.       <noscript>
  76.         {% capture product_image_size %}{{ height }}x{% endcapture %}
  77.         <img src="{{ featured_image | img_url: product_image_size, scale: product_image_scale }}" alt="{{ featured_image.alt }}" id="FeaturedImage-{{ section.id }}" class="product-featured-img" style="max-width: {{ height }}px;">
  78.       </noscript>
  79.  
  80.       {% if product.images.size > 1 %}
  81.         {% if product.images.size > 3 %}
  82.           {%- assign enable_thumbnail_slides = true -%}
  83.         {% endif %}
  84.  
  85.         <div class="thumbnails-wrapper{% if enable_thumbnail_slides == true %} thumbnails-slider--active{% endif %}">
  86.           {% if enable_thumbnail_slides == true %}
  87.             <button type="button" class="btn btn--link thumbnails-slider__btn thumbnails-slider__prev thumbnails-slider__prev--{{ section.id }}">
  88.               {% include 'icon-chevron-left' %}
  89.               <span class="icon__fallback-text">{{ 'sections.slideshow.previous_slide' | t }}</span>
  90.             </button>
  91.           {% endif %}
  92.           <ul class="grid grid--uniform product-single__thumbnails product-single__thumbnails-{{ section.id }}">
  93.             {% for image in product.images %}
  94.               <li class="grid__item {{ product_thumbnail_width }} product-single__thumbnails-item js no-clear">
  95.                 <a href="{{ image.src | img_url: product_image_zoom_size, scale: product_image_scale }}"
  96.                   class="text-link product-single__thumbnail product-single__thumbnail--{{ section.id }}"
  97.                   data-thumbnail-id="{{ image.id }}"
  98.                   {% if enable_zoom %}data-zoom="{{ image.src | img_url: product_image_zoom_size, scale: product_image_scale }}"{% endif %}>
  99.                      <img class="product-single__thumbnail-image" src="{{ image.src | img_url: '110x110', scale: 2 }}" alt="{{ 'sections.featured_product.gallery_thumbnail_alt' | t: imageAlt: image.alt | escape }}">
  100.                 </a>
  101.               </li>
  102.             {% endfor %}
  103.           </ul>
  104.           {% if enable_thumbnail_slides == true %}
  105.             <button type="button" class="btn btn--link thumbnails-slider__btn thumbnails-slider__next thumbnails-slider__next--{{ section.id }}">
  106.               {% include 'icon-chevron-right' %}
  107.               <span class="icon__fallback-text">{{ 'sections.slideshow.next_slide' | t }}</span>
  108.             </button>
  109.           {% endif %}
  110.         </div>
  111.       {% endif %}
  112.     </div>
  113.  
  114.     <div class="grid__item {{ product_description_width }}">
  115.       <div class="product-single__meta">
  116.  
  117.         <h1 class="product-single__title">{{ product.title }}</h1>
  118.  
  119.           <div class="product__price">
  120.             {% include 'product-price', variant: current_variant, show_vendor: section.settings.show_vendor %}
  121.           </div>
  122.  
  123.           {%- if shop.taxes_included or shop.shipping_policy.body != blank -%}
  124.             <div class="product__policies rte" data-product-policies>
  125.               {%- if shop.taxes_included -%}
  126.                 {{ 'products.product.include_taxes' | t }}
  127.               {%- endif -%}
  128.               {%- if shop.shipping_policy.body != blank -%}
  129.                 {{ 'products.product.shipping_policy_html' | t: link: shop.shipping_policy.url }}
  130.               {%- endif -%}
  131.             </div>
  132.           {%- endif -%}
  133.  
  134.           {% capture "form_classes" -%}
  135.             product-form product-form-{{ section.id }}
  136.             {%- unless section.settings.show_variant_labels %} product-form--hide-variant-labels {% endunless %}
  137.             {%- if section.settings.enable_payment_button and product.has_only_default_variant %} product-form--payment-button-no-variants {%- endif -%}
  138.             {%- if current_variant.available == false %} product-form--variant-sold-out {%- endif -%}
  139.           {%- endcapture %}
  140.  
  141.           {% form 'product', product, class:form_classes, novalidate: 'novalidate', data-product-form: '' %} {% include 'file_script'%}  
  142.             {% include 'file_uploader' %}
  143.             {% unless product.has_only_default_variant %}
  144.               <div class="product-form__controls-group">
  145.                 {% for option in product.options_with_values %}
  146.                   <div class="selector-wrapper js product-form__item">
  147.                     <label {% if option.name == 'default' %}class="label--hidden" {% endif %}for="SingleOptionSelector-{{ forloop.index0 }}">
  148.                       {{ option.name }}
  149.                     </label>
  150.                     <select class="single-option-selector single-option-selector-{{ section.id }} product-form__input"
  151.                      id="SingleOptionSelector-{{ forloop.index0 }}"
  152.                      data-index="option{{ forloop.index }}"
  153.                    >
  154.                       {% for value in option.values %}
  155.                         <option value="{{ value | escape }}"{% if option.selected_value == value %} selected="selected"{% endif %}>{{ value }}</option>
  156.                       {% endfor %}
  157.                     </select>
  158.                   </div>
  159.                 {% endfor %}
  160.               </div>
  161.             {% endunless %}
  162.  
  163.             <select name="id" id="ProductSelect-{{ section.id }}" class="product-form__variants no-js">
  164.               {% for variant in product.variants %}
  165.                 <option value="{{ variant.id }}"
  166.                  {%- if variant == current_variant %} selected="selected" {%- endif -%}
  167.                >
  168.                   {{ variant.title }}  {%- if variant.available == false %} - {{ 'products.product.sold_out' | t }}{% endif %}
  169.                 </option>
  170.               {% endfor %}
  171.             </select>
  172.  
  173.             {% if section.settings.show_quantity_selector %}
  174.               <div class="product-form__controls-group">
  175.                 <div class="product-form__item">
  176.                   <label for="Quantity-{{ section.id }}">{{ 'products.product.quantity' | t }}</label>
  177.                   <input type="number" id="Quantity-{{ section.id }}"
  178.                    name="quantity" value="1" min="1" pattern="[0-9]*"
  179.                    class="product-form__input product-form__input--quantity" data-quantity-input
  180.                  >
  181.                 </div>
  182.               </div>
  183.             {% endif %}
  184.  
  185.             <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 %}"
  186.              data-error-message-wrapper
  187.              role="alert"
  188.            >
  189.               <span class="visually-hidden">{{ 'general.accessibility.error' | t }} </span>
  190.               {% include 'icon-error' %}
  191.               <span class="product-form__error-message" data-error-message>{{ 'products.product.quantity_minimum_message' | t }}</span>
  192.             </div>
  193.  
  194.             <div class="product-form__controls-group product-form__controls-group--submit">
  195.               <div class="product-form__item product-form__item--submit
  196.                {%- if section.settings.enable_payment_button %} product-form__item--payment-button {%- endif -%}
  197.                {%- if product.has_only_default_variant %} product-form__item--no-variants {%- endif -%}"
  198.              >
  199.                 <button type="submit" name="add"
  200.                  {% unless current_variant.available %} aria-disabled="true"{% endunless %}
  201.                  aria-label="{% unless current_variant.available %}{{ 'products.product.sold_out' | t }}{% else %}{{ 'products.product.add_to_cart' | t }}{% endunless %}"
  202.                  class="btn product-form__cart-submit{% if section.settings.enable_payment_button %} btn--secondary-accent{% endif %}"
  203.                  data-add-to-cart>
  204.                   <span data-add-to-cart-text>
  205.                     {% unless current_variant.available %}
  206.                       {{ 'products.product.sold_out' | t }}
  207.                     {% else %}
  208.                       {{ 'products.product.add_to_cart' | t }}
  209.                     {% endunless %}
  210.                   </span>
  211.                   <span class="hide" data-loader>
  212.                     {% include 'icon-spinner' %}
  213.                   </span>
  214.                 </button>
  215.                 {% if section.settings.enable_payment_button %}
  216.                   {{ form | payment_button }}
  217.                 {% endif %}
  218.               </div>
  219.             </div>
  220.           {% endform %}
  221.         </div>
  222.  
  223.         {%- comment -%}
  224.           Live region for announcing updated price and availability to screen readers
  225.         {%- endcomment -%}
  226.         <p class="visually-hidden" data-product-status
  227.          aria-live="polite"
  228.          role="status"
  229.        ></p>
  230.  
  231.         {%- comment -%}
  232.           Live region for announcing that the product form has been submitted and the
  233.           product is in the process being added to the cart
  234.         {%- endcomment -%}
  235.         <p class="visually-hidden" data-loader-status
  236.          aria-live="assertive"
  237.          role="alert"
  238.          aria-hidden="true"
  239.        >{{ 'products.product.loader_label' | t }}</p>
  240.  
  241.         <div class="product-single__description rte">
  242.           {{ product.description }}
  243.         </div>
  244.  
  245.         {% if section.settings.show_share_buttons %}
  246.           {% include 'social-sharing', share_title: product.title, share_permalink: product.url, share_image: product %}
  247.         {% endif %}
  248.     </div>
  249.   </div>
  250. </div>
  251.  
  252. {% unless product == empty %}
  253.   <script type="application/json" id="ProductJson-{{ section.id }}">
  254.     {{ product | json }}
  255.   </script>
  256. {% endunless %}
  257.  
  258.  
  259.  
  260. {% schema %}
  261. {
  262.   "name": {
  263.     "da": "Produktsider",
  264.     "de": "Produktseiten",
  265.     "en": "Product pages",
  266.     "es": "Páginas de productos",
  267.     "fi": "Tuotesivut",
  268.     "fr": "Pages de produits",
  269.     "hi": "उत्पाद पेज",
  270.     "it": "Pagine di prodotto",
  271.     "ja": "商品ページ",
  272.     "ko": "제품 페이지",
  273.     "ms": "Halaman produk",
  274.     "nb": "Produktsider",
  275.     "nl": "Productpagina's",
  276.     "pt-BR": "Páginas de produtos",
  277.     "pt-PT": "Páginas de produtos",
  278.     "sv": "Produktsidor",
  279.     "th": "หน้าสินค้า",
  280.     "zh-CN": "产品页面",
  281.     "zh-TW": "產品頁面"
  282.   },
  283.   "settings": [
  284.     {
  285.       "type": "select",
  286.       "id": "image_size",
  287.       "label": {
  288.         "da": "Billedets størrelse",
  289.         "de": "Foto-Größe",
  290.         "en": "Image size",
  291.         "es": "Tamaño de la imagen",
  292.         "fi": "Kuvan koko",
  293.         "fr": "Taille des images",
  294.         "hi": "इमेज का आकार",
  295.         "it": "Dimensione immagine",
  296.         "ja": "画像サイズ",
  297.         "ko": "이미지 크기",
  298.         "ms": "Saiz imej",
  299.         "nb": "Bildestørrelse",
  300.         "nl": "Afbeeldingsformaat",
  301.         "pt-BR": "Tamanho da imagem",
  302.         "pt-PT": "Tamanho da imagem",
  303.         "sv": "Bildstorlek",
  304.         "th": "ขนาดรูปภาพ",
  305.         "zh-CN": "图片尺寸",
  306.         "zh-TW": "圖片尺寸"
  307.       },
  308.       "options": [
  309.         {
  310.           "value": "small",
  311.           "label": {
  312.             "da": "Lille",
  313.             "de": "Klein",
  314.             "en": "Small",
  315.             "es": "Pequeña",
  316.             "fi": "Pieni",
  317.             "fr": "Petite",
  318.             "hi": "छोटा",
  319.             "it": "Piccolo",
  320.             "ja": "小",
  321.             "ko": "스몰",
  322.             "ms": "Kecil",
  323.             "nb": "Liten",
  324.             "nl": "Klein",
  325.             "pt-BR": "Pequeno",
  326.             "pt-PT": "Pequeno",
  327.             "sv": "Liten",
  328.             "th": "เล็ก",
  329.             "zh-CN": "小",
  330.             "zh-TW": "小型"
  331.           }
  332.         },
  333.         {
  334.           "value": "medium",
  335.           "label": {
  336.             "da": "Medium",
  337.             "de": "Mittel",
  338.             "en": "Medium",
  339.             "es": "Mediana",
  340.             "fi": "Keskisuuri",
  341.             "fr": "Moyenne",
  342.             "hi": "मध्यम",
  343.             "it": "Medio",
  344.             "ja": "中",
  345.             "ko": "보통",
  346.             "ms": "Sederhana",
  347.             "nb": "Middels",
  348.             "nl": "Gemiddeld",
  349.             "pt-BR": "Médio",
  350.             "pt-PT": "Médio",
  351.             "sv": "Medium",
  352.             "th": "ปานกลาง",
  353.             "zh-CN": "中等",
  354.             "zh-TW": "中等"
  355.           }
  356.         },
  357.         {
  358.           "value": "large",
  359.           "label": {
  360.             "da": "Stor",
  361.             "de": "Groß",
  362.             "en": "Large",
  363.             "es": "Grande",
  364.             "fi": "Suuri",
  365.             "fr": "Grande",
  366.             "hi": "बड़ा",
  367.             "it": "Grande",
  368.             "ja": "大",
  369.             "ko": "라지",
  370.             "ms": "Besar",
  371.             "nb": "Stor",
  372.             "nl": "Groot",
  373.             "pt-BR": "Grande",
  374.             "pt-PT": "Grande",
  375.             "sv": "Stor",
  376.             "th": "ใหญ่",
  377.             "zh-CN": "大",
  378.             "zh-TW": "大型"
  379.           }
  380.         },
  381.         {
  382.           "value": "full",
  383.           "label": {
  384.             "da": "Fuld bredde",
  385.             "de": "Volle Breite",
  386.             "en": "Full-width",
  387.             "es": "Ancho completo",
  388.             "fi": "Täysi leveys",
  389.             "fr": "Pleine largeur",
  390.             "hi": "पूर्ण चौड़ाई",
  391.             "it": "Intera larghezza",
  392.             "ja": "全幅",
  393.             "ko": "전체 폭",
  394.             "ms": "Lebar penuh",
  395.             "nb": "Full bredde",
  396.             "nl": "Volledige breedte",
  397.             "pt-BR": "Largura completa",
  398.             "pt-PT": "Largura completa",
  399.             "sv": "Full bredd",
  400.             "th": "เต็มความกว้าง",
  401.             "zh-CN": "全宽",
  402.             "zh-TW": "完整寬度"
  403.           }
  404.         }
  405.       ],
  406.       "default": "medium"
  407.     },
  408.     {
  409.       "type": "checkbox",
  410.       "id": "show_quantity_selector",
  411.       "label": {
  412.         "da": "Vis antalsvælger",
  413.         "de": "Quantitäts-Auswahl anzeigen",
  414.         "en": "Show quantity selector",
  415.         "es": "Mostrar selector de cantidad",
  416.         "fi": "Näytä määrän valitsin",
  417.         "fr": "Afficher le sélecteur de quantité",
  418.         "hi": "मात्रा चयनकर्ता दिखाएं",
  419.         "it": "Mostra selettore quantità",
  420.         "ja": "数量セレクターを表示する",
  421.         "ko": "수량 선택기 표시",
  422.         "ms": "Tunjukkan pemilih kuantiti",
  423.         "nb": "Vis mengdevelger",
  424.         "nl": "Hoeveelheidskiezer weergeven",
  425.         "pt-BR": "Exibir seletor de quantidade",
  426.         "pt-PT": "Mostrar um seletor de quantidade",
  427.         "sv": "Visa kvantitetsväljare",
  428.         "th": "แสดงตัวเลือกจำนวน",
  429.         "zh-CN": "显示数量选择器",
  430.         "zh-TW": "顯示數量選擇器"
  431.       },
  432.       "default": false
  433.     },
  434.     {
  435.       "type": "checkbox",
  436.       "id": "show_variant_labels",
  437.       "label": {
  438.         "da": "Vis variantlabels",
  439.         "de": "Varianten-Etiketten anzeigen",
  440.         "en": "Show variant labels",
  441.         "es": "Mostrar etiquetas de variantes",
  442.         "fi": "Näytä vaihtoehtoiset tarrat",
  443.         "fr": "Afficher le nom des variantes",
  444.         "hi": "वेरिएंट लेबल दिखाएं",
  445.         "it": "Mostra etichette varianti",
  446.         "ja": "バリエーションのラベルを表示する",
  447.         "ko": "이형 상품 레이블 표시",
  448.         "ms": "Tunjukkan label varian",
  449.         "nb": "Vis variantetiketter",
  450.         "nl": "Variantlabels weergeven",
  451.         "pt-BR": "Exibir etiquetas de variantes",
  452.         "pt-PT": "Mostrar etiquetas de variantes",
  453.         "sv": "Visa variantetiketter",
  454.         "th": "แสดงป้ายกำกับตัวเลือกสินค้า",
  455.         "zh-CN": "显示多属性标签",
  456.         "zh-TW": "顯示子類選項標籤"
  457.       },
  458.       "default": true
  459.     },
  460.     {
  461.       "type": "checkbox",
  462.       "id": "show_vendor",
  463.       "label": {
  464.         "da": "Vis leverandør",
  465.         "de": "Lieferanten anzeigen",
  466.         "en": "Show vendor",
  467.         "es": "Mostrar proveedor",
  468.         "fi": "Näytä myyjä",
  469.         "fr": "Afficher les vendeurs",
  470.         "hi": "विक्रेता दिखाएं",
  471.         "it": "Mostra fornitore",
  472.         "ja": "販売元を表示する",
  473.         "ko": "공급업체 표시",
  474.         "ms": "Tunjukkan vendor",
  475.         "nb": "Vis leverandør",
  476.         "nl": "Leverancier weergeven",
  477.         "pt-BR": "Exibir fornecedor",
  478.         "pt-PT": "Mostrar fornecedor",
  479.         "sv": "Visa säljare",
  480.         "th": "แสดงผู้ขาย",
  481.         "zh-CN": "显示厂商",
  482.         "zh-TW": "顯示廠商"
  483.       },
  484.       "default": false
  485.     },
  486.     {
  487.       "type": "checkbox",
  488.       "id": "enable_zoom",
  489.       "label": {
  490.         "da": "Aktivér billedzoom",
  491.         "de": "Foto-Zoom zulassen",
  492.         "en": "Enable image zoom",
  493.         "es": "Habilitar zoom de imagen",
  494.         "fi": "Ota kuvan zoomaus käyttöön",
  495.         "fr": "Activer le zoom d'image",
  496.         "hi": "इमेज ज़ूम सक्षम करें",
  497.         "it": "Abilita lo zoom dell'immagine",
  498.         "ja": "画像ズームを有効にする",
  499.         "ko": "이미지 확대 사용",
  500.         "ms": "Dayakan zum imej",
  501.         "nb": "Aktiver bildezoom",
  502.         "nl": "Inzoomen op afbeelding inschakelen",
  503.         "pt-BR": "Habilitar o zoom da imagem",
  504.         "pt-PT": "Ativar o zoom da imagem",
  505.         "sv": "Aktivera bildzoom",
  506.         "th": "เปิดใช้การซูมภาพ",
  507.         "zh-CN": "启用图片缩放",
  508.         "zh-TW": "啟用圖片縮放"
  509.       },
  510.       "default": true
  511.     },
  512.     {
  513.       "type": "checkbox",
  514.       "id": "enable_payment_button",
  515.       "label": {
  516.         "da": "Vis dynamisk betalingsknap",
  517.         "de": "Dynamischen Checkout Button anzeigen",
  518.         "en": "Show dynamic checkout button",
  519.         "es": "Mostrar botón de pago dinámico",
  520.         "fi": "Näytä dynaaminen kassapainike",
  521.         "fr": "Afficher le bouton de passage à la caisse dynamique",
  522.         "hi": "डायनेमिक चेकआउट बटन दिखाएं",
  523.         "it": "Mostra pulsante di check-out dinamico",
  524.         "ja": "ダイナミックチェックアウトボタンを表示する",
  525.         "ko": "동적 결제 버튼 표시",
  526.         "ms": "Tunjukkan butang daftar keluar dinamik",
  527.         "nb": "Vis dynamisk knapp for å gå til kassen",
  528.         "nl": "Dynamische checkout knop weergeven",
  529.         "pt-BR": "Exibir botão dinâmico de finalização da compra",
  530.         "pt-PT": "Mostrar o botão dinâmico de finalização da compra",
  531.         "sv": "Visa dynamiska utcheckningsknappar",
  532.         "th": "แสดงปุ่มชำระเงินแบบไดนามิก",
  533.         "zh-CN": "显示动态结账按钮",
  534.         "zh-TW": "顯示動態結帳按鈕"
  535.       },
  536.       "info": {
  537.         "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)",
  538.         "de": "Jeder Kunde sieht seine bevorzugte Zahlungsmethode aus den in Ihrem Shop verfügbaren Zahlungsmethoden wie PayPal oder Apple Pay. [Mehr Infos](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
  539.         "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)",
  540.         "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)",
  541.         "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)",
  542.         "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)",
  543.         "hi": "प्रत्येक ग्राहक आपके स्टोर पर उपलब्ध अपनी पसंदीदा भुगतान की विधि देखेंगे जैसे PayPal या Apple Pay. [अधिक जानें](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
  544.         "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)",
  545.         "ja": "PayPalやApple Payなど、ストアで利用可能な希望の決済方法がお客様に表示されます。[もっと詳しく](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
  546.         "ko": "각 고객은 PayPal 또는 Apple Pay와 같이 스토어에서 사용 가능한 지불 방법을 확인할 수 있습니다. [자세히 알아보기](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
  547.         "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)",
  548.         "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)",
  549.         "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)",
  550.         "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)",
  551.         "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)",
  552.         "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)",
  553.         "th": "ลูกค้าแต่ละรายจะเห็นวิธีการชำระเงินที่ต้องการจากวิธีที่ใช้ได้ในร้านค้าของคุณ เช่น PayPal หรือ Apple Pay [ดูข้อมูลเพิ่มเติม](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
  554.         "zh-CN": "每位客户都可在您商店提供的付款方式中看到他们的首选付款方式,例如 PayPal 或 Apple Pay。[了解详细信息](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
  555.         "zh-TW": "每位顧客都可以在您商店內開放使用的付款方式中看見他們偏好使用的方式,如 PayPal、Apple Pay 等。[深入瞭解相關資訊](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)"
  556.       },
  557.       "default": true
  558.     },
  559.     {
  560.       "type": "checkbox",
  561.       "id": "show_share_buttons",
  562.       "label": {
  563.         "da": "Vis knapper til deling på sociale medier",
  564.         "de": "Buttons für Social Media anzeigen",
  565.         "en": "Show social sharing buttons",
  566.         "es": "Mostrar botones para compartir en redes sociales",
  567.         "fi": "Näytä sosiaalisen median jakamispainikkeet",
  568.         "fr": "Affichez les boutons de partage sur les médias sociaux",
  569.         "hi": "सोशल शेयरिंग बटन दिखाएं",
  570.         "it": "Mostra i pulsanti per la condivisione sui social",
  571.         "ja": "ソーシャル共有ボタンを表示する",
  572.         "ko": "소셜 공유 버튼 표시",
  573.         "ms": "Tunjukkan butang perkongsian sosial",
  574.         "nb": "Vis knapper for deling på sosiale medier",
  575.         "nl": "Knoppen voor sociaal delen weergeven",
  576.         "pt-BR": "Exibir botões de compartilhamento em redes sociais",
  577.         "pt-PT": "Mostrar botões de partilha nas redes sociais",
  578.         "sv": "Visa knappar för delning i sociala medier",
  579.         "th": "แสดงปุ่มสำหรับแชร์ลงโซเชียล",
  580.         "zh-CN": "显示社交分享按钮",
  581.         "zh-TW": "顯示社群分享按鈕"
  582.       },
  583.       "default": true
  584.     }
  585.   ]
  586. }
  587. {% endschema %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement