This is the script problem I am getting after selecting variation https://ibb.co/BTk5GC9
And it is coming after activating the pricing and discount plugin.
This plugin comes in a bundle package with the XStore theme, so I didn’t upload it from any external means.