SF DeFacto
The de facto ways to solve real Salesforce problems. Field notes from commerce implementations, LWR sites and the platform's less-travelled corners — the pragmatic solutions that end up becoming the standard ones.
SF DeFacto #3 — Buyer Group Extensibility for Commerce
How to implement Buyer Group Extensibility in Salesforce Commerce (Summer '25 Release) to dynamically assign shoppers to buyer groups based on custom Apex logic.
SF DeFacto #2 — Support RTL Layouts in LWR Sites
Implement a dynamic layout supporting RTL languages (like Arabic) in LWR Sites with Experience Cloud, using a head-markup script and targeted CSS adjustments.
SF DeFacto #1 — Salesforce Headless Commerce Checkout with Saved Payment Method
Implement headless B2B/D2C Commerce checkout (cart-to-order) using a customer's saved payment method, with Salesforce Payments and the Commerce Payments APIs.