By default, the application displays a list of attributes as recommended fixes based on sync validation in the Data Validations dialog in PDP. However, you can configure to disable the sync validation to display only the Required Fix list.
Sample JSON configuration
Sample JSON to disable the sync validation in PDP.
{
"metaInfo": {
"dataIndex": "config",
"collectionName": "configObjects",
"responseObjectName": "response"
},
"configObjects": [
{
"id": "rock-attribute-manage-v2_pstdsku_commerceUXConfig",
"name": "rock-attribute-manage-v2_pstdsku",
"version": "1.0",
"type": "commerceUXConfig",
"properties": {
"createdByService": "system",
"createdBy": "system"
},
"data": {
"contexts": [
{
"context": {
"component": "rock-attribute-manage-v2",
"entityType": "_DEFAULT",
"role": "_DEFAULT"
},
"jsonData": {
"config": {
"properties": {
"doSyncValidation": false
}
}
}
}
]
}
}
]
}To disable sync validation in PDP:
Download the attached JSON file.
Open the rock-attribute-manage-v2_pstdsku_commerceUXConfig.json file and specify the following:
Parameters | Details | |
|---|---|---|
context | component | Specify the name of the component to be configured. |
entityType | Specify the entity type for which the component is to be configured, else _DEFAULT. | |
role | Specify the role for which the component is to be configured, else _DEFAULT. Note: By default, _DEFAULT is specified for role, which implies the component is configured for all roles and users. | |
config | Specify the following. | |
doSyncValidation | Enable or disable the sync validation in PDP. By default, the value is set to true.
| |
Upload the JSON configuration file in the Classic UI. For more information, see How to upload UI Configurations.
Go to PDP and update the product details in the Attributes tab.
Click Save Changes.
You can view only the Required Fix list based on the configuration.
