Skip to content
Contact us
Contact us Or call 08-613 70 20

Sync

Connect your Northmill POS to your WooCommerce web shop and sync products, prices, stock levels and much more.

General information

  • The WordPress plugin Northmill Sync lets you sync products and orders between your Northmill Hub account and your WooCommerce shop. If you use our POS system, this makes it very easy to bring your existing product register straight into WooCommerce. Thanks to the order sync, you can also sell your products in the webshop but take payment for them on site at your Flo POS.

    Product sync

    When it comes to products, the plugin syncs product information such as product name, price, VAT and stock status. The plugin identifies a product by its product number and links the product in WooCommerce with a product in Flo Apps. This way you can edit the product information from either side and then let the plugin update the information in each place.

    If you already use Northmill Hub and now want to start selling your products through WooCommerce, the easiest solution is to sync your products from the Hub into the webshop. If, on the other hand, you have an existing range in WooCommerce, you can instead use the plugin to transfer your products from WooCommerce to Northmill Hub.

    Northmill Sync only syncs products of the product type Goods (Vara) in Hub. Other product types are currently ignored by the sync.

    Order sync

    The plugin also syncs orders. This is a one-way sync, where orders created in WooCommerce are synced to Northmill Hub. Orders created in Hub will not be created in WooCommerce, however. If you use inventory management, the stock level will be updated between the systems whether you sell the product in the webshop or from your POS.

    If a customer chooses the payment option Pay on site (Betala på plats) when completing their purchase, an order is created in WooCommerce with the status Processing (Behandlas). When you then change the status to Completed (Färdigbehandlad), the order will appear in your POS under Ready for delivery (Klar för leverans). This way customers can easily order products in your webshop and then come to your store to complete the purchase and collect the product.

Specification

  • Northmill Sync is a WordPress plugin developed to work with the built-in functions that WooCommerce has as standard. You need the latest version of WordPress and WooCommerce for the plugin to work correctly.

    Northmill Sync has no developed support for plugins other than WooCommerce, so you should be aware that problems may arise during installation if you currently use one or more plugins that do not work with Northmill Sync. If you are unsure how to go about the installation, we recommend that you get help from a consultant or web agency.

    Click here for a sync overview

    Product sync

    Northmill Sync syncs products of the product type Goods (Vara) in Northmill Hub. Other product types are currently ignored by the sync.

    Products are synced both from WooCommerce to Northmill Hub and the other way round. However, not all information is synced in both directions. Below we have specified what is synced.

    Product number

    The sync relies on the product number when it identifies new products, and this is how products are linked between the systems. You cannot change a product number afterwards, as the link between the systems will then be lost.

    Product name

    The product name can be updated both in WooCommerce and in Northmill Hub and is then updated when the systems sync. You can turn off the sync of product names if you want, through a setting in Sync.

    Price

    The price can be updated both in WooCommerce and in Northmill Hub and is then updated when the systems sync. You can turn off the sync of prices if you want, through a setting in Sync. It is important to know that the sync currently only supports syncing the regular price. Sync does not support syncing the WooCommerce sale price.

    Stock level

    The stock level is synced from Northmill Hub to WooCommerce, and Hub is then used as the stock master. If you activate Sync for the first time and sync an existing product from WooCommerce to Northmill Hub, the existing stock level in WooCommerce will be brought into Hub the first time. However, you cannot change the stock level again in WooCommerce, but must make all future goods receipts in Hub.

    Product image

    A product image added to the product in Northmill Hub is synced to WooCommerce and added as the featured product image on the product. An image uploaded and set as the product image in WooCommerce is not synced to Hub.

    Groups/Categories

    Groups created in Northmill Hub can be synced to WooCommerce as product categories. Products placed in specific groups in Northmill Hub then end up in the matching product category in WooCommerce. The group hierarchy is also synced in the form of parent and child categories. Product categories are not synced from WooCommerce to Hub. You can control whether groups are synced or not in the Sync settings.

    Posting code/VAT

    For a product to be synced between Northmill Flo and WooCommerce, it needs to have a posting code set in both systems. A posting code contains information about which VAT applies to a specific product. Posting codes are created and managed in Hub, and when Sync is activated, all posting codes will be synced over to WooCommerce. Products that already existed in WooCommerce and have no posting code set need to be gone through manually and given a posting code. Based on the posting code set, Sync automatically creates the VAT settings needed in WooCommerce.

    Order sync

    As mentioned, the plugin also syncs orders. In this case it is a one-way sync, where orders created in WooCommerce are synced to Northmill Hub. Orders created in Hub will not be created in WooCommerce, however, because they do not concern the webshop itself. If you use inventory management, the stock level will be updated between the systems whether you sell the product in the webshop or from your POS.

    If a customer chooses the payment option Pay on site (Betala på plats) when completing their purchase, an order is created in WooCommerce with the status Processing (Behandlas). When you then change the status to Completed (Färdigbehandlad), the order will appear in your POS under Ready for delivery (Klar för leverans). This way customers can easily order products in your webshop and then come to your store to complete the purchase and collect the product.

    You can turn off the sync of orders from WooCommerce to Northmill Hub in the Sync settings.

    The following information is synced from WooCommerce to Hub for an order.

    Order number

    Orders in WooCommerce and Northmill Hub have two different order numbers. However, the WooCommerce order number is included as a reference on the order when it is created in Hub.

    Customer information

    Name, email and phone number are added to the order in Northmill Hub.

    Address

    Both the Delivery address (Leveransadress) and the Billing address (Fakturaadress) are added to the order in Northmill Hub. For each new order, the sync checks whether the customer's email address is linked to an existing customer number in Hub. If it is, the order is linked to the existing customer. If the customer's email is not linked to any customer number, a new customer number is created where the submitted customer information is saved.

    Payment status

    Information about whether the order is paid or not is added to the order in Northmill Hub.

    Purchased products

    The products the customer has bought in the webshop will be listed with product number, name and the related VAT in Northmill Hub.

    Other

    Campaigns

    Campaigns created in Northmill Hub can also be used in WooCommerce. The specific campaign rules are then also used in WooCommerce and give your customers a discount on their purchase when the campaign conditions are met. This can be, for example, "Buy 3 pay for 2" or "20% discount on this item" or similar. The campaign is synced to WooCommerce in the form of a discount code. You can control whether campaigns are synced or not in the Sync settings.

    Receipts

    If you want, you can sync receipts for sales in WooCommerce directly to the accounting records in Northmill Hub. In the Sync settings, you enter accounting accounts for the different payment methods, the shipping, the VAT and any discounts. For a sale in the webshop, accounting records will then be created in Hub with the correct posting for the order in question.

