#1 First you need to create material

 For example:
       "Material A" Inventory 100

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/36dbc28a-21b0-4c57-ae80-2f9f1f61ade9/Untitled.png

#2 You need to configure the material usage of the product, go to the product page, click add, select the product that already exists in Shopify, then configure the material usage of the variant (a variant can consist of multiple material usages)

For example:
      Product A uses 1 x Material A
      Product B uses 2 x Material A

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/cce8e98d-67d5-4fe3-82d1-431ade27be8f/Untitled.png

Note: When you configure the material usages for a product and save it, the system will calculate the product inventory based on the current material inventory and update the product inventory in Shopify.

Product A inventory is modified to 100, Product B inventory is modified to 50

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/5f03c235-92d2-4df6-b0cd-277432c125b7/Untitled.png

To maintain this product inventory later, maintain it through the material inventory, do not change this product inventory in Shopify manually.

Next, the system will enter the automatic management of inventory

Automatic #1. If customers buy 10 x product A, the corresponding stock of material A will be reduced to 90, and as the stock of material A is reduced, all products that use material A will be calculated and the corresponding stock will be updated.

       Product A inventory:90 and Product B inventory:45

Note: when the order product quantity is changed or the order is canceled, material and product inventory will also be automatically modified