For bulk editing, you can follow the below steps.
Step 1: Go to Products and Services >> Click on Actions >> Select Bulk Editing option
Step 2: Select the product whose details you want to change >> Click on Edit button.
Step 3: Change the purchase price of the products >> Click on submit.