{"id":4845,"date":"2025-03-20T15:35:51","date_gmt":"2025-03-20T18:35:51","guid":{"rendered":"https:\/\/muttstudio.com.br\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\/"},"modified":"2025-03-20T15:51:14","modified_gmt":"2025-03-20T18:51:14","slug":"how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog","status":"publish","type":"post","link":"https:\/\/muttstudio.com.br\/en\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\/","title":{"rendered":"How to hide the Variations description in WooCommerce without harming your Catalog"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">If you use WooCommerce and want to hide the description of the variations only on your site, but keep them in the Facebook catalog, here&#8217;s a quick solution!<\/p>\n\n<p class=\"wp-block-paragraph\"><strong>\ud83d\udd27 Step-by-step:<\/strong><\/p>\n\n<ol class=\"wp-block-list\">\n<li>Go to the WordPress dashboard.<\/li>\n\n\n\n<li>Go to <strong>appearance &gt; Theme Editor<\/strong> (preferencialmente no tema filho).<\/li>\n\n\n\n<li>Open the file <code>functions.php<\/code> e cole o c\u00f3digo abaixo:<\/li>\n<\/ol>\n\n<pre class=\"wp-block-code\"><code>add_filter('woocommerce_product_variation_get_description', 'esconder_descricao_variacao_no_site', 10, 2);\n\nfunction esconder_descricao_variacao_no_site($descricao, $produto) {\n    if (is_product()) {\n        return ''; \/\/ Esconde a descri\u00e7\u00e3o da varia\u00e7\u00e3o apenas na p\u00e1gina do produto\n    }\n\n    return $descricao;\n}<\/code><\/pre>\n\n<p class=\"wp-block-paragraph\"><strong>What the code does:<br\/><\/strong>Hides the description of variations only on the product pages of your site. In the Facebook or Google Merchant Center data feed, the description is still available. <\/p>\n\n<p class=\"wp-block-paragraph\">Simple, quick and easy.<\/p>\n\n<p class=\"wp-block-paragraph\">See you next time!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hide the description of variations in WooCommerce and keep it in the Facebook catalog with a simple adjustment to the code.<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[262,222,226,204],"tags":[313,312,211,303,207,228,205],"class_list":["post-4845","post","type-post","status-publish","format-standard","hentry","category-e-commerce-en","category-technology","category-woocommerce-en","category-wordpress-en","tag-code-en","tag-function-en","tag-hints","tag-php-en","tag-technology","tag-woocommerce-en","tag-wordpress-en"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to hide the Variations description in WooCommerce<\/title>\n<meta name=\"description\" content=\"Hide the description of variations in WooCommerce and keep it in the Facebook catalog with a simple adjustment to the code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/muttstudio.com.br\/en\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to hide the Variations description in WooCommerce\" \/>\n<meta property=\"og:description\" content=\"Hide the description of variations in WooCommerce and keep it in the Facebook catalog with a simple adjustment to the code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/muttstudio.com.br\/en\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\/\" \/>\n<meta property=\"og:site_name\" content=\"Mutt Studio\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/muttstudio\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-20T18:35:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-20T18:51:14+00:00\" \/>\n<meta name=\"author\" content=\"Mutt Studio\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@muttstudio\" \/>\n<meta name=\"twitter:site\" content=\"@muttstudio\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mutt Studio\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\\\/\"},\"author\":{\"name\":\"Mutt Studio\",\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/#\\\/schema\\\/person\\\/df16e14166d339987a2983c9abd7e755\"},\"headline\":\"How to hide the Variations description in WooCommerce without harming your Catalog\",\"datePublished\":\"2025-03-20T18:35:51+00:00\",\"dateModified\":\"2025-03-20T18:51:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\\\/\"},\"wordCount\":105,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/#organization\"},\"keywords\":[\"code\",\"function\",\"hints\",\"php\",\"technology\",\"woocommerce\",\"wordpress\"],\"articleSection\":[\"E-commerce\",\"Technology\",\"Woocommerce\",\"Wordpress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\\\/\",\"url\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\\\/\",\"name\":\"How to hide the Variations description in WooCommerce\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/#website\"},\"datePublished\":\"2025-03-20T18:35:51+00:00\",\"dateModified\":\"2025-03-20T18:51:14+00:00\",\"description\":\"Hide the description of variations in WooCommerce and keep it in the Facebook catalog with a simple adjustment to the code.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to hide the Variations description in WooCommerce without harming your Catalog\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/\",\"name\":\"Mutt Studio\",\"description\":\"Resolvemos problemas com design e tecnologia.\",\"publisher\":{\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/#organization\",\"name\":\"Mutt Studio\",\"url\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/muttstudio.com.br\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/logo-muttstudio-oficial-sem-fundo.svg\",\"contentUrl\":\"https:\\\/\\\/muttstudio.com.br\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/logo-muttstudio-oficial-sem-fundo.svg\",\"width\":493,\"height\":117,\"caption\":\"Mutt Studio\"},\"image\":{\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/muttstudio\",\"https:\\\/\\\/x.com\\\/muttstudio\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/muttstudio\",\"https:\\\/\\\/www.behance.net\\\/MuttStudio\",\"https:\\\/\\\/www.youtube.com\\\/@muttstudio\",\"https:\\\/\\\/www.instagram.com\\\/muttstudio\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/#\\\/schema\\\/person\\\/df16e14166d339987a2983c9abd7e755\",\"name\":\"Mutt Studio\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/14100519e9185aa5b8008ee62ab4db46b5c902e9b6ab200b3f44f97f0fd2578d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/14100519e9185aa5b8008ee62ab4db46b5c902e9b6ab200b3f44f97f0fd2578d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/14100519e9185aa5b8008ee62ab4db46b5c902e9b6ab200b3f44f97f0fd2578d?s=96&d=mm&r=g\",\"caption\":\"Mutt Studio\"},\"url\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/author\\\/mutt-pyxel-io\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to hide the Variations description in WooCommerce","description":"Hide the description of variations in WooCommerce and keep it in the Facebook catalog with a simple adjustment to the code.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/muttstudio.com.br\/en\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\/","og_locale":"en_US","og_type":"article","og_title":"How to hide the Variations description in WooCommerce","og_description":"Hide the description of variations in WooCommerce and keep it in the Facebook catalog with a simple adjustment to the code.","og_url":"https:\/\/muttstudio.com.br\/en\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\/","og_site_name":"Mutt Studio","article_publisher":"https:\/\/www.facebook.com\/muttstudio","article_published_time":"2025-03-20T18:35:51+00:00","article_modified_time":"2025-03-20T18:51:14+00:00","author":"Mutt Studio","twitter_card":"summary_large_image","twitter_creator":"@muttstudio","twitter_site":"@muttstudio","twitter_misc":{"Written by":"Mutt Studio","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/muttstudio.com.br\/en\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\/#article","isPartOf":{"@id":"https:\/\/muttstudio.com.br\/en\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\/"},"author":{"name":"Mutt Studio","@id":"https:\/\/muttstudio.com.br\/en\/#\/schema\/person\/df16e14166d339987a2983c9abd7e755"},"headline":"How to hide the Variations description in WooCommerce without harming your Catalog","datePublished":"2025-03-20T18:35:51+00:00","dateModified":"2025-03-20T18:51:14+00:00","mainEntityOfPage":{"@id":"https:\/\/muttstudio.com.br\/en\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\/"},"wordCount":105,"commentCount":0,"publisher":{"@id":"https:\/\/muttstudio.com.br\/en\/#organization"},"keywords":["code","function","hints","php","technology","woocommerce","wordpress"],"articleSection":["E-commerce","Technology","Woocommerce","Wordpress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/muttstudio.com.br\/en\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/muttstudio.com.br\/en\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\/","url":"https:\/\/muttstudio.com.br\/en\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\/","name":"How to hide the Variations description in WooCommerce","isPartOf":{"@id":"https:\/\/muttstudio.com.br\/en\/#website"},"datePublished":"2025-03-20T18:35:51+00:00","dateModified":"2025-03-20T18:51:14+00:00","description":"Hide the description of variations in WooCommerce and keep it in the Facebook catalog with a simple adjustment to the code.","breadcrumb":{"@id":"https:\/\/muttstudio.com.br\/en\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/muttstudio.com.br\/en\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/muttstudio.com.br\/en\/how-to-hide-the-variations-description-in-woocommerce-without-harming-your-catalog\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/muttstudio.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"How to hide the Variations description in WooCommerce without harming your Catalog"}]},{"@type":"WebSite","@id":"https:\/\/muttstudio.com.br\/en\/#website","url":"https:\/\/muttstudio.com.br\/en\/","name":"Mutt Studio","description":"Resolvemos problemas com design e tecnologia.","publisher":{"@id":"https:\/\/muttstudio.com.br\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/muttstudio.com.br\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/muttstudio.com.br\/en\/#organization","name":"Mutt Studio","url":"https:\/\/muttstudio.com.br\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/muttstudio.com.br\/en\/#\/schema\/logo\/image\/","url":"https:\/\/muttstudio.com.br\/wp-content\/uploads\/2022\/11\/logo-muttstudio-oficial-sem-fundo.svg","contentUrl":"https:\/\/muttstudio.com.br\/wp-content\/uploads\/2022\/11\/logo-muttstudio-oficial-sem-fundo.svg","width":493,"height":117,"caption":"Mutt Studio"},"image":{"@id":"https:\/\/muttstudio.com.br\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/muttstudio","https:\/\/x.com\/muttstudio","https:\/\/www.linkedin.com\/company\/muttstudio","https:\/\/www.behance.net\/MuttStudio","https:\/\/www.youtube.com\/@muttstudio","https:\/\/www.instagram.com\/muttstudio\/"]},{"@type":"Person","@id":"https:\/\/muttstudio.com.br\/en\/#\/schema\/person\/df16e14166d339987a2983c9abd7e755","name":"Mutt Studio","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/14100519e9185aa5b8008ee62ab4db46b5c902e9b6ab200b3f44f97f0fd2578d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/14100519e9185aa5b8008ee62ab4db46b5c902e9b6ab200b3f44f97f0fd2578d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/14100519e9185aa5b8008ee62ab4db46b5c902e9b6ab200b3f44f97f0fd2578d?s=96&d=mm&r=g","caption":"Mutt Studio"},"url":"https:\/\/muttstudio.com.br\/en\/author\/mutt-pyxel-io\/"}]}},"_links":{"self":[{"href":"https:\/\/muttstudio.com.br\/en\/wp-json\/wp\/v2\/posts\/4845","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/muttstudio.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/muttstudio.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/muttstudio.com.br\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/muttstudio.com.br\/en\/wp-json\/wp\/v2\/comments?post=4845"}],"version-history":[{"count":1,"href":"https:\/\/muttstudio.com.br\/en\/wp-json\/wp\/v2\/posts\/4845\/revisions"}],"predecessor-version":[{"id":4846,"href":"https:\/\/muttstudio.com.br\/en\/wp-json\/wp\/v2\/posts\/4845\/revisions\/4846"}],"wp:attachment":[{"href":"https:\/\/muttstudio.com.br\/en\/wp-json\/wp\/v2\/media?parent=4845"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/muttstudio.com.br\/en\/wp-json\/wp\/v2\/categories?post=4845"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/muttstudio.com.br\/en\/wp-json\/wp\/v2\/tags?post=4845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}