How to fix an Error on “Product Detail Card”【Salesforce B2B Commerce Cloud】

By | August 5, 2021

Error Description

This page has an error. You might just need to refresh it. Error in $A.getCallback() [Cannot read property ‘name’ of undefined] Failing descriptor: {markup://b2b_buyer_builder:productDetailDataContentMapping}


① Open the Product Detail Card in the Product Detail Page on the Experience Builder.

② Click the “Add Field” button to add an field to the compoent.

③ An error occurs and an unintended field is added to the component.

How to avoid an error

① Clear the browser cache.

② Delete the original component

③ Drag and drop a new component, and reconfigure it.