If a physical store is to map to a new inventory location, create the new location in
the Inventory. While you create and manage physical stores in the
Commerce+ database, you create and manage inventory locations in the PBC.
About this task
After creating a new physical store in your newly published store, map the store to a
fulfillment center. In the following example, Cardiff Center physical store is
assumed to exist, and will be mapped the Cardiff Center fulfillment Center.
Procedure
-
Create the Cardiff Center fulfillment center.
-
Open
Commerce Lab Tools, and from the left navigation
menu, select .
-
From the Inventory Dashboard page, click
View all Fulfillment Centers.
-
On the Inventory Location page, click
Create Inventory Location to create a new
FC.
-
Enter the inventory location details and take a note of the IL Code.
For example, CARD01.
-
Review and activate the new fulfillment center.
-
Create a .CSV file to upload the inventory data to
the newly created fulfillment center. For definitions and content
requirements of the columns, see Inventory levels data file (inventory.csv).
INVENTORYLOCATION_ID,PARTNUMBER,STORE,AVAILABLE_QTY,UNAVAILABLE_QTY,RESERVED_QTY
For
example:
CARD01,LR-FNTR-0001-0001,R003,91,10,100,25
-
Verify that Inventory data is visible in the Inventory listing page for
given fulfillment center and part number.
-
Create the physical store in the commerce database.
-
Update store name. For example, R003 in the
/opt/CommerceUtilities/samples/DataLoad/StoreLocator/wc-dataload-env.xml
file.
-
Dataload psychical stores related tables. ./dataload.sh
../samples/DataLoad/StoreLocator/wc-dataload-store-locator.xml
-
Map the Cardiff Center physical store to the Cardiff Center fulfillment
Center.
-
Update the store name as R003 in the
/opt/CommerceUtilities/samples/DataLoad/FulfillmentCenter/wc-dataload-env.xml
file.
-
Update the
/opt/CommerceUtilities/samples/DataLoad/FulfillmentCenter/ffmcenter.csv
file with the following line of code:
ffmcenterName,extIdentifier,displayName,DefaultShipOffset,InventoryOpFlags,MaxNumPick,PickDelayInMin,DropShip,Delete
Cardiff Center,CARD01,Cardiff Center,86400,14,25,5,N
-
Update
../samples/DataLoad/FulfillmentCenter/wc-dataload.xml
file with
./dataload.sh.
-
Update
../samples/DataLoad/FulfillmentCenter/wc-dataload-fulfillment-center.xml
file with
./dataload.sh.