Buying a lower-spec Mahindra XUV 3XO diesel and adding the necessary accessories is perfectly fine, as long as these accessories do not require any electronic modifications.
However, if you can stretch your budget, it’s better to go for the variant that comes with the most factory-fitted accessories that suit your needs. This approach reduces the chances of errors or faults in the future and makes your car more reliable in the long run.

