When editing the Category configuration of a Product Custom Field - for example, switching the Category from "All" to only "Selected" Categories (as below) will delete the Custom Field data from the Categories that are no longer selected.
You will receive the following warning modal "Product Data Affected" as a precaution due to the risk of data loss. We recommend following the steps in the modal, before clicking confirm.
Before confirming this change, follow the steps: