Cert++
Close

Aura versus LWR store integration architecture

Key Takeaway

Aura stores run integrations through the managed B2B checkout flow and the Async Cart API. LWR stores run them through predefined flows and Connect REST API services that shopper actions trigger.

A B2B store can be built on the Aura template or on the LWR (Lightning Web Runtime) template. Each template connects to outside services for things like pricing, inventory, shipping, tax and payment in a different way. So a developer needs to know which template a store uses before working on its integrations.

Aura and LWR store templates

When you create a store, you can pick a B2B or B2C template built on LWR. A B2B template built on Aura is offered only if the org was enabled for Commerce before Spring '23.

LWR stores use the Lightning Web Components (LWC) programming model, while Aura storefronts use the Aura Components programming model.

Salesforce recommends the B2B LWR template for new stores. Salesforce also recommends considering a move of existing Aura B2B stores to LWR.

Moving an Aura store to LWR means switching to the B2B Commerce (LWR) template and refactoring or replacing certain UI components. You don't rebuild the store from scratch.

Salesforce Accredited B2B Commerce Developer Professional Study Guide

Checklist progress

0/124Learned

Manage data intelligently with regard to relationships and integrations as needed to support getting a B2B Storefront established and running

0/29

Product bundles versus product sets

Learn this concept

Tiered and volume pricing data model

Learn this concept

WebCart and its related cart objects

Learn this concept

Prepare for the Exam

Play Today's Certle

Study Community

Ask questions and get the latest info from other Salesforce Accredited B2B Commerce Developer Professional studiers. 757 members and growing.