My product configurations/options are such that It is not possible to use attributes ( It does not fulfill my all product variations ). So I have customized tpl_product_info to display all possible options along with buttons on same page (same product id in DB).
option qty price total button
A 30 $1 $30 <Add To Cart>
B 60 $2 $60 <Add To Cart>
C 90 $3 $90 <Add To Cart>
I need to know what part of code I need to change so that qty,total will be passed to shopping_cart page when corresponding <Add to Cart> is clicked.
I tried to display multiple buttons ( in tpl_product_info ) but <Add to Cart> always picks up latest assignment. How does each button click works individually?
For more clarity, here is my product variations. How can I use attributes here?
product : X
options 1 : A1, A2,A3....An
options 2 : B1, B2,B3....Bn
Prices should be as follows:
options 1 : A1
B1 price1
B2 price2
B3 price3
options 1 : A2
B1 price1
B2 price2
B3 price3
options 1 : A3
B1 price1
B2 price2
B3 price3
How can I set price for above combination.