adds badges based on price functionality