Data provider expressions by store page
Key Takeaway
The data providers on a page decide which expressions work there, so an expression that starts with Cart displays nothing on a page without the cart data provider.
Expression Language pulls live data into an LWR component in Experience Builder through a short syntax, {!expression}. A B2B store can then show customized, dynamic content instead of static text. Store pages expose their own data, so the expressions you can use change from page to page.
What an expression is
An expression is any set of literal values, variables, subexpressions or operators that resolves to a single value. You can combine expressions or add values, but method calls aren't allowed. When the page loads on the live site, the real value replaces the expression.
You want the Product page to show each product's name. Instead of typing a name, you put {!Product.Details.fields.Name} in a Text Block. A buyer who opens a product on the live site sees that product's name in that spot.