您在此处:
自定义产品属性的上下文定义自定义
使用 Build Your Own 促销模板,市场营销经理可以创建基于产品属性的促销规则,例如购买 512-GB 手机时享受 10% 的折扣。公司可以选择使用产品目录管理,也可以使用自己的配置来创建产品属性。如果公司决定继续自己的产品属性配置,管理员必须创建将产品与其属性相关联的自定义对象。将自定义对象的查找字段映射到促销上下文定义中的属性。
使用 Build Your Own 促销模板,市场营销经理可以创建基于产品属性的促销规则,例如购买 512-GB 手机时享受 10% 的折扣。公司可以选择使用产品目录管理,也可以使用自己的配置来创建产品属性。如果公司决定继续自己的产品属性配置,管理员必须创建将产品与其属性相关联的自定义对象。将自定义对象的查找字段映射到促销上下文定义中的属性。
| 适用于:Lightning Experience |
| 适用于:具有实时优惠管理的 Enterprise、Unlimited 和 Developer Edition |
创建自定义对象,使市场营销经理能够将产品与其属性相关联。自定义对象必须有两个与产品对象和属性定义对象相关的查找字段。
创建自定义对象后,贵公司的产品设计师会在自定义对象中创建记录,以将产品与其属性相关联。
要在促销中使用产品属性,属性定义的 API 名称必须是骆驼大小写。例如,将电话存储属性定义的 API 名称输入为 phoneStorage。
在为计划使用 Build Your Own 促销模板的促销创建的上下文定义中,将自定义对象的产品和属性定义查找字段映射到上下文定义属性。
如果您必须通过扩展标准 CartDetailGetEligiblePromotion 上下文定义来创建必须添加产品属性映射的上下文定义,请使用标准 MapCartLineValueLoyaltyField 映射来映射:
如果组织使用产品目录管理和公司自己的配置配置了产品属性,市场营销经理可以在创建促销规则资格条件时选择公司配置的产品属性。

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.