{"id":79,"date":"2018-01-23T10:31:33","date_gmt":"2018-01-23T10:31:33","guid":{"rendered":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/?p=79"},"modified":"2023-08-14T15:26:06","modified_gmt":"2023-08-14T15:26:06","slug":"add-custom-columns-report","status":"publish","type":"post","link":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/add-custom-columns-report\/","title":{"rendered":"Add custom columns to report"},"content":{"rendered":"\n<p>In the settings of the plugin, you have the option of add as many columns as you want using the custom fields. It takes the custom field value of each product in the reports.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/02.settings-dashboard-1.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1763\" height=\"821\" src=\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/02.settings-dashboard-1.jpg\" alt=\"\" class=\"wp-image-310\" srcset=\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/02.settings-dashboard-1.jpg 1763w, https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/02.settings-dashboard-1-300x140.jpg 300w, https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/02.settings-dashboard-1-1024x477.jpg 1024w, https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/02.settings-dashboard-1-768x358.jpg 768w, https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/02.settings-dashboard-1-1536x715.jpg 1536w\" sizes=\"auto, (max-width: 1763px) 100vw, 1763px\" \/><\/a><\/figure>\n\n\n\n<p><br>You would just need to click <em>&#8221;+ Add a new column&#8221;<\/em> to display the option to insert the <em>&#8221;column name&#8221;<\/em> and the &#8216;<em>&#8216;custom field&#8221;. <\/em><\/p>\n\n\n\n<p><strong>Note: <\/strong>In<em> &#8221;Custom Field<\/em>&#8221; option you must enter the custom field or meta name as stored in the database<\/p>\n\n\n\n<figure class=\"wp-block-image alignnone size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/03.add-custom-columns.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1880\" height=\"828\" src=\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/03.add-custom-columns.jpg\" alt=\"\" class=\"wp-image-293\" srcset=\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/03.add-custom-columns.jpg 1880w, https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/03.add-custom-columns-300x132.jpg 300w, https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/03.add-custom-columns-1024x451.jpg 1024w, https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/03.add-custom-columns-768x338.jpg 768w, https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/03.add-custom-columns-1536x676.jpg 1536w\" sizes=\"auto, (max-width: 1880px) 100vw, 1880px\" \/><\/a><\/figure>\n\n\n\n<p>Once the information has been inserted and saved, it will be visible in both Reports.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1434\" height=\"210\" src=\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/04.custom-field-reports-2.jpg\" alt=\"\" class=\"wp-image-294\" srcset=\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/04.custom-field-reports-2.jpg 1434w, https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/04.custom-field-reports-2-300x44.jpg 300w, https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/04.custom-field-reports-2-1024x150.jpg 1024w, https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/04.custom-field-reports-2-768x112.jpg 768w\" sizes=\"auto, (max-width: 1434px) 100vw, 1434px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In the settings of the plugin, you have the option of add as many columns as you want using the custom fields. It takes the custom field value of each product in the reports. You would just need to click &#8221;+ Add a new column&#8221; to display the option to insert the &#8221;column name&#8221; and &hellip; <a href=\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/add-custom-columns-report\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Add custom columns to report<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-79","post","type-post","status-publish","format-standard","hentry","category-settings"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>YITH Cost of Goods: Add custom columns to report<\/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-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/add-custom-columns-report\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"YITH Cost of Goods: Add custom columns to report\" \/>\n<meta property=\"og:description\" content=\"In the settings of the plugin, you have the option of add as many columns as you want using the custom fields. It takes the custom field value of each product in the reports. You would just need to click &#8221;+ Add a new column&#8221; to display the option to insert the &#8221;column name&#8221; and &hellip; Continue reading Add custom columns to report\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/add-custom-columns-report\/\" \/>\n<meta property=\"og:site_name\" content=\"YITH Cost of Goods for WooCommerce\" \/>\n<meta property=\"article:published_time\" content=\"2018-01-23T10:31:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-14T15:26:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/02.settings-dashboard-1.jpg\" \/>\n<meta name=\"author\" content=\"Alessio Torrisi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alessio Torrisi\" \/>\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-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/add-custom-columns-report\/\",\"url\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/add-custom-columns-report\/\",\"name\":\"YITH Cost of Goods: Add custom columns to report\",\"isPartOf\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/add-custom-columns-report\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/add-custom-columns-report\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/02.settings-dashboard-1.jpg\",\"datePublished\":\"2018-01-23T10:31:33+00:00\",\"dateModified\":\"2023-08-14T15:26:06+00:00\",\"author\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5\"},\"breadcrumb\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/add-custom-columns-report\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/add-custom-columns-report\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/add-custom-columns-report\/#primaryimage\",\"url\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/02.settings-dashboard-1.jpg\",\"contentUrl\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/02.settings-dashboard-1.jpg\",\"width\":1763,\"height\":821},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/add-custom-columns-report\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add custom columns to report\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/#website\",\"url\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/\",\"name\":\"YITH Cost of Goods for WooCommerce\",\"description\":\"Plugin documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/?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-cost-of-goods-for-woocommerce\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5\",\"name\":\"Alessio Torrisi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g\",\"caption\":\"Alessio Torrisi\"},\"url\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/author\/alessio\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"YITH Cost of Goods: Add custom columns to report","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-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/add-custom-columns-report\/","og_locale":"en_US","og_type":"article","og_title":"YITH Cost of Goods: Add custom columns to report","og_description":"In the settings of the plugin, you have the option of add as many columns as you want using the custom fields. It takes the custom field value of each product in the reports. You would just need to click &#8221;+ Add a new column&#8221; to display the option to insert the &#8221;column name&#8221; and &hellip; Continue reading Add custom columns to report","og_url":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/add-custom-columns-report\/","og_site_name":"YITH Cost of Goods for WooCommerce","article_published_time":"2018-01-23T10:31:33+00:00","article_modified_time":"2023-08-14T15:26:06+00:00","og_image":[{"url":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/02.settings-dashboard-1.jpg","type":"","width":"","height":""}],"author":"Alessio Torrisi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Alessio Torrisi","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/add-custom-columns-report\/","url":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/add-custom-columns-report\/","name":"YITH Cost of Goods: Add custom columns to report","isPartOf":{"@id":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/add-custom-columns-report\/#primaryimage"},"image":{"@id":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/add-custom-columns-report\/#primaryimage"},"thumbnailUrl":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/02.settings-dashboard-1.jpg","datePublished":"2018-01-23T10:31:33+00:00","dateModified":"2023-08-14T15:26:06+00:00","author":{"@id":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5"},"breadcrumb":{"@id":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/add-custom-columns-report\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/add-custom-columns-report\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/add-custom-columns-report\/#primaryimage","url":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/02.settings-dashboard-1.jpg","contentUrl":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/02.settings-dashboard-1.jpg","width":1763,"height":821},{"@type":"BreadcrumbList","@id":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/add-custom-columns-report\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/"},{"@type":"ListItem","position":2,"name":"Add custom columns to report"}]},{"@type":"WebSite","@id":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/#website","url":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/","name":"YITH Cost of Goods for WooCommerce","description":"Plugin documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/?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-cost-of-goods-for-woocommerce\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5","name":"Alessio Torrisi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g","caption":"Alessio Torrisi"},"url":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/author\/alessio\/"}]}},"_links":{"self":[{"href":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-json\/wp\/v2\/posts\/79","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-json\/wp\/v2\/comments?post=79"}],"version-history":[{"count":14,"href":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-json\/wp\/v2\/posts\/79\/revisions"}],"predecessor-version":[{"id":362,"href":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-json\/wp\/v2\/posts\/79\/revisions\/362"}],"wp:attachment":[{"href":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-json\/wp\/v2\/media?parent=79"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-json\/wp\/v2\/categories?post=79"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-json\/wp\/v2\/tags?post=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}