A method of forming a product by shaping and hardening a sheet-steel blank formed from separate sheets welded together, heating the blank to the austenitising range, hot stamping the blank in a cooled tool pair, hardening the product while it remains in the tool pair, and cooling the weld between two adjacent sheets at a reduced cooling rate as compared to the cooling rate of areas on either side of the weld.