Salesforce-B2C-Commerce-Cloud-Developer Practice Test

Salesforce Spring 25 Release
202 Questions

Given the requirements:
To show the washing Instructions for a clothing product on a dedicated section the detail page
Washing instructions come from the product Informationmanager (PIM)
To have this attribute available to localize in the Storefront
Which action must these requirements?

A. Create a custom attribute on the product system object and set it as localizable.

B. Add a resource file for every locale for which the attribute needs to be translated.

C. set the product system object type as localizable.

A.   Create a custom attribute on the product system object and set it as localizable.

Explanation:

To meet these requirements:
Display washing instructions for clothing products on the product detail page
Source the data from the PIM (Product Information Manager)
Ensure the attribute is localizable (translatable by locale)
You need to use a custom attribute on the Product system object that is marked as localizable.

πŸ”Ή Step-by-step:

Go to:
Business Manager β†’ Administration β†’ System Object Types β†’ Product

Create a new custom attribute:
e.g., washingInstructions
Type: String or HTML (if formatting needed)
Set "Localizable" = true
Set "Visible on Storefront" = true (optional)

Import localized values from PIM, or manually set per locale.
In your product detail page (product.isml), display the attribute using:
${pdict.Product.custom.washingInstructions}

❌ Why the other options are incorrect:
B. Add a resource file for every locale
❌ Resource files are for UI strings, not product-specific data like washing instructions

C. Set the product system object type as localizable
❌ There’s no setting to make the entire object "localizable" β€” only individual attributes can be marked localizable

Salesforce-B2C-Commerce-Cloud-Developer Practice-Test - Home Previous
Page 17 out of 202 Pages