{"id":1273,"date":"2015-10-06T07:46:21","date_gmt":"2015-10-06T07:46:21","guid":{"rendered":"http:\/\/documentation.common-services.com\/woocommerce\/?p=1273"},"modified":"2018-05-25T07:46:24","modified_gmt":"2018-05-25T07:46:24","slug":"unable-to-import-an-order-of-an-inactive-or-unavailable-product","status":"publish","type":"post","link":"https:\/\/documentation.common-services.com\/woocommerce\/unable-to-import-an-order-of-an-inactive-or-unavailable-product\/","title":{"rendered":"Unable to import an order of an inactive or unavailable product"},"content":{"rendered":"<p>You import your orders and you get an error message like this one:<\/p>\n<pre><span style=\"color: #ff0000;\">- Unable to import inactive product \"XXX-YYY\" \u2013 Please enable this product before importing the order\"<\/span>\r\nOr\r\n<span style=\"color: #ff0000;\">- unable to import the product unavailable for sale<\/span>\r\nOr\r\n<span style=\"color: #ff0000;\">- Unable to import a product with minimal quantity greater than 1<\/span><\/pre>\n<p>The module is based on Prestashop classes (the core of Prestashop) to proceed with the import of orders, forcing to respect the principles of Prestashop operation that will prevent the import of a product in an order in some cases;<\/p>\n<p>To be \u201cimportable\u201d the product must be activated (1) and available for sale (2):<\/p>\n<p><a href=\"http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product-1024x555.jpg\" alt=\"\" width=\"980\" height=\"531\" class=\"alignnone size-large wp-image-1574\" srcset=\"http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product-1024x555.jpg 1024w, http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product-300x163.jpg 300w, http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product-768x416.jpg 768w, http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product-60x33.jpg 60w, http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product-150x81.jpg 150w, http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product.jpg 1920w\" sizes=\"(max-width: 980px) 100vw, 980px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Also, the minimum quantity must be equal to 1 because it corresponds to the proper functioning of the marketplaces that retail sell the products (some exceptions apply, which is not the subject here).<\/p>\n<p>You will check either in the Quantity tab (1) or in the Variation tab (2) whether the product is provided, and that the orderable quantity is equal to 1:<\/p>\n<p>1)<\/p>\n<p><a href=\"http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product-2.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product-2-1024x460.jpg\" alt=\"\" width=\"980\" height=\"440\" class=\"alignnone size-large wp-image-1575\" srcset=\"http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product-2-1024x460.jpg 1024w, http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product-2-300x135.jpg 300w, http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product-2-768x345.jpg 768w, http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product-2-60x27.jpg 60w, http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product-2-150x67.jpg 150w, http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product-2.jpg 1815w\" sizes=\"(max-width: 980px) 100vw, 980px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>2)<\/p>\n<p><a href=\"http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product-3.jpg\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product-3-1024x466.jpg\" alt=\"\" width=\"980\" height=\"446\" class=\"alignnone size-large wp-image-1576\" srcset=\"http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product-3-1024x466.jpg 1024w, http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product-3-300x137.jpg 300w, http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product-3-768x350.jpg 768w, http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product-3-60x27.jpg 60w, http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product-3-150x68.jpg 150w, http:\/\/documentation.common-services.com\/woocommerce\/wp-content\/uploads\/2015\/10\/unable-to-import-an-order-of-an-inactive-or-unavailable-product-3.jpg 1800w\" sizes=\"(max-width: 980px) 100vw, 980px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You import your orders and you get an error message like this one: &#8211; Unable to import inactive product &#8220;XXX-YYY&#8221; \u2013 Please enable this product before importing the order&#8221; Or &#8211; unable to import the product unavailable for sale Or &#8211; Unable to import a product with minimal quantity greater than 1 The module is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[91],"tags":[296],"class_list":["post-1273","post","type-post","status-publish","format-standard","hentry","category-frequent-issues","tag-unavailable"],"_links":{"self":[{"href":"https:\/\/documentation.common-services.com\/woocommerce\/wp-json\/wp\/v2\/posts\/1273"}],"collection":[{"href":"https:\/\/documentation.common-services.com\/woocommerce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/documentation.common-services.com\/woocommerce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/documentation.common-services.com\/woocommerce\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/documentation.common-services.com\/woocommerce\/wp-json\/wp\/v2\/comments?post=1273"}],"version-history":[{"count":3,"href":"https:\/\/documentation.common-services.com\/woocommerce\/wp-json\/wp\/v2\/posts\/1273\/revisions"}],"predecessor-version":[{"id":1577,"href":"https:\/\/documentation.common-services.com\/woocommerce\/wp-json\/wp\/v2\/posts\/1273\/revisions\/1577"}],"wp:attachment":[{"href":"https:\/\/documentation.common-services.com\/woocommerce\/wp-json\/wp\/v2\/media?parent=1273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/documentation.common-services.com\/woocommerce\/wp-json\/wp\/v2\/categories?post=1273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/documentation.common-services.com\/woocommerce\/wp-json\/wp\/v2\/tags?post=1273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}