You are here:
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).
-
Click App Launcher
, and then select , and then select your channel (OpenAI or
Google).
- Click Catalog.
- In the field-mapping table, locate the feed field you want to map to a custom attribute, and click Override next to the field.
-
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. -
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.
- 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
30to specify your return window. - For the Google feed, set custom_label_0 to a constant value like
Seasonalto segment products for reporting and bidding.
