PromotionScope - Liquid Object Reference
On this page
Description
The PromotionScope object contains information about scoping behavior applied to Promotions. Promotions can be scoped to specific products, product categories, or other criteria.
:::note
This object supports custom data via the data attribute.
:::
Backed by
This drop renders the s_c__Promotion_Scope__c Salesforce object. A theme writes it as promotion_scope.
Fields you add yourself are not listed above. Expose one with a Custom Data Mapping record, then read it from promotion_scope.data. See custom data fields in Liquid.
Attributes
| Attribute | Type | Description |
|---|---|---|
account |
Account | Returns the Account object associated with this PromotionScope |
brand |
Brand | Returns the Brand object associated with this PromotionScope |
category |
ProductCategory | Returns the ProductCategory object associated with this PromotionScope |
contact |
Contact | Returns the Contact object associated with this PromotionScope |
id |
String | Returns the unique id for this PromotionScope |
membership |
Membership | Returns the Membership object associated with this PromotionScope |
pricebook |
Pricebook | Returns the Pricebook object associated with this PromotionScope |
product |
Product | Returns the Product object associated with this PromotionScope |
promotion |
Promotion | Returns the Promotion that this PromotionScope belongs to |
Available on
- Promotion - Liquid Object Reference —
scopes
Was this article helpful?
Thanks for your feedback! It helps us improve our docs.