{"id":596,"date":"2021-10-27T10:06:00","date_gmt":"2021-10-27T10:06:00","guid":{"rendered":"https:\/\/help.kybernaut.cz\/help\/synchronizace-skladu\/"},"modified":"2024-04-10T10:16:04","modified_gmt":"2024-04-10T10:16:04","slug":"synchronizace-skladu","status":"publish","type":"ht_kb","link":"https:\/\/help.kybernaut.cz\/en\/help\/synchronizace-skladu\/","title":{"rendered":"Warehouse synchronisation"},"content":{"rendered":"\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\">Warehouse management must be <a href=\"https:\/\/help.kybernaut.cz\/help\/nastaveni-pluginu\/#nastaveni-skladu-ve-woocommerce\">enabled and set up in WooCommerce<\/a>.<br><br>Mailstep allows you to synchronise in this way  <strong>max. 10 000 products<\/strong>. If you have more than one, customization will be required.<\/p>\n\n\n\n<p>If you want to synchronize your WooCommerce warehouse with your Mailstep warehouse status, please choose the mode that is most suitable for your e-commerce model.<\/p>\n\n\n\n<p>By default, <strong>items from orders not yet forwarded to Mailstep are deducted from the stock received from Mailstep<\/strong>, i.e. in the warehouse statuses Pending payment, Pending and Mailstep &#8211; Incorrectly entered (you can edit them <a href=\"https:\/\/help.kybernaut.cz\/help\/filtry-pro-vyvojare\/#kbnt-mailstep-unreleased-stock-order-statuses\" data-type=\"URL\" data-id=\"https:\/\/help.kybernaut.cz\/help\/filtry-pro-vyvojare\/#kbnt-mailstep-unreleased-stock-order-statuses\">with the filter<\/a>). In the settings you can see the number of orders and you can click to view them.<\/p>\n\n\n\n<p>If you have <a href=\"https:\/\/help.kybernaut.cz\/help\/synchronizace-skladu\/#vice-skladu-v-mailstepu\" data-type=\"URL\" data-id=\"https:\/\/help.kybernaut.cz\/help\/synchronizace-skladu\/#vice-skladu-v-mailstepu\">multiple warehouses<\/a> defined in Mailstep, their status will be added together in WooCommerce.<\/p>\n\n\n\n<div class=\"hb-magnify\" class=\"wp-block-ht-blocks-image\"><div class=\"hb-magnify__large\"><\/div><img decoding=\"async\" class=\"hb-magnify__small\" src=\"http:\/\/help.kybernaut.cz\/wp-content\/uploads\/2023\/04\/mailstep-nastaveni-skladu.png\" width=\"720\"\/><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Manual<\/h2>\n\n\n\n<p><strong>You have everything under control and you can update your warehouse at the touch of a button when you stock new goods.  <\/strong>The synchronization is scheduled and starts itself the next time you view the page.<\/p>\n\n\n\n<p>It is a good choice if you do not have any other way to reduce stock than selling via e-shop (you do not have a branch, another e-shop, etc.).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Automatic<\/h2>\n\n\n\n<p><strong>Stock changes frequently because you also sell at the branch etc.<\/strong><\/p>\n\n\n\n<p>The warehouse is synchronized once per hour* (depending on the traffic of the site, or the behavior of WordPress cron, which starts after a timeout when the site is visited).<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">The first synchronization can take quite a long time &#8211; with the default settings, the plugin updates only 300 products at a time. If you have more, it will schedule the other 300 a minute later so it doesn&#8217;t overload your site. If you are sure of the server configuration, <a href=\"https:\/\/help.kybernaut.cz\/help\/filtry-pro-vyvojare\/#kbnt-mailstep-sync-inventory-products-per-sync\" data-type=\"URL\" data-id=\"https:\/\/help.kybernaut.cz\/help\/filtry-pro-vyvojare\/#kbnt-mailstep-sync-inventory-products-per-sync\">you can increase the number<\/a>.<br><br>The next synchronisation should be faster, as only what has changed from the previous synchronisation is updated.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-danger\">The normal use of payment methods that do not have &#8220;delays&#8221; such as card payment, immediate transfer or cash on delivery should not lead to stock discrepancies.<br><br>If you are using custom order statuses (or plugins that have them) where the goods have not yet been submitted to Mailstep, make sure you have them set as ones that reduce stock, if not, use a <a href=\"https:\/\/help.kybernaut.cz\/help\/filtry-pro-vyvojare\/#kbnt-mailstep-unreleased-stock-order-statuses\" data-type=\"URL\" data-id=\"https:\/\/help.kybernaut.cz\/help\/filtry-pro-vyvojare\/#kbnt-mailstep-unreleased-stock-order-statuses\">filter<\/a>.<\/p>\n\n\n\n<p>If you still need to use automatic synchronization of the warehouse, it may be a solution to update the warehouse only once a day (at the time after the payments are credited to the account) or to program the warehouse update after receiving new goods in Mailstep.  <\/p>\n\n\n\n<p>Your programmer can help you set the execution frequency by using <a href=\"https:\/\/help.kybernaut.cz\/help\/filtry-pro-vyvojare\/#kbnt-mailstep-sync-inventory-recurrence\">this filter<\/a> or by calling the action <code>kbnt_mailstep_sync_inventory_manuall_hook<\/code>, which schedules a one-time execution of cron (like pressing the button above).<\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/kybernaut.cz\/kontakt\" target=\"_blank\">Contact<\/a> me for further code modifications.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">More warehouses in Mailstep<\/h2>\n\n\n\n<p>If you have more than one warehouse created in Mailstep (which is quite rare), by default the plugin works with the sum of their inventory for a given product (SKU).<\/p>\n\n\n\n<p>Using filters you (or your programmer) can set whether to load goods from only<a href=\"https:\/\/help.kybernaut.cz\/help\/filtry-pro-vyvojare\/#kbnt-mailstep-sync-only-store-id\">one warehouse<\/a> or to <a href=\"https:\/\/help.kybernaut.cz\/help\/filtry-pro-vyvojare\/#kbnt-mailstep-sync-excluded-store-ids\">exclude some warehouses<\/a> from synchronization (and the rest will be added).<\/p>\n\n\n\n<p>You can see information about the currently used settings in the Mailstep plugin administration as <em>Synchronized warehouses.<\/em><\/p>\n\n\n\n<div class=\"hb-magnify\" class=\"wp-block-ht-blocks-image\"><div class=\"hb-magnify__large\"><\/div><img decoding=\"async\" class=\"hb-magnify__small\" src=\"https:\/\/help.kybernaut.cz\/wp-content\/uploads\/2023\/04\/mailstep-nastaveni-skladu.png\" width=\"720\"\/><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshoot issues<\/h2>\n\n\n\n<p>If you&#8217;re encountering challenges with warehouse synchronization between your WooCommerce store and Mailstep, don&#8217;t worry\u2014we&#8217;ve prepared a straightforward <a href=\"https:\/\/help.kybernaut.cz\/en\/help\/troubleshooting-warehouse-synchronization-issues\/\" data-type=\"ht_kb\" data-id=\"618\">Troubleshooting Guide<\/a> to help you navigate and resolve these issues efficiently.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to properly set up a warehouse sync from Mailstep to WooCommerce and not go crazy.<\/p>\n","protected":false},"author":1,"template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[52],"ht-kb-tag":[68,69,71],"class_list":["post-596","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-mailstep-en","ht_kb_tag-stock","ht_kb_tag-stock-status","ht_kb_tag-synchronization"],"_links":{"self":[{"href":"https:\/\/help.kybernaut.cz\/en\/wp-json\/wp\/v2\/ht-kb\/596","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":6,"href":"https:\/\/help.kybernaut.cz\/en\/wp-json\/wp\/v2\/ht-kb\/596\/revisions"}],"predecessor-version":[{"id":632,"href":"https:\/\/help.kybernaut.cz\/en\/wp-json\/wp\/v2\/ht-kb\/596\/revisions\/632"}],"wp:attachment":[{"href":"https:\/\/help.kybernaut.cz\/en\/wp-json\/wp\/v2\/media?parent=596"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/help.kybernaut.cz\/en\/wp-json\/wp\/v2\/ht-kb-category?post=596"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/help.kybernaut.cz\/en\/wp-json\/wp\/v2\/ht-kb-tag?post=596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}