You're not going to be able to accomplish this in If/ElseIf/Else statements because only one of them will trigger at a time. Since you're setting the variables inside the If/ElseIf/Else statements the variable price will only hold one value per instance.