
Hey everyone,
I'm working on a B2B Commerce (Aura) store and I have the standard price displaying correctly on the product detail page for authenticated users via Buyer Group + custom Pricebook. That part is working fine.
However, I need to understand how to interact with or override that price in some scenarios:
Dynamic pricing based on selection — I'm building a license tier selector (custom LWC) where the customer picks a user range (e.g. 1–3 users, 4–6 users) and the displayed price should update accordingly. Each tier is a separate Product2 with its own PricebookEntry. Is there a standard Commerce API or event I can use to reflect the selected variant's price on the PDP, or do I need to render it entirely from my LWC?
Replacing the native ADD TO CART behavior — When the customer selects a tier and clicks my custom button, I want to add the correct variant product to the cart (not the parent product). What is the recommended way to trigger cart addition from a custom LWC in B2B Commerce Aura? I've been using a CustomEvent with addtocart bubbling up, but I'm not sure if there's a more supported approach.
Hiding the native price/ADD TO CART for specific products — For products that use the license selector, I'd like to hide the native price and ADD TO CART button and replace them with my custom component. Is there a clean way to do this via CSS or Experience Builder configuration without breaking other products?
Any guidance or pointers to documentation would be greatly appreciated. Thanks!