Bonjour , j’ai un probleme sur la description produit, sur mon site je me retrouve avec 2 fois la meme description alors que j’en ai fait q’une , et sa sur tout les produits, et j’ai aussi 2 fois les boutons (partager sur facebook,twitter,pinterest), si quelqu’un peut m’aider !!! merci a vous.
Bonjour,
Copiez-collez le code de votre product.template.liquid ici.
meme chose sur tout mes produits
Bonjour,
Copiez-collez le code de votre product.template.liquid ici.
{% case section.settings.image_size %}
{% when ‘small’ %}
{%- assign product_image_width = ‘medium-up–one-third’ -%}
{%- assign product_description_width = ‘medium-up–two-thirds’ -%}
{%- assign product_thumbnail_width = ‘medium-up–one-third’ -%}
{%- assign height = 345 -%}
{% when ‘medium’ %}
{%- assign product_image_width = ‘medium-up–one-half’ -%}
{%- assign product_description_width = ‘medium-up–one-half’ -%}
{%- assign product_thumbnail_width = ‘medium-up–one-quarter’ -%}
{%- assign height = 530 -%}
{% when ‘large’ %}
{%- assign product_image_width = ‘medium-up–two-thirds’ -%}
{%- assign product_description_width = ‘medium-up–one-third’ -%}
{%- assign product_thumbnail_width = ‘medium-up–one-fifth’ -%}
{%- assign height = 720 -%}
{% when ‘full’ %}
{%- assign product_image_width = ‘’ -%}
{%- assign product_description_width = ‘’ -%}
{%- assign product_thumbnail_width = ‘medium-up–one-eighth’ -%}
{%- assign height = 1090 -%}
{%- assign enable_zoom = false -%}
{% endcase %}
{% include ‘image-style’ with small_style: true, width: height, height: height, wrapper_id: img_wrapper_id, img_id: img_id %}
{% if product.images.size > 1 %}
{% if product.images.size > 3 %}
{%- 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 %}
{%- 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 %}
{% 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 %}
{% endif %}
{% unless product == empty %}
{% endunless %}
Bonjour,
effectivement la réponse était simple. Par contre bizarre que ça affiche deux fois.
