{"id":516,"date":"2025-04-07T12:46:29","date_gmt":"2025-04-07T12:46:29","guid":{"rendered":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/?p=516"},"modified":"2025-05-05T11:48:38","modified_gmt":"2025-05-05T11:48:38","slug":"compare-button","status":"publish","type":"post","link":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/general-settings\/compare-button\/","title":{"rendered":"Compare button"},"content":{"rendered":"\n<p>Through the <strong>Compare button<\/strong> options available in the <em>General settings<\/em>, you can define the button and comparison table style and actions. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/compare-button.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1614\" height=\"1090\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/compare-button.jpg\" alt=\"Compare button options\" class=\"wp-image-544\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/compare-button.jpg 1614w, https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/compare-button-300x203.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/compare-button-1024x692.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/compare-button-768x519.jpg 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/compare-button-1536x1037.jpg 1536w\" sizes=\"auto, (max-width: 1614px) 100vw, 1614px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Compare style: <\/strong>use this option to choose whether to use a button, a link or a checkbox to let users add a product to the comparison table;<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-columns are-vertically-aligned-center is-layout-flex wp-container-core-columns-is-layout-1 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/button-1.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"516\" height=\"742\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/button-1.jpg\" alt=\"Compare button\" class=\"wp-image-555\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/button-1.jpg 516w, https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/button-1-209x300.jpg 209w\" sizes=\"auto, (max-width: 516px) 100vw, 516px\" \/><\/a><figcaption class=\"wp-element-caption\">Button<\/figcaption><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/link-1.jpg\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"514\" height=\"724\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/link-1.jpg\" alt=\"Compare link\" class=\"wp-image-557\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/link-1.jpg 514w, https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/link-1-213x300.jpg 213w\" sizes=\"auto, (max-width: 514px) 100vw, 514px\" \/><\/a><figcaption class=\"wp-element-caption\">Link<\/figcaption><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/checkbox-2.jpg\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"520\" height=\"748\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/checkbox-2.jpg\" alt=\"Compare checkbox\" class=\"wp-image-558\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/checkbox-2.jpg 520w, https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/checkbox-2-209x300.jpg 209w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/a><figcaption class=\"wp-element-caption\">Checkbox<\/figcaption><\/figure>\n<\/div>\n<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Link\/Button label: <\/strong>enter the text to show for the link or button;<\/li>\n\n\n\n<li><strong>Link\/Button label<\/strong> <strong>for products in comparison<\/strong>: enter the text to let users know the product has already been added to the comparison table;<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/product-in-compare.jpg\" data-rel=\"lightbox-image-4\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1026\" height=\"758\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/product-in-compare.jpg\" alt=\"Label for products already added to comparison table\" class=\"wp-image-563\" style=\"width:453px;height:auto\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/product-in-compare.jpg 1026w, https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/product-in-compare-300x222.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/product-in-compare-1024x757.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/product-in-compare-768x567.jpg 768w\" sizes=\"auto, (max-width: 1026px) 100vw, 1026px\" \/><\/a><\/figure><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Show compare in: <\/strong>select the pages where the compare button will show by choosing from <strong><em>Shop page<\/em><\/strong>, <strong><em>Product pages<\/em><\/strong> or <strong><em>Both<\/em><\/strong>;<\/li>\n\n\n\n<li><strong>Open comparison table: <\/strong>you can show the comparison table in <strong><em><a href=\"#overlay\">overlay<\/a><\/em><\/strong> or in a <strong><em><a href=\"#compare-page\">page<\/a><\/em><\/strong>.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"overlay\">Comparison table in overlay<\/h4>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/overlay.jpg\" data-rel=\"lightbox-image-5\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"756\" height=\"360\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/overlay.jpg\" alt=\"Comparison table in overlay\" class=\"wp-image-550\" style=\"width:439px;height:auto\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/overlay.jpg 756w, https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/overlay-300x143.jpg 300w\" sizes=\"auto, (max-width: 756px) 100vw, 756px\" \/><\/a><\/figure><\/div>\n\n\n<p>By choosing to open the comparison table in overlay, you can also decide when to show it based on one of the following user&#8217;s actions:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>The user manually clicks on view anchor: <\/strong>the comparison table will open when users click on the anchor to view the products added to the list;<\/li>\n\n\n\n<li><strong>The user selects the first product<\/strong>: the comparison table will automatically open when users add a product for the comparison by clicking on the related button, link, or checkbox;<\/li>\n\n\n\n<li><strong>The user selects a second item<\/strong>: the comparison table will automatically open when users add a product to the list when it already includes more than one product.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/overlay-1-scaled.jpg\" data-rel=\"lightbox-image-6\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1187\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/overlay-1-scaled.jpg\" alt=\"Comparison table in overlay\" class=\"wp-image-561\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/overlay-1-scaled.jpg 2560w, https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/overlay-1-300x139.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/overlay-1-1024x475.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/overlay-1-768x356.jpg 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/overlay-1-1536x712.jpg 1536w, https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/overlay-1-2048x950.jpg 2048w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"compare-page\">Comparison table in a page<\/h4>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/compare-page.jpg\" data-rel=\"lightbox-image-7\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"948\" height=\"368\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/compare-page.jpg\" alt=\"Comparison table in a page\" class=\"wp-image-551\" style=\"width:531px;height:auto\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/compare-page.jpg 948w, https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/compare-page-300x116.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/compare-page-768x298.jpg 768w\" sizes=\"auto, (max-width: 948px) 100vw, 948px\" \/><\/a><\/figure><\/div>\n\n\n<p>By choosing to open the comparison table in a page, you can select the Compare page automatically created by the plugin or use a different page by making sure to include the&nbsp;<strong>[yith_woocompare_table]&nbsp;<\/strong>shortcode in the page selected from the dropdown.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/page.jpg\" data-rel=\"lightbox-image-8\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1734\" height=\"1318\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/page.jpg\" alt=\"Compare page\" class=\"wp-image-552\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/page.jpg 1734w, https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/page-300x228.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/page-1024x778.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/page-768x584.jpg 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/page-1536x1168.jpg 1536w\" sizes=\"auto, (max-width: 1734px) 100vw, 1734px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Through the Compare button options available in the General settings, you can define the button and comparison table style and actions. Comparison table in overlay By choosing to open the comparison table in overlay, you can also decide when to show it based on one of the following user&#8217;s actions: Comparison table in a page &hellip; <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/general-settings\/compare-button\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Compare button<\/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":[11,7],"tags":[],"class_list":["post-516","post","type-post","status-publish","format-standard","hentry","category-general-settings","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 Compare: Compare button<\/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-compare\/general-settings\/compare-button\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"YITH Compare: Compare button\" \/>\n<meta property=\"og:description\" content=\"Through the Compare button options available in the General settings, you can define the button and comparison table style and actions. Comparison table in overlay By choosing to open the comparison table in overlay, you can also decide when to show it based on one of the following user&#8217;s actions: Comparison table in a page &hellip; Continue reading Compare button\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/general-settings\/compare-button\/\" \/>\n<meta property=\"og:site_name\" content=\"YITH WooCommerce Compare\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-07T12:46:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-05T11:48:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/compare-button.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1614\" \/>\n\t<meta property=\"og:image:height\" content=\"1090\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/general-settings\/compare-button\/\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/general-settings\/compare-button\/\",\"name\":\"YITH Compare: Compare button\",\"isPartOf\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/general-settings\/compare-button\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/general-settings\/compare-button\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/compare-button.jpg\",\"datePublished\":\"2025-04-07T12:46:29+00:00\",\"dateModified\":\"2025-05-05T11:48:38+00:00\",\"author\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/#\/schema\/person\/526d0e378b94e5d769cc699423a893fd\"},\"breadcrumb\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/general-settings\/compare-button\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/general-settings\/compare-button\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/general-settings\/compare-button\/#primaryimage\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/compare-button.jpg\",\"contentUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/compare-button.jpg\",\"width\":1614,\"height\":1090,\"caption\":\"Compare button options\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/general-settings\/compare-button\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Compare button\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/#website\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/\",\"name\":\"YITH WooCommerce Compare\",\"description\":\"Plugin documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/?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-compare\/#\/schema\/person\/526d0e378b94e5d769cc699423a893fd\",\"name\":\"alessandra\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/#\/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-compare\/author\/alessandra\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"YITH Compare: Compare button","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-compare\/general-settings\/compare-button\/","og_locale":"en_US","og_type":"article","og_title":"YITH Compare: Compare button","og_description":"Through the Compare button options available in the General settings, you can define the button and comparison table style and actions. Comparison table in overlay By choosing to open the comparison table in overlay, you can also decide when to show it based on one of the following user&#8217;s actions: Comparison table in a page &hellip; Continue reading Compare button","og_url":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/general-settings\/compare-button\/","og_site_name":"YITH WooCommerce Compare","article_published_time":"2025-04-07T12:46:29+00:00","article_modified_time":"2025-05-05T11:48:38+00:00","og_image":[{"width":1614,"height":1090,"url":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/compare-button.jpg","type":"image\/jpeg"}],"author":"alessandra","twitter_card":"summary_large_image","twitter_misc":{"Written by":"alessandra","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/general-settings\/compare-button\/","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/general-settings\/compare-button\/","name":"YITH Compare: Compare button","isPartOf":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/general-settings\/compare-button\/#primaryimage"},"image":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/general-settings\/compare-button\/#primaryimage"},"thumbnailUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/compare-button.jpg","datePublished":"2025-04-07T12:46:29+00:00","dateModified":"2025-05-05T11:48:38+00:00","author":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/#\/schema\/person\/526d0e378b94e5d769cc699423a893fd"},"breadcrumb":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/general-settings\/compare-button\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/general-settings\/compare-button\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/general-settings\/compare-button\/#primaryimage","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/compare-button.jpg","contentUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-content\/uploads\/sites\/366\/2025\/04\/compare-button.jpg","width":1614,"height":1090,"caption":"Compare button options"},{"@type":"BreadcrumbList","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/general-settings\/compare-button\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/"},{"@type":"ListItem","position":2,"name":"Compare button"}]},{"@type":"WebSite","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/#website","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/","name":"YITH WooCommerce Compare","description":"Plugin documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/?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-compare\/#\/schema\/person\/526d0e378b94e5d769cc699423a893fd","name":"alessandra","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/#\/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-compare\/author\/alessandra\/"}]}},"_links":{"self":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-json\/wp\/v2\/posts\/516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-json\/wp\/v2\/comments?post=516"}],"version-history":[{"count":12,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-json\/wp\/v2\/posts\/516\/revisions"}],"predecessor-version":[{"id":662,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-json\/wp\/v2\/posts\/516\/revisions\/662"}],"wp:attachment":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-json\/wp\/v2\/media?parent=516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-json\/wp\/v2\/categories?post=516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-compare\/wp-json\/wp\/v2\/tags?post=516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}