{"id":4284,"date":"2020-03-12T13:23:50","date_gmt":"2020-03-12T13:23:50","guid":{"rendered":"https:\/\/demos.welaunch.io\/woocommerce-single-variations\/?post_type=faq&#038;p=765"},"modified":"2024-05-15T11:13:17","modified_gmt":"2024-05-15T09:13:17","slug":"exclure-les-attributs-variations","status":"publish","type":"faq","link":"https:\/\/www.welaunch.io\/fr\/base-de-connaissances\/faq\/exclure-les-attributs-variations\/","title":{"rendered":"Comment exclure des attributs ou des variations ?"},"content":{"rendered":"<p>Certains magasins proposent des chemises avec deux attributs de variation &#8211; un pour la couleur et un pour la taille. Cela repr\u00e9sente par exemple 20 variations si vous avez 2 couleurs et 10 tailles (10 x 2).Un exemple ici, vous pouvez voir la variation de taille affich\u00e9e pour chaque t-shirt :<figure id=\"attachment_5232\" aria-describedby=\"caption-attachment-5232\" style=\"width: 919px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5232\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2020\/03\/variations-show-size-attribute.png\" alt=\"les variations montrent l'attribut de taille\" width=\"919\" height=\"420\" srcset=\"https:\/\/www.welaunch.io\/fr\/wp-content\/uploads\/sites\/13\/2020\/03\/variations-show-size-attribute.png 919w, https:\/\/www.welaunch.io\/fr\/wp-content\/uploads\/sites\/13\/2020\/03\/variations-show-size-attribute-300x137.png 300w, https:\/\/www.welaunch.io\/fr\/wp-content\/uploads\/sites\/13\/2020\/03\/variations-show-size-attribute-768x351.png 768w, https:\/\/www.welaunch.io\/fr\/wp-content\/uploads\/sites\/13\/2020\/03\/variations-show-size-attribute-500x229.png 500w\" sizes=\"auto, (max-width: 919px) 100vw, 919px\" \/><figcaption id=\"caption-attachment-5232\" class=\"wp-caption-text\">les variations montrent l&#8217;attribut de taille<\/figcaption><\/figure>Mais la plupart du temps, vous ne souhaitez montrer qu&#8217;une seule variation d&#8217;attribut (e.g. la couleur). Pour ce faire, activez les param\u00e8tres suivants.<\/p>\n<h2>Exclure un attribut dans les param\u00e8tres du plugin<\/h2>\n<ol>\n<li>Assurez-vous d&#8217;avoir cliqu\u00e9 sur les variations d&#8217;init. Essayer de r\u00e9initialiser avant.<\/li>\n<li>Allez dans les param\u00e8tres du plugin > titre de la variation > exclure l&#8217;attribut que vous ne souhaitez pas voir appara\u00eetre dans le titre (par exemple.g. pa_size)<\/li>\n<li>Allez dans les param\u00e8tres du plugin > exclusions > choisissez l&#8217;attribut que vous voulez cacher.<\/li>\n<li>Activer &#8220;Garder la premi\u00e8re variante&#8221; et &#8220;Supprimer un terme de la liste permanente&#8221; si vous voulez<\/li>\n<\/ol>\n<figure id=\"attachment_5229\" aria-describedby=\"caption-attachment-5229\" style=\"width: 1020px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-5229\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2020\/03\/exclude-size-attribute-from-shop-loop-1024x716.png\" alt=\"exclure l'attribut de taille de la boucle d'achat\" width=\"1020\" height=\"713\" srcset=\"https:\/\/www.welaunch.io\/fr\/wp-content\/uploads\/sites\/13\/2020\/03\/exclude-size-attribute-from-shop-loop-1024x716.png 1024w, https:\/\/www.welaunch.io\/fr\/wp-content\/uploads\/sites\/13\/2020\/03\/exclude-size-attribute-from-shop-loop-300x210.png 300w, https:\/\/www.welaunch.io\/fr\/wp-content\/uploads\/sites\/13\/2020\/03\/exclude-size-attribute-from-shop-loop-768x537.png 768w, https:\/\/www.welaunch.io\/fr\/wp-content\/uploads\/sites\/13\/2020\/03\/exclude-size-attribute-from-shop-loop-500x350.png 500w, https:\/\/www.welaunch.io\/fr\/wp-content\/uploads\/sites\/13\/2020\/03\/exclude-size-attribute-from-shop-loop-1000x700.png 1000w, https:\/\/www.welaunch.io\/fr\/wp-content\/uploads\/sites\/13\/2020\/03\/exclude-size-attribute-from-shop-loop.png 1095w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><figcaption id=\"caption-attachment-5229\" class=\"wp-caption-text\">exclure l&#8217;attribut de taille de la boucle d&#8217;achat<\/figcaption><\/figure><figure id=\"attachment_5231\" aria-describedby=\"caption-attachment-5231\" style=\"width: 1020px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-5231\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2020\/03\/exclude-size-attribute-from-variation-title-1024x747.png\" alt=\"exclure l'attribut taille du titre de la variation\" width=\"1020\" height=\"744\" srcset=\"https:\/\/www.welaunch.io\/fr\/wp-content\/uploads\/sites\/13\/2020\/03\/exclude-size-attribute-from-variation-title-1024x747.png 1024w, https:\/\/www.welaunch.io\/fr\/wp-content\/uploads\/sites\/13\/2020\/03\/exclude-size-attribute-from-variation-title-300x219.png 300w, https:\/\/www.welaunch.io\/fr\/wp-content\/uploads\/sites\/13\/2020\/03\/exclude-size-attribute-from-variation-title-768x560.png 768w, https:\/\/www.welaunch.io\/fr\/wp-content\/uploads\/sites\/13\/2020\/03\/exclude-size-attribute-from-variation-title-500x365.png 500w, https:\/\/www.welaunch.io\/fr\/wp-content\/uploads\/sites\/13\/2020\/03\/exclude-size-attribute-from-variation-title-1000x730.png 1000w, https:\/\/www.welaunch.io\/fr\/wp-content\/uploads\/sites\/13\/2020\/03\/exclude-size-attribute-from-variation-title.png 1040w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><figcaption id=\"caption-attachment-5231\" class=\"wp-caption-text\">exclure l&#8217;attribut taille du titre de la variation<\/figcaption><\/figure>Cette op\u00e9ration permet de supprimer tous les produits de variation affect\u00e9s \u00e0 un attribut de taille. Si vous activez cette option, vous ne verrez peut-\u00eatre plus aucun produit.<figure id=\"attachment_5230\" aria-describedby=\"caption-attachment-5230\" style=\"width: 1020px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-5230\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2020\/03\/after-size-is-excluded-1024x470.png\" alt=\"apr\u00e8s la taille est exclue\" width=\"1020\" height=\"468\" srcset=\"https:\/\/www.welaunch.io\/fr\/wp-content\/uploads\/sites\/13\/2020\/03\/after-size-is-excluded-1024x470.png 1024w, https:\/\/www.welaunch.io\/fr\/wp-content\/uploads\/sites\/13\/2020\/03\/after-size-is-excluded-300x138.png 300w, https:\/\/www.welaunch.io\/fr\/wp-content\/uploads\/sites\/13\/2020\/03\/after-size-is-excluded-768x353.png 768w, https:\/\/www.welaunch.io\/fr\/wp-content\/uploads\/sites\/13\/2020\/03\/after-size-is-excluded-500x230.png 500w, https:\/\/www.welaunch.io\/fr\/wp-content\/uploads\/sites\/13\/2020\/03\/after-size-is-excluded-1000x459.png 1000w, https:\/\/www.welaunch.io\/fr\/wp-content\/uploads\/sites\/13\/2020\/03\/after-size-is-excluded.png 1154w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><figcaption id=\"caption-attachment-5230\" class=\"wp-caption-text\">apr\u00e8s la taille est exclue<\/figcaption><\/figure>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","product_cat":[],"class_list":["post-4284","faq","type-faq","status-publish","hentry","faq_topics-single-variations-faq"],"_links":{"self":[{"href":"https:\/\/www.welaunch.io\/fr\/wp-json\/wp\/v2\/faq\/4284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.welaunch.io\/fr\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/www.welaunch.io\/fr\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/fr\/wp-json\/wp\/v2\/comments?post=4284"}],"version-history":[{"count":3,"href":"https:\/\/www.welaunch.io\/fr\/wp-json\/wp\/v2\/faq\/4284\/revisions"}],"predecessor-version":[{"id":8736,"href":"https:\/\/www.welaunch.io\/fr\/wp-json\/wp\/v2\/faq\/4284\/revisions\/8736"}],"wp:attachment":[{"href":"https:\/\/www.welaunch.io\/fr\/wp-json\/wp\/v2\/media?parent=4284"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.welaunch.io\/fr\/wp-json\/wp\/v2\/product_cat?post=4284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}