Whether it is cheap vitamin D or not, the dollar stores do sell a variety, that’s why I happen to have some on hand, vitamin C as well.
Vitamin D3 is the standard. If that’s what you have you are good.
Vitamin D2 is very similar, but may not effect as many functions in the body. Vitamin D3 can convert to D2.