Getting rid of hard wire for dishwasher
Purchase an appliance cord, at least 6' long. Route the power cable from the house for the dishwasher into the the under sink space.  Install a electrical box and conventional receptacle on this power line.  Fix it to the back wall of the sink base.  Route the cord from the dish washer into the sink base together with the water lines. Plug this cord into the new receptacle. P.