If that's the original model of remote that comes with the soundbar then the problem would seem to be in the soundbar.
If the soundbar is connected to the TV with HDMI-ARC and you turn CEC on in the TV menu you may be able to use the TV remote to operate the soundbar since the control signal doesn't come through the IR sensor on the soundbar but through the HDMI cable.