Checklist progress
0/137Learned
Salesforce Accredited B2B Commerce Developer Professional
Study Checklist
Checklist progress
0/137Learned
Improve the Storefront experience with enhancements to Lightning Web Components.
0/18
Which wire adapters can an LWC use to read B2B Commerce cart data on the storefront?
Learn this conceptHow does NavigationMixin function in a B2B storefront LWC?
Learn this conceptPrepare for the Exam
Study Community
Ask questions and get the latest info from other Salesforce Accredited B2B Commerce Developer Professional studiers. 593 members and growing.
When building Lightning Web Components for a storefront, you often need to construct URLs that work across different environments like sandboxes and production. The @salesforce/community/basePath import dynamically resolves the storefront's base path at runtime, allowing you to build environment-agnostic URLs without hardcoding domain-specific segments.