{"id":487,"date":"2023-09-21T14:07:47","date_gmt":"2023-09-21T14:07:47","guid":{"rendered":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/?p=487"},"modified":"2024-03-01T10:31:31","modified_gmt":"2024-03-01T10:31:31","slug":"blocks","status":"publish","type":"post","link":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings\/blocks\/","title":{"rendered":"Blocks"},"content":{"rendered":"\n<p>The plugin includes two Gutenberg blocks to ensure plenty of flexibility when printing the custom button or the inquiry form. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">YITH Catalog Mode Button<\/h3>\n\n\n\n<p>This block can only be used in product pages and it will print the button you have selected for that specific product, either in the <em>Exclusion list<\/em> (as explained in <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings-2\/exclusion-list-2-0\/\">this page<\/a>) or from a <em>Product\/Category\/Tag level<\/em> (you can refer to <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings-2\/catalog-settings-on-product-level\/\">this page<\/a> for more information).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-content\/uploads\/sites\/292\/2024\/02\/54.catalog-mode-button-block.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1748\" height=\"638\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-content\/uploads\/sites\/292\/2024\/02\/54.catalog-mode-button-block.jpg\" alt=\"Catalog mode button block\" class=\"wp-image-839\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-content\/uploads\/sites\/292\/2024\/02\/54.catalog-mode-button-block.jpg 1748w, https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-content\/uploads\/sites\/292\/2024\/02\/54.catalog-mode-button-block-300x109.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-content\/uploads\/sites\/292\/2024\/02\/54.catalog-mode-button-block-1024x374.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-content\/uploads\/sites\/292\/2024\/02\/54.catalog-mode-button-block-768x280.jpg 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-content\/uploads\/sites\/292\/2024\/02\/54.catalog-mode-button-block-1536x561.jpg 1536w\" sizes=\"auto, (max-width: 1748px) 100vw, 1748px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">YITH Catalog Mode Inquiry Form<\/h3>\n\n\n\n<p>This block prints the form that you have configured in <em>YITH Catalog Mode &gt; Inquiry Form &gt; General options<\/em>. <\/p>\n\n\n\n<p>You can add it in any <strong>product page<\/strong> so it shows exactly where you want it to be. It does not work in other pages though.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-content\/uploads\/sites\/292\/2023\/09\/Catalog.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1704\" height=\"712\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-content\/uploads\/sites\/292\/2023\/09\/Catalog.jpg\" alt=\"Gutenberg blocks\" class=\"wp-image-488\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-content\/uploads\/sites\/292\/2023\/09\/Catalog.jpg 1704w, https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-content\/uploads\/sites\/292\/2023\/09\/Catalog-300x125.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-content\/uploads\/sites\/292\/2023\/09\/Catalog-1024x428.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-content\/uploads\/sites\/292\/2023\/09\/Catalog-768x321.jpg 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-content\/uploads\/sites\/292\/2023\/09\/Catalog-1536x642.jpg 1536w\" sizes=\"auto, (max-width: 1704px) 100vw, 1704px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The plugin includes two Gutenberg blocks to ensure plenty of flexibility when printing the custom button or the inquiry form. YITH Catalog Mode Button This block can only be used in product pages and it will print the button you have selected for that specific product, either in the Exclusion list (as explained in this &hellip; <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings\/blocks\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Blocks<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-487","post","type-post","status-publish","format-standard","hentry","category-premium-version-settings"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>YITH Catalog Mode: Blocks<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings\/blocks\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"YITH Catalog Mode: Blocks\" \/>\n<meta property=\"og:description\" content=\"The plugin includes two Gutenberg blocks to ensure plenty of flexibility when printing the custom button or the inquiry form. YITH Catalog Mode Button This block can only be used in product pages and it will print the button you have selected for that specific product, either in the Exclusion list (as explained in this &hellip; Continue reading Blocks\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings\/blocks\/\" \/>\n<meta property=\"og:site_name\" content=\"YITH WooCommerce Catalog Mode\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-21T14:07:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-01T10:31:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-content\/uploads\/sites\/292\/2024\/02\/54.catalog-mode-button-block.jpg\" \/>\n<meta name=\"author\" content=\"alessandra\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"alessandra\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings\/blocks\/\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings\/blocks\/\",\"name\":\"YITH Catalog Mode: Blocks\",\"isPartOf\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings\/blocks\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings\/blocks\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-content\/uploads\/sites\/292\/2024\/02\/54.catalog-mode-button-block.jpg\",\"datePublished\":\"2023-09-21T14:07:47+00:00\",\"dateModified\":\"2024-03-01T10:31:31+00:00\",\"author\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/#\/schema\/person\/526d0e378b94e5d769cc699423a893fd\"},\"breadcrumb\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings\/blocks\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings\/blocks\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings\/blocks\/#primaryimage\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-content\/uploads\/sites\/292\/2024\/02\/54.catalog-mode-button-block.jpg\",\"contentUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-content\/uploads\/sites\/292\/2024\/02\/54.catalog-mode-button-block.jpg\",\"width\":1748,\"height\":638,\"caption\":\"Catalog mode b\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings\/blocks\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blocks\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/#website\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/\",\"name\":\"YITH WooCommerce Catalog Mode\",\"description\":\"Plugin documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/#\/schema\/person\/526d0e378b94e5d769cc699423a893fd\",\"name\":\"alessandra\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7a82076030fd86df0a1c777be78906d9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7a82076030fd86df0a1c777be78906d9?s=96&d=mm&r=g\",\"caption\":\"alessandra\"},\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/author\/alessandra\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"YITH Catalog Mode: Blocks","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:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings\/blocks\/","og_locale":"en_US","og_type":"article","og_title":"YITH Catalog Mode: Blocks","og_description":"The plugin includes two Gutenberg blocks to ensure plenty of flexibility when printing the custom button or the inquiry form. YITH Catalog Mode Button This block can only be used in product pages and it will print the button you have selected for that specific product, either in the Exclusion list (as explained in this &hellip; Continue reading Blocks","og_url":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings\/blocks\/","og_site_name":"YITH WooCommerce Catalog Mode","article_published_time":"2023-09-21T14:07:47+00:00","article_modified_time":"2024-03-01T10:31:31+00:00","og_image":[{"url":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-content\/uploads\/sites\/292\/2024\/02\/54.catalog-mode-button-block.jpg","type":"","width":"","height":""}],"author":"alessandra","twitter_card":"summary_large_image","twitter_misc":{"Written by":"alessandra","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings\/blocks\/","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings\/blocks\/","name":"YITH Catalog Mode: Blocks","isPartOf":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings\/blocks\/#primaryimage"},"image":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings\/blocks\/#primaryimage"},"thumbnailUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-content\/uploads\/sites\/292\/2024\/02\/54.catalog-mode-button-block.jpg","datePublished":"2023-09-21T14:07:47+00:00","dateModified":"2024-03-01T10:31:31+00:00","author":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/#\/schema\/person\/526d0e378b94e5d769cc699423a893fd"},"breadcrumb":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings\/blocks\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings\/blocks\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings\/blocks\/#primaryimage","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-content\/uploads\/sites\/292\/2024\/02\/54.catalog-mode-button-block.jpg","contentUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-content\/uploads\/sites\/292\/2024\/02\/54.catalog-mode-button-block.jpg","width":1748,"height":638,"caption":"Catalog mode b"},{"@type":"BreadcrumbList","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/premium-version-settings\/blocks\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/"},{"@type":"ListItem","position":2,"name":"Blocks"}]},{"@type":"WebSite","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/#website","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/","name":"YITH WooCommerce Catalog Mode","description":"Plugin documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/#\/schema\/person\/526d0e378b94e5d769cc699423a893fd","name":"alessandra","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7a82076030fd86df0a1c777be78906d9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7a82076030fd86df0a1c777be78906d9?s=96&d=mm&r=g","caption":"alessandra"},"url":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/author\/alessandra\/"}]}},"_links":{"self":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-json\/wp\/v2\/posts\/487","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-json\/wp\/v2\/comments?post=487"}],"version-history":[{"count":7,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-json\/wp\/v2\/posts\/487\/revisions"}],"predecessor-version":[{"id":1107,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-json\/wp\/v2\/posts\/487\/revisions\/1107"}],"wp:attachment":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-json\/wp\/v2\/media?parent=487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-json\/wp\/v2\/categories?post=487"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-catalog-mode\/wp-json\/wp\/v2\/tags?post=487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}