Installation

  • When you have installed the Northmill Sync plugin in WordPress, you will see a tab titled Sync appear in the left-hand panel. Click through to Sync - Settings.

    On this page you now need to set the correct API details so that the plugin can sync with your Northmill Hub account. If you do not have these details, you can contact Northmill support and they will help you get them.

    Set up API details

    1. Change the value in Environment (Miljö) to Production (Produktion)

    2. Change Production URL (Produktions-URL) to https://api.moreflo.com/ (opens in a new tab)

    3. Fill in the correct details in the fields Production username (Produktion användarnamn) and Production password (Produktion lösenord)

    Synchronisation options (Synkroniseringsalternativ)

    Under the heading Synchronisation options you find different settings for how the sync should work.

    Automatic sync (Automatisk synk)

    Choose between enabling or disabling the sync. Here you can turn off the sync if something has gone wrong.

    Synchronise new orders to Apps (Synkronisera nya ordrar till Apps)

    Set whether you want to automatically sync orders created in WooCommerce to Northmill Hub.

    Synchronise product publishing status (Synkronisera publiceringsstatus för produkter)

    Set whether you want to sync the publishing status of products between Northmill Hub and WooCommerce. With Enabled (Aktiverad), products created in Hub will automatically be published in WooCommerce and then changed to draft when they are deactivated in Hub. With Disabled (Inaktiverad), products are always created as drafts in WooCommerce and the publishing status is not affected by changes in Northmill Hub.

    Synchronise price (Synkronisera pris)

    Set whether prices should be synchronised between WooCommerce and Northmill Hub or be handled separately in each environment.

    Synchronise images (Synkronisera bilder)

    Set whether images should be synchronised between WooCommerce and Northmill Hub.

    Synchronise product titles (Synkronisera produkttitlar)

    Set whether the product title should be synchronised between WooCommerce and Northmill Hub.

    Synchronise VAT classes (Synkronisera momsklasser)

    Set whether you want to automatically create VAT classes in WooCommerce based on the posting codes in Northmill Hub. The VAT classes will then also be linked to the right product in WooCommerce.

    Synchronise campaigns (Synkronisera kampanjer)

    Set whether you want to synchronise campaigns created in Northmill Hub to WooCommerce. The campaigns will then be created as discount codes in WooCommerce and automatically applied to the customer's order in WooCommerce when the campaign conditions are met.

    Synchronise product groups (Synkronisera artikelgrupper)

    Set whether you want to synchronise groups created in Northmill Hub to product categories in WooCommerce. Products placed in specific groups will automatically end up in the matching product category in WooCommerce. Product categories are not synced from WooCommerce to Northmill Hub.

    Synchronise receipts (Synkronisera kvitton)

    Set whether you want to synchronise receipts and accounting records for sales in WooCommerce to Northmill Hub. For this to work correctly, you also need to make settings further down the page under the heading Receipts (Kvitton).

    Synchronisation interval (Synkroniseringsintervall)

    Here you can control how often you want the sync to run. Keep in mind that if you have many products, the sync can take a while to complete. It can then be a good idea not to have too short an interval. We recommend that you set the interval to every 5th minute.

    Number of products to fetch per page (Antalet artiklar att hämta per sida)

    Here you can control how many products Northmill Hub should handle in each iteration. We recommend that you leave the value at 10 in this field.

    Receipts

    Under the heading Receipts you find settings for how receipts and accounting records are synced from WooCommerce to Northmill Hub. We recommend that you check with the person who does your accounting which accounting accounts should be entered in each field.

    Organisation number (Organisationsnummer)

    Enter your organisation number.

    Company name (Företagsnamn)

    Enter your company name.

    Accounting account for payments (Bokföringskonto för betalningar)

    Which fields are shown under this heading depends on which payment methods are in your WooCommerce shop. Each payment method has its own field where you enter the right accounting account for that payment method. You should only enter accounting accounts for the payment methods that you want to be recorded in Northmill Hub as soon as the order is paid.

    Accounting account for shipping (Bokföringskonto för frakt)

    Enter the accounting account for the shipping cost.

    Accounting account for VAT (Bokföringskonto för moms)

    Enter the accounting account for the VAT cost.

    Accounting account for discounts (Bokföringskonto för rabatter)

    Enter the accounting account for discounts. For example deductions for discount codes etc.

    Miscellaneous (Diverse)

    Product number for shipping product (Artikelnummer för fraktartikel)

    This setting is used so that the shipping cost of a sale is synced into Northmill Hub. You first need to create a product for shipping in Northmill Hub with the product type Goods (Vara) and the setting Enter price at sale (Ange pris vid försäljning). In this field you then enter the product number of your shipping product.

    Product number for partial refund (Artikelnummer för delåterbetalning)

    If you want to be able to refund part of an order without entering a quantity for any product, you need to fill in this field. Create a new product in Northmill Hub, set the type to Goods and tick Enter price at sale. Then fill in the product number in this box.

    Enable error logs (Aktivera felloggar)

    This option enables log files for any troubleshooting. Tick this if something is not working with the sync, but otherwise leave it inactive.

Start a sync manually

  • 1. Click Sync in the left-hand panel in WordPress.

    2. Press the blue button with the text Force Sync. The sync now starts again.

    3. The status of the process is shown while it runs, and when the sync is done a message is shown saying that it is complete.

Variable products

  • In WooCommerce you can set up variable products that contain different variants. An example of a variable product can be a product that comes in several different colours. The variable product then contains several different variants, each with its own unique product number.

    Northmill Hub currently does not support creating variable products in that way, which means that Sync cannot sync a finished variable product from Northmill Hub to WooCommerce.

    You can, however, build your variable products in WooCommerce instead and then sync them to Northmill Hub. Each variant will then appear as a unique product in Northmill Hub.

Generate a log file

  • If you find that something is not working as it should with Northmill Sync in your webshop, it can be useful to be able to get a log file. A log file is a technical report that describes any errors that may have occurred while the sync runs. It is good to have close at hand when you contact Northmill support.

    Activate the log file

    The first thing you must check is that the log file is activated. You do this by going to Northmill Sync and Settings in the left-hand panel in WordPress. At the bottom of the Northmill Sync settings you see a checkbox with the text Enable the Debugging Logs. Check that it is active. If it is not active, the sync will not generate any log file.

    There are two ways to get a log file. Either you read it directly in WordPress, or you log in to the website's server via FTP and download the file. We describe both ways below.

    Get the log file via WordPress

    When you are logged in to WordPress, go to WooCommerce and then Status. Then click the Logs (Loggar) tab. You now come to a view that shows all log files written for the website. There can be many different log files written by different plugins.

    You can switch between log files by clicking the drop-down list at the top right. The log file for Northmill Sync starts with moreflo-sync- followed by a date. Usually it is the file with the latest date that is relevant when troubleshooting an ongoing problem.

    Copy all the code in the text field and send it to Northmill support when you log a case.

    Get a log file via FTP

    Log in to the server where your website is hosted using any FTP client. Go to the root folder of your WordPress installation and then navigate to:

    /wp-content/uploads/wc-logs

    In the wc-logs folder there should be a file that starts with Northmill-sync-. Usually it is the file with the latest date that is relevant when troubleshooting an ongoing problem.

    Send this file to Northmill support when you log a case.

Didn't find the answer?

Our support team helps with technical questions and questions about our products and services.