Load a hot glue stick into a hot glue gun.
Plug the hot glue into a power outlet. Allow the glue to warm up.
Squeeze a dot of glue on the back of a covered fabric button. Immediately press a small hook and loop patch into the glue so that the patch is flush against the button. Allow the glue to dry.
Squeeze a small dot of glue on the back of the matching hook and loop patch and then press the patch immediately onto the ottoman. Allow the glue to dry before pressing the fabric covered button with its attached patch onto the matching patch on the ottoman.