{"id":77,"date":"2018-01-23T10:30:27","date_gmt":"2018-01-23T10:30:27","guid":{"rendered":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/?p=77"},"modified":"2023-08-14T15:26:27","modified_gmt":"2023-08-14T15:26:27","slug":"apply-cost-good-previous-orders","status":"publish","type":"post","link":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/apply-cost-good-previous-orders\/","title":{"rendered":"Manage previous orders&#8217; costs"},"content":{"rendered":"\n<p>The first time you install the plugin, you have to set the cost of the products as explained <a href=\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/set-cost-goods-product\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">here<\/a>, this makes the plugin start generating information based on new orders to the reports but if you want to see old orders included it too, you need some extra steps.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"477\" src=\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/05.settings-dashboard2-1024x477.jpg\" alt=\"\" class=\"wp-image-305\" srcset=\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/05.settings-dashboard2-1024x477.jpg 1024w, https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/05.settings-dashboard2-300x140.jpg 300w, https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/05.settings-dashboard2-768x358.jpg 768w, https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/05.settings-dashboard2-1536x715.jpg 1536w, https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/05.settings-dashboard2.jpg 1763w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><br><strong>Note:<\/strong> If you want to modify a previous product cost, you only have to set a new cost and apply the cost overriding. Remind this option overrides all the previous costs.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"503\" src=\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/06.apply-cost-previous-orders-1024x503.png\" alt=\"\" class=\"wp-image-306\" srcset=\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/06.apply-cost-previous-orders-1024x503.png 1024w, https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/06.apply-cost-previous-orders-300x147.png 300w, https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/06.apply-cost-previous-orders-768x377.png 768w, https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/06.apply-cost-previous-orders.png 1410w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><br>By clicking &#8221;<em>Manage Cost<\/em>&#8221; you will be able have a pop-up with the three options available to apply costs to previous orders:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Only to orders that do not have a cost yet<\/li>\n\n\n\n<li>Overriding costs in all the orders<\/li>\n\n\n\n<li>Only to a specific order<\/li>\n<\/ul>\n\n\n\n<p>If you select the the <em>&#8221;Only to specific order&#8221;<\/em> option you will have an additional field to enter the order number.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"854\" height=\"426\" src=\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/07.apply-cost-specific-order-2.jpg\" alt=\"\" class=\"wp-image-307\" srcset=\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/07.apply-cost-specific-order-2.jpg 854w, https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/07.apply-cost-specific-order-2-300x150.jpg 300w, https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/07.apply-cost-specific-order-2-768x383.jpg 768w\" sizes=\"auto, (max-width: 854px) 100vw, 854px\" \/><\/figure>\n\n\n\n<p><br>Once the <em>&#8221;Apply Costs&#8217;<\/em>&#8216; button is clicked the reports will be updated accordingly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The first time you install the plugin, you have to set the cost of the products as explained here, this makes the plugin start generating information based on new orders to the reports but if you want to see old orders included it too, you need some extra steps. Note: If you want to modify &hellip; <a href=\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/apply-cost-good-previous-orders\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Manage previous orders&#8217; costs<\/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-77","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: Manage previous orders&#039; costs<\/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\/apply-cost-good-previous-orders\/\" \/>\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: Manage previous orders&#039; costs\" \/>\n<meta property=\"og:description\" content=\"The first time you install the plugin, you have to set the cost of the products as explained here, this makes the plugin start generating information based on new orders to the reports but if you want to see old orders included it too, you need some extra steps. Note: If you want to modify &hellip; Continue reading Manage previous orders&#8217; costs\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/apply-cost-good-previous-orders\/\" \/>\n<meta property=\"og:site_name\" content=\"YITH Cost of Goods for WooCommerce\" \/>\n<meta property=\"article:published_time\" content=\"2018-01-23T10:30:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-14T15:26:27+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\/05.settings-dashboard2-1024x477.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=\"2 minutes\" \/>\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\/apply-cost-good-previous-orders\/\",\"url\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/apply-cost-good-previous-orders\/\",\"name\":\"YITH Cost of Goods: Manage previous orders' costs\",\"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\/apply-cost-good-previous-orders\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/apply-cost-good-previous-orders\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/05.settings-dashboard2-1024x477.jpg\",\"datePublished\":\"2018-01-23T10:30:27+00:00\",\"dateModified\":\"2023-08-14T15:26:27+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\/apply-cost-good-previous-orders\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/apply-cost-good-previous-orders\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/apply-cost-good-previous-orders\/#primaryimage\",\"url\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/05.settings-dashboard2.jpg\",\"contentUrl\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/05.settings-dashboard2.jpg\",\"width\":1763,\"height\":821},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/apply-cost-good-previous-orders\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Manage previous orders&#8217; costs\"}]},{\"@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: Manage previous orders' costs","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\/apply-cost-good-previous-orders\/","og_locale":"en_US","og_type":"article","og_title":"YITH Cost of Goods: Manage previous orders' costs","og_description":"The first time you install the plugin, you have to set the cost of the products as explained here, this makes the plugin start generating information based on new orders to the reports but if you want to see old orders included it too, you need some extra steps. Note: If you want to modify &hellip; Continue reading Manage previous orders&#8217; costs","og_url":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/apply-cost-good-previous-orders\/","og_site_name":"YITH Cost of Goods for WooCommerce","article_published_time":"2018-01-23T10:30:27+00:00","article_modified_time":"2023-08-14T15:26:27+00:00","og_image":[{"url":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/05.settings-dashboard2-1024x477.jpg","type":"","width":"","height":""}],"author":"Alessio Torrisi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Alessio Torrisi","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/apply-cost-good-previous-orders\/","url":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/apply-cost-good-previous-orders\/","name":"YITH Cost of Goods: Manage previous orders' costs","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\/apply-cost-good-previous-orders\/#primaryimage"},"image":{"@id":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/apply-cost-good-previous-orders\/#primaryimage"},"thumbnailUrl":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/05.settings-dashboard2-1024x477.jpg","datePublished":"2018-01-23T10:30:27+00:00","dateModified":"2023-08-14T15:26:27+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\/apply-cost-good-previous-orders\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/apply-cost-good-previous-orders\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/apply-cost-good-previous-orders\/#primaryimage","url":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/05.settings-dashboard2.jpg","contentUrl":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-content\/uploads\/sites\/256\/2023\/08\/05.settings-dashboard2.jpg","width":1763,"height":821},{"@type":"BreadcrumbList","@id":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/plugin-settings\/settings\/apply-cost-good-previous-orders\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/"},{"@type":"ListItem","position":2,"name":"Manage previous orders&#8217; costs"}]},{"@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\/77","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=77"}],"version-history":[{"count":9,"href":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-json\/wp\/v2\/posts\/77\/revisions"}],"predecessor-version":[{"id":361,"href":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-json\/wp\/v2\/posts\/77\/revisions\/361"}],"wp:attachment":[{"href":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-json\/wp\/v2\/media?parent=77"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-json\/wp\/v2\/categories?post=77"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-cost-of-goods-for-woocommerce\/wp-json\/wp\/v2\/tags?post=77"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}