Get total values from checkbox, add them, and display the result in reactjs

I have data in JSON format and it has a price. I mapped it in the table with a checkbox per row.

this is my data

{
    "CartID": "61a9d0251202a1a40825924e",
    "ShopCartList": [
        {
            "ShopID": "610a29e1d51ba524b7f949d0",
            "productCartList": [
                {
                    "ProductID": "610a40a7d51ba524b7f949f4",
                    "VariationSKU": "062104338N",
                    "Price": 478.44,
                    "Count": 1,
                    "Attribute": {
                        "Weight": "1.64",
                        "Size": "15.00"
                    },
                    "CreatedDate": "2021-12-06T07:15:59.895Z",
                    "CreatedBy": "61a9d0251202a1a40825924e",
                    "LastUpdatedDate": "2021-12-06T07:15:59.895Z",
                    "LastUpdatedBy": "61a9d0251202a1a40825924e"
                }
            ]
        }
    ]
}

I want to get the sum of the price of the checked box I selected same as Shoppee. I am using react js. How can I do this? Plz teach and help me on this thank you.