X

Important Notice:

It has come to our attention that some individuals, who are not affiliated with eGlobe IT Solutions, have been reaching out to job seekers falsely claiming to represent our company. These scammers are offering Work from Home Part-Time job opportunities under the guise of eGlobe IT Solutions and we have already reported to the concerned authorities under law. If you have been contacted by someone claiming to be from eGlobe IT Solutions via WhatsApp/Instagram/Facebook/SMS and you suspect that it might be a scam, we urge you to exercise caution. Do not share any personal information or make any financial transactions. Instead, pleasefollow these steps:

1. Contact Us:

If you have doubts or concerns, please reach out to our HR department directly at hr@eglobeits.com to confirm the authenticity of the communication.

2. Do Not Share Personal or Financial Information:

Under no circumstances should you share sensitive personal or financial information with anyone claiming to be from eGlobe IT Solutions without proper verification.

3. Report the Scam:

If you believe you have been targeted by a scam, please report it to your local law enforcement authorities and forward any suspicious emails or messages to us at hr@eglobeits.com so that we can take appropriate action.

Your safety and security are of paramount importance to us, and we take these matters very seriously. eGlobe IT Solutions is committed to maintaining the highest ethical standards in our recruitment processes.

Magento 2.3 Product Quantity: Why Salable Quantity May Show Zero in the Product Grid

Posted on: 28 Oct 2019 by Admin

This is the ultimate guide to salable quantity magento 2.3 is showing zero in the product grid

In the most advanced Magento version 2.3, you might have seen a new quantity parameter ‘Salable Quantity‘.
Now we will discuss how to make a product’s salable quantity in Magento 2.3

Magento 2.3.x has introduced MSI (Multi-Source inventory) which will help merchants to achieve multiple warehouse inventory management without any 3rd party modules. You can find the details of MSI in Magento’s official dev docs.
To handle Multi Source Inventory Magento is using one predefined Source (Default Source) and one Stock (Default Stock) to which the inventory needs to be added in order to properly calculate the salable qty. For managing the default salable qty Magento using a database view called inventory_stock_1 which will get created on installing Magento.
If you imported the database from your local or a different server, the view won’t be there with your SQL dump and hence Magento won’t be able to calculate the salable qty.
As a result, the entire products will get disappeared from the shop frontend after a reindex or cache flush.
To solve this issue, you will need to manually create the view in your new database by executing the below SQL.

 

CREATE ALGORITHM=UNDEFINED DEFINER=`{database_user}`@`localhost` SQL SECURITY INVOKER VIEW `inventory_stock_1` AS 
SELECT distinct `legacy_stock_status`.`product_id` AS `product_id`,
`legacy_stock_status`.`website_id` AS `website_id`,
`legacy_stock_status`.`stock_id` AS `stock_id`,
`legacy_stock_status`.`qty` AS `quantity`,
`legacy_stock_status`.`stock_status` AS `is_salable`,
`product`.`sku` AS `sku` 
FROM
(
`cataloginventory_stock_status` `legacy_stock_status` 
join `catalog_product_entity` `product` 
on ((`legacy_stock_status`.`product_id` = `product`.`entity_id`))
) ;

 

Replace {database_user} with your actual database user with enough privileges.

Once you executed the query in your database, you may need to flush Magento Cache to update the salable qty in the products grid as shown below.