It seems, you didn't start anything :sigh:
Already I gave you answer for previous question.
Real time problem of goods price[
^]
No one is gonna write code for you. Come with your effort. If you're struck with logic, you could use the previous answer(need little bit customization). If you're struck with code, come with your code. First of all, discuss these things with your lead, he could help you for start.