First of all, after each if statement, since there's no bracket..it only executes the line right after it.

Second...this problem could likely be on your pricing perhaps. Nothing in the code...