{"id":2802,"date":"2019-07-06T04:31:11","date_gmt":"2019-07-06T04:31:11","guid":{"rendered":"https:\/\/croissant.huysmans.me\/?post_type=manual_documentation&#038;p=2802"},"modified":"2019-08-12T04:55:12","modified_gmt":"2019-08-12T04:55:12","slug":"custom-product-information-tabs","status":"publish","type":"manual_documentation","link":"https:\/\/croissant.huysmans.me\/fr\/documentation\/shop\/product-page\/custom-product-information-tabs\/","title":{"rendered":"Custom product information tabs"},"content":{"rendered":"<p>You can display an unlimited amount of information tabs on your product pages. A tab below the &#8220;Add to cart&#8221; button will be displayed and you can add any content into the panel.<\/p>\n<ol>\n<li>\n<p>To get started, create a new page by visiting\u00a0<strong>backoffice &gt; content &gt; pages<\/strong>. In this page, you&#8217;ll add the custom product information tab content. You can add any content you want and you can keep the visibility off (hidden) if you don&#8217;t want the pages to be displayed in the footer links or menus.<\/p>\n<p>If you want to use the same example as in the demo, copy the following code and paste it into the code editor of your page.<\/p>\n<div>\n<pre>&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.&lt;\/p&gt;\r\n&lt;table style=\"border-collapse: collapse; width: 100%;\" border=\"1\"&gt;\r\n&lt;thead&gt;\r\n&lt;tr&gt;\r\n&lt;td style=\"width: 25%;\"&gt;Size&lt;\/td&gt;\r\n&lt;td style=\"width: 25%;\"&gt;Neck&lt;\/td&gt;\r\n&lt;td style=\"width: 25%;\"&gt;Chest&lt;\/td&gt;\r\n&lt;td style=\"width: 25.2632%;\"&gt;Arm length&lt;\/td&gt;\r\n&lt;\/tr&gt;\r\n&lt;\/thead&gt;\r\n&lt;tbody&gt;\r\n&lt;tr style=\"height: 18px;\"&gt;\r\n&lt;td style=\"width: 25%; height: 18px;\"&gt;XS&lt;\/td&gt;\r\n&lt;td style=\"width: 25%; height: 18px;\"&gt;13.8-14.6\"&lt;\/td&gt;\r\n&lt;td style=\"width: 25%; height: 18px;\"&gt;31.1-33.1\"&lt;\/td&gt;\r\n&lt;td style=\"width: 25.2632%; height: 18px;\"&gt;31.1-32.3\"&lt;\/td&gt;\r\n&lt;\/tr&gt;\r\n&lt;tr style=\"height: 18px;\"&gt;\r\n&lt;td style=\"width: 25%; height: 18px;\"&gt;S&lt;\/td&gt;\r\n&lt;td style=\"width: 25%; height: 18px;\"&gt;14.6-15.0\"&lt;\/td&gt;\r\n&lt;td style=\"width: 25%; height: 18px;\"&gt;33.1-35.0\"&lt;\/td&gt;\r\n&lt;td style=\"width: 25.2632%; height: 18px;\"&gt;32.3-33.1\"&lt;\/td&gt;\r\n&lt;\/tr&gt;\r\n&lt;tr style=\"height: 18px;\"&gt;\r\n&lt;td style=\"width: 25%; height: 18px;\"&gt;M&lt;\/td&gt;\r\n&lt;td style=\"width: 25%; height: 18px;\"&gt;15.0-15.4\"&lt;\/td&gt;\r\n&lt;td style=\"width: 25%; height: 18px;\"&gt;35.0-37.4\"&lt;\/td&gt;\r\n&lt;td style=\"width: 25.2632%; height: 18px;\"&gt;L33.1-34.3\"&lt;\/td&gt;\r\n&lt;\/tr&gt;\r\n&lt;tr style=\"height: 18px;\"&gt;\r\n&lt;td style=\"width: 25%; height: 18px;\"&gt;L&lt;\/td&gt;\r\n&lt;td style=\"width: 25%; height: 18px;\"&gt;16.1-16.5\"&lt;\/td&gt;\r\n&lt;td style=\"width: 25%; height: 18px;\"&gt;37.8-39.8\"&lt;\/td&gt;\r\n&lt;td style=\"width: 25.2632%; height: 18px;\"&gt;34.3-35.0\"&lt;\/td&gt;\r\n&lt;\/tr&gt;\r\n&lt;tr style=\"height: 18px;\"&gt;\r\n&lt;td style=\"width: 25%; height: 18px;\"&gt;XL&lt;\/td&gt;\r\n&lt;td style=\"width: 25%; height: 18px;\"&gt;16.9-17.7\"&lt;\/td&gt;\r\n&lt;td style=\"width: 25%; height: 18px;\"&gt;39.8-42.1\"&lt;\/td&gt;\r\n&lt;td style=\"width: 25.2632%; height: 18px;\"&gt;35.0-36.6\"&lt;\/td&gt;\r\n&lt;\/tr&gt;\r\n&lt;\/tbody&gt;\r\n&lt;\/table&gt;\r\n&lt;p class=\"hint-text\" style=\"font-size: 14px;\"&gt;* Consectetur adipiscing elit, sed do eiusmod tempor&lt;\/p&gt;<\/pre>\n<\/div>\n<\/li>\n<li>\n<p>Once done, note the page URLs (the last part, as highlighted in the image below) you wish to include as tabs for products in your store. For example: <strong>&#8220;shipping&#8221;<\/strong>. <\/p>\n<p>\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/croissant.huysmans.me\/wp-content\/uploads\/2019\/07\/Screen-Shot-2019-08-12-at-12.34.22-am-1024x264.png\" alt=\"\" width=\"700\" height=\"180\" class=\"alignnone size-large wp-image-2881\" srcset=\"https:\/\/croissant.huysmans.me\/wp-content\/uploads\/2019\/07\/Screen-Shot-2019-08-12-at-12.34.22-am-1024x264.png 1024w, https:\/\/croissant.huysmans.me\/wp-content\/uploads\/2019\/07\/Screen-Shot-2019-08-12-at-12.34.22-am-300x77.png 300w, https:\/\/croissant.huysmans.me\/wp-content\/uploads\/2019\/07\/Screen-Shot-2019-08-12-at-12.34.22-am-768x198.png 768w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>You can add additional specific tabs on specific products.<\/p>\n<ul>\n<li>\n<h4>Site wide<\/h4>\n<p>You can display extra information tabs site wide, on all products, by adding a comma separated list of the content page URLs you want to display under section &#8220;9.1 Product page &#8211; Extra information tabs&#8221;. For example: <strong>&#8220;size-guide, shipping-and-returns, warranty&#8221;<\/strong>.<\/p>\n<\/li>\n<li>\n<h4>On specific products<\/h4>\n<p>You can display additional product-specific information tabs on some products. Simply add a comma separated list of the content page URLs you want to display under the &#8220;Data 2&#8221; field of the product editor. For example: <strong>&#8220;size-guide, shipping-and-returns, warranty&#8221;<\/strong>.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n","protected":false},"author":1,"featured_media":0,"parent":1793,"menu_order":0,"template":"","manualdocumentationcategory":[17],"manual_doc_tag":[],"class_list":["post-2802","manual_documentation","type-manual_documentation","status-publish","hentry","manualdocumentationcategory-croissant-documentation"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/croissant.huysmans.me\/fr\/wp-json\/wp\/v2\/manual_documentation\/2802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/croissant.huysmans.me\/fr\/wp-json\/wp\/v2\/manual_documentation"}],"about":[{"href":"https:\/\/croissant.huysmans.me\/fr\/wp-json\/wp\/v2\/types\/manual_documentation"}],"author":[{"embeddable":true,"href":"https:\/\/croissant.huysmans.me\/fr\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":14,"href":"https:\/\/croissant.huysmans.me\/fr\/wp-json\/wp\/v2\/manual_documentation\/2802\/revisions"}],"predecessor-version":[{"id":2891,"href":"https:\/\/croissant.huysmans.me\/fr\/wp-json\/wp\/v2\/manual_documentation\/2802\/revisions\/2891"}],"up":[{"embeddable":true,"href":"https:\/\/croissant.huysmans.me\/fr\/wp-json\/wp\/v2\/manual_documentation\/1793"}],"wp:attachment":[{"href":"https:\/\/croissant.huysmans.me\/fr\/wp-json\/wp\/v2\/media?parent=2802"}],"wp:term":[{"taxonomy":"manualdocumentationcategory","embeddable":true,"href":"https:\/\/croissant.huysmans.me\/fr\/wp-json\/wp\/v2\/manualdocumentationcategory?post=2802"},{"taxonomy":"manual_doc_tag","embeddable":true,"href":"https:\/\/croissant.huysmans.me\/fr\/wp-json\/wp\/v2\/manual_doc_tag?post=2802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}