学生だと、値引きがあります
がくせいだと、ねびきがあります
If you are a student, there is a discount.
Instead of だと, it should be broken down into だ(copula) and と(particle).
と here is used as a particle that indicates an uncontrollable event or state will follow after what the particle marks. Sometimes parsed as "if" but not really accurate since it's not really a conditional. Also can be parsed as "when".
Japanese
Optimized studying based on the forgetting curve vastly improves memorization. - What is reminDO?
Memorize