Deployment order of store metadata, Experience bundle and object data
Key Takeaway
Deploy a B2B Commerce store in three layers, in this order: store metadata, then Experience Bundle metadata, then object data. Test each layer in the target org before you deploy the next one.
Moving a B2B Commerce store from a source org to a target org means moving three layers: store metadata, Experience Bundle metadata, and object data. You deploy them in that order because each layer relies on the one before it. Going one layer at a time also lets you test each layer before you add the next.
The three layers of a store
A B2B Commerce store is made of three layers, and each layer has a different role.
- Store metadata defines the store's functionality, structure, and behavior.
- Experience Bundle metadata defines the store's look and feel and its navigation. Its components can include:
- Visualforce pages
- Lightning components
- Apex classes
- static resources
- Object data is the records the store uses, such as product catalogs, customer information, order history, entitlements, and pricing.