{"id":618,"date":"2024-04-10T10:12:53","date_gmt":"2024-04-10T10:12:53","guid":{"rendered":"https:\/\/help.kybernaut.cz\/?post_type=ht_kb&#038;p=618"},"modified":"2024-04-10T10:12:53","modified_gmt":"2024-04-10T10:12:53","slug":"troubleshooting-warehouse-synchronization-issues","status":"publish","type":"ht_kb","link":"https:\/\/help.kybernaut.cz\/en\/help\/troubleshooting-warehouse-synchronization-issues\/","title":{"rendered":"Troubleshooting Warehouse Synchronization Issues"},"content":{"rendered":"\n<p>Experiencing issues with warehouse synchronization between your WooCommerce site and Mailstep can be frustrating. This concise guide is designed to help you diagnose and address common problems effectively.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Enable Logging<\/h2>\n\n\n\n<p>To start troubleshooting, you&#8217;ll want to make sure that logging is enabled. This is a crucial step as it lets you capture detailed information about the synchronization process, including any possible errors. For guidance on enabling logging, please follow the instructions in our <a href=\"https:\/\/help.kybernaut.cz\/en\/help\/logging\/\" data-type=\"ht_kb\" data-id=\"449\">Logging Guide<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Verify WooCommerce Stock Management Settings<\/h2>\n\n\n\n<p>After enabling logging, your next step should be to ensure that WooCommerce is set up to manage stock levels. This setting is essential for proper synchronization with Mailstep. <\/p>\n\n\n\n<p>You can check in <strong>WooCommerce<\/strong> Settings <strong>\/ Settings \/ Products \/ Inventory.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"559\" src=\"https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/woocommerce-managing-stock-1024x559.png\" alt=\"WooCommerce manage stock settings\" class=\"wp-image-620\" srcset=\"https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/woocommerce-managing-stock-1024x559.png 1024w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/woocommerce-managing-stock-300x164.png 300w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/woocommerce-managing-stock-768x419.png 768w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/woocommerce-managing-stock-50x27.png 50w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/woocommerce-managing-stock-1536x838.png 1536w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/woocommerce-managing-stock-60x33.png 60w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/woocommerce-managing-stock-100x55.png 100w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/woocommerce-managing-stock.png 1572w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Currently, WooCommerce handles a product&#8217;s stock status with the <strong>In Stock<\/strong> and <strong>Out of Stock<\/strong> flags. If you want to deal with the quantity of products in stock, you need to enable <strong>Stock at product<\/strong> level for each product.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"265\" src=\"https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/woocommerce-product-stock-1024x265.png\" alt=\"WooCommerce stock management per product\" class=\"wp-image-622\" srcset=\"https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/woocommerce-product-stock-1024x265.png 1024w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/woocommerce-product-stock-300x78.png 300w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/woocommerce-product-stock-768x199.png 768w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/woocommerce-product-stock-50x13.png 50w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/woocommerce-product-stock-1536x398.png 1536w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/woocommerce-product-stock-60x16.png 60w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/woocommerce-product-stock-100x26.png 100w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/woocommerce-product-stock.png 1736w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">For more detailed information about the behavior of the WooCommerce warehouse, see Vladi Musilek&#8217;s article <a href=\"https:\/\/musilda.cz\/nastaveni-skladu-ve-woocommerce\/\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>. You can use e.g. <a href=\"https:\/\/wordpress.org\/plugins\/woocommerce-stock-manager\/\" target=\"_blank\" rel=\"noreferrer noopener\">WooCommerce Stock Manager<\/a> plugin.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Manually Compare Stock Status<\/h2>\n\n\n\n<p>If discrepancies arise that aren&#8217;t explained by synchronization errors, manually comparing the stock status between WooCommerce and Mailstep can be beneficial. <\/p>\n\n\n\n<p>If you want to verify that everything is correctly transferred from Mailstep to WooCommerce (without syncing), you can run a check and <a href=\"https:\/\/help.kybernaut.cz\/en\/help\/logging\/\" data-type=\"ht_kb\" data-id=\"449\">look at the log<\/a>. The log will tell you if the status of the products in the two warehouses differs.<\/p>\n\n\n\n<p>You can find it in <strong>WooCommerce \/ Status \/ Tools<\/strong> under the title <strong>Get Mailstep inventory sync info<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"149\" src=\"http:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/mailstep-tools-compare-stock-1024x149.png\" alt=\"\" class=\"wp-image-628\" srcset=\"https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/mailstep-tools-compare-stock-1024x149.png 1024w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/mailstep-tools-compare-stock-300x44.png 300w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/mailstep-tools-compare-stock-768x112.png 768w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/mailstep-tools-compare-stock-50x7.png 50w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/mailstep-tools-compare-stock-1536x224.png 1536w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/mailstep-tools-compare-stock-60x9.png 60w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/mailstep-tools-compare-stock-100x15.png 100w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/mailstep-tools-compare-stock.png 1906w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The statement also takes into account the items not yet in Mailstep (&#8220;Pending&#8221;, &#8220;On hold&#8221; and &#8220;Mailstep &#8211; incorrectly entered&#8221; (you can possibly edit the filter, <a href=\"https:\/\/help.kybernaut.cz\/help\/filtry-pro-vyvojare\/#kbnt-mailstep-unreleased-stock-order-statuses\">see documentation<\/a>).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"373\" src=\"https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_2-1024x373.png\" alt=\"\" class=\"wp-image-428\" srcset=\"https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_2-1024x373.png 1024w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_2-300x109.png 300w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_2-768x280.png 768w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_2-50x18.png 50w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_2-1536x559.png 1536w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_2-60x22.png 60w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_2-100x36.png 100w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_2.png 1604w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Example of a log where everything is not synchronized (WC stock count + unsent order statuses)<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"100\" src=\"https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_3-1024x100.png\" alt=\"\" class=\"wp-image-435\" srcset=\"https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_3-1024x100.png 1024w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_3-300x29.png 300w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_3-768x75.png 768w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_3-50x5.png 50w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_3-1536x149.png 1536w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_3-2048x199.png 2048w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_3-60x6.png 60w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_3-100x10.png 100w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Stock status OK, but one product does not have the synchronization of the number of stock pieces set (only in stock\/out of stock)<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"171\" src=\"https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_1-1024x171.png\" alt=\"\" class=\"wp-image-432\" srcset=\"https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_1-1024x171.png 1024w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_1-300x50.png 300w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_1-768x128.png 768w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_1-50x8.png 50w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_1-1536x256.png 1536w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_1-60x10.png 60w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_1-100x17.png 100w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2022\/12\/mailstep_info_sklad_1.png 1596w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Everything is currently synchronized<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Clearing the cache to synchronize the warehouse<\/h2>\n\n\n\n<p>If you need to clear the storage synchronization cache, i.e., if you want to update everything anew (not just the difference between the last and new stock), or if you need to restart the whole process, you can do so by pressing the button.<\/p>\n\n\n\n<p>You can find it in <strong>WooCommerce \/ Status \/ Tools<\/strong> under the title <strong>Clean Mailstep inventory sync cache<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"146\" src=\"http:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/mailstep-tools-clean-cache-1024x146.png\" alt=\"\" class=\"wp-image-624\" srcset=\"https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/mailstep-tools-clean-cache-1024x146.png 1024w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/mailstep-tools-clean-cache-300x43.png 300w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/mailstep-tools-clean-cache-768x109.png 768w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/mailstep-tools-clean-cache-50x7.png 50w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/mailstep-tools-clean-cache-1536x219.png 1536w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/mailstep-tools-clean-cache-60x9.png 60w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/mailstep-tools-clean-cache-100x14.png 100w, https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2024\/04\/mailstep-tools-clean-cache.png 1922w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Now, you want to synchronize the stock again and maybe look at the stock comparison in step 3.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Following these steps should help you troubleshoot most warehouse synchronization issues effectively. Remember, the foundation of successful troubleshooting begins with enabling detailed logging and ensuring that WooCommerce is correctly managing stock levels.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Experiencing issues with warehouse synchronization between your WooCommerce site and Mailstep can be frustrating. This concise guide is designed to help you diagnose and address common problems effectively. Step 1: Enable Logging To start troubleshooting, you&#8217;ll want to make sure that logging is enabled. This is a crucial step as&#8230;<\/p>\n","protected":false},"author":1,"template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[52],"ht-kb-tag":[82],"class_list":["post-618","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-mailstep-en","ht_kb_tag-troubleshoot"],"_links":{"self":[{"href":"https:\/\/help.kybernaut.cz\/en\/wp-json\/wp\/v2\/ht-kb\/618","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.kybernaut.cz\/en\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/help.kybernaut.cz\/en\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/help.kybernaut.cz\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/help.kybernaut.cz\/en\/wp-json\/wp\/v2\/ht-kb\/618\/revisions"}],"predecessor-version":[{"id":630,"href":"https:\/\/help.kybernaut.cz\/en\/wp-json\/wp\/v2\/ht-kb\/618\/revisions\/630"}],"wp:attachment":[{"href":"https:\/\/help.kybernaut.cz\/en\/wp-json\/wp\/v2\/media?parent=618"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/help.kybernaut.cz\/en\/wp-json\/wp\/v2\/ht-kb-category?post=618"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/help.kybernaut.cz\/en\/wp-json\/wp\/v2\/ht-kb-tag?post=618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}