Loading
Prepare for Email to Become the Default Login ExperienceRead More
Get Started with B2C Commerce
Use Custom Attributes in Product Feed Mappings

Use Custom Attributes in Product Feed Mappings

Map custom product attributes to product feed fields when the default B2C Commerce standard attributes don't meet your needs.

Before you map custom attributes, ensure that:

  • The custom attributes are defined in your product catalog.
  • The custom attributes are part of an attribute group. Otherwise, they don't appear in the dropdown.
  • The custom attributes have accurate values populated for all your products.

Use custom attributes to send specialized product data to the channel partner that isn't available in standard B2C Commerce attributes. For example:

  • Material or fabric composition for apparel
  • Technical specifications for electronics
  • Nutritional information for food products
  • Custom brand or manufacturer fields

You can identify custom attributes by the c_ prefix in their names (for example, c_material).

  1. Click App Launcher App Launcher, and then select Merchant Tools | Site | AI & Social Integrations, and then select your channel (OpenAI or Google).
  2. Click Catalog.
  3. In the field-mapping table, locate the feed field you want to map to a custom attribute, and click Override next to the field.
  4. In the Select SFCC Field dropdown, scroll to find your custom attribute or type the attribute ID to search.

    Custom attributes appear with their c_ prefix. For example, a custom material attribute appears as c_material.

  5. Select the custom attribute.

    To restore the default mapping, click Reset.

The custom attribute is now mapped to the feed field. When B2C Commerce generates the feed, it retrieves the value from your custom attribute for each product.

Example
Example
  • Map c_fabricComposition to material to include detailed fabric information like "60% Cotton, 40% Polyester".
  • For the OpenAI feed, set return_deadline_in_days to a constant value like 30 to specify your return window.
  • For the Google feed, set custom_label_0 to a constant value like Seasonal to segment products for reporting and bidding.
 
Loading
Salesforce Help | Article