Does my shelf have to be fixed in the floor or in the wall?

A fastening of the pallet rack is required by law. It is fixed in the floor by anchoring it to the floor with bolt anchors or, in the case of sensitive floors, by wall fixing with a spacer.

The bolt anchors required for assembly are included in the delivery volume.