
How i calculate the value when i using a option box with 2 option..first option i used for product name and for the second i used for the quantity..which function should i used to calculate this value??...

How i calculate the value when i using a option box with 2 option..first option i used for product name include the price, and for the second option i used for the quantity..which function should i used to calculate this value??...