Product availability message

Product availability message

Overview


This section explains how you can setup the product availability messages in MyFulfillment depending of products stock levels, suppliers information and expected purchase orders.

MyFulfillment provides mechanisms to handle different availability messages :  
  1. Message to display when the product is in stock
  2. Message to display when the product is in stock but in a specific warehouse
  3. Message to display when product out of stock, based on the supplier delivery lead time
  4. Message to display when product is out of stock but there is a purchase order expected for it
This messages can then be sent to the CMS (Magento, prestashop ...) to be displayed on the website.

Configuration


The main configuration can be done from menu Settings > products : 


  1. Default message when product is in stock : this is the message shown when the quantity sellable is greater than 0.
  2. Default message when product is out of stock : this is the message shown when the quantity sellable is 0.
  3. Use warehouse delay when product is in stock : if you enable this option, you'll be able to configure different messages depending of the warehouse where the product is available. This is usefull to return different message if product is in stock in your main warehouse, in a supplier warehouse or in a shop.
  4. Show PO eta essage if a PO is expected : If you enable this option, if the product is not in stock and there is a purchase order expected, the PO estimated date of arrival will be shown.
  5. Expected PO message : configure the PO estimate date of arrival message here.
  6. Use supplier delay : if enabled, when a product is not in stock and is assigned to a supplier, Connect will return a message based on the supplier shipping delay.
  7. Message by warehouse ranges : when product is available in a warhouse, depending of the warehouse shipping lead time, you can configure the message to show.
  8. Message by supplier ranges : when product is not available in a warhouse, depending of the supplier shipping lead time, you can configure the message to show.

Warehouse configuration


If for some warehouses, you need a few days to ship products, you can configure this delay in the warehouse view : 



Note:  if a product has several warehouses, the lowest warehouse delay will be used.

Supplier configuration

When Connect estimates the delivery lead time for a product, it first checks the Supplier assigned to the product : 



Then, it uses by default the supplier shipping delay : 



However, there may be a custom delay for the product / supplier (it will then be used instead of the shipping delay at the supplier level) : 



Note:  if a product has several supplier, this is the lowest shipping delay that will be used.


CMS integration

Note : not all CMS support the feature to export availability message.

To check the availability messages generated by Connect, go in menu Integrations > Integrations and click on your CMS integration.

Then, go in tab "Inventory sync" where you'll see the messages under column "Availability message"  :




Availability messages are pushed with the stock updates. To enable it, enable option "Export availability message" in tab "Configuration" > "Stock level export settings"

Note : if you can not see this option "Export availability message", it means that your integration doesnt support it.


Examples


Warehouse configuration : 
  1. Main : delay = 0
  2. DropShip : delay = 1
  3. Shop : delay = 4
Supplier configuration : 
  1. Supplier A :  shipping delay = 5
  2. Supplier B : shipping delay = 11
Availability status configuration : 
  1. Default message when product is in stock : Available now !
  2. Default message when product is out of stock : Out of stock
  3. Use warehouse delay when product is in stock : Yes
  4. Show PO eta message if a PO is expected : Yes
  5. Expected PO message : Expected {Y}-{m}-{d}
  6. Use supplier delay : Yes
  7. Message by warehouse ranges : 
    1. 1 > 1 : In stock, Shipped today
    2. 2 > 7 : In stock, Shipped under 1 week
    3. 8 > 99 : In stock, Shipped under a few weeks
  8. Message by supplier ranges
    1. 1 > 7 : Available from supplier, shipped in a few days
    2. 8 > 30 : Available from supplier, shipped next month
    3. 31 > 99 : On request

Examples : 

Main WHS
Dropship WHS
Shop WHS
Supplier
Message
13
0
0
-
 Available now !
0
14
0
-
In stock, Shipped today
0
0
8
-
In stock, Shipped under 1 week
0
0
0
A
Available from supplier, shipped in a few days
0
0
0
B
Available from supplier, shipped next month
0
0
0
A, B
Available from supplier, shipped in a few days
0
0
0
Po expected 2019-12-25
Expected 2019-12-25
0
0
0
-
Out of stock


Send availability message to Prestashop

Availability messages can be sent to Prestashop via the Stock export feed.
However, it requires to override a class in Prestashop, here are the steps : 
  1. Add new column in table stock_available : ALTER TABLE `ps_stock_available` ADD `availability_message` VARCHAR(255) NULL;
  2. Check if file /override/classes/stock/StockAvailable.php already exists on your server, If not, duplicate file /classes/stock/StockAvailable.php to /override/classes/stock/StockAvailable.php
  3. Edit file /override/classes/stock/StockAvailable.php as follow : 









Once this is done, force Connect to send the stock update of a product : 
  1. In the prestashop integration, select tab "Inventory sync", check a few products and select mass action "Force to outdated"
  2. Then, select tab "Feeds" and click on button "Run now" for feed "Stock level export"
  3. Once the feed is complete, check in prestashop database, in table "stock_available" if the messages are visible.
Note : The last step is to display this attribute value on your frontend, but we dont cover this part in this documentation.


Send availability message to Magento2


Create magento attribute


First, you need to create a new magento attribute to contain the availability message (can be done in menu stores > attribute > Add new attribute)




Once the attribute is created, you must assign it to every attribute sets.

Configure attribute 

Then, go in Connect in menu integrations > integrations and click on your Magento2 integration.
In the "Configuration" tab, select your magento attribute in section ""STOCK LEVELS EXPORT SETTINGS" : 



Then save the integration.

Force export

The product availability message is sent to magento every time the stock level for a product changes.
To force export and test it, tick some products in the "Inventory sync" tab from the integration view and select mass action "Force to outdated" : 




Wait a few minutes OR manually run the "Export stock level" feed, you should then see the attribute value updated in magento :



Note : The last step is to display this attribute value on your frontend, but we dont cover this part in this documentation.









    • Related Articles

    • Product information

      Overview Connect does not allow to create products from Scratch, then all products come from an integration (mostly from your CMS). Product list Product listing is available frommenu Products. Column explanations :  Image : this is the main product ...
    • Delete product

      The only way to delete a product is using the mass action in the products grid. Click on menu Products, search for the products, tick the checkboxes, select "Delete" in the mass action dropdown and click on the Submit button :  it is not recommended ...
    • Product / Supplier association

      Product / Supplier association This article explains why it is important to associate your products to one or several suppliers and how to do so.  1. What is a product/supplier association Associate a product to a given supplier tells Connect this ...
    • Add product to PO

      Add product: You can add products in the PO using the “Add products” tab : check the products you want to add, fill the quantity (or keep empty for 1) and click on the save button. You can add quantity for the selected products that should be added ...
    • Product size and color

      Connect provides some features to show the product size and color in the product view. This feature is supported only for Prestashop products Enable the columns To enable the size and color columns in the product view, select menu "Settings" and tab ...