Vote count:
0
Please, help me in my problem.
The goal is to show several prices on product page which depend on quantity. So I created several options which display the quantity with prices. Using jQuery I change frontend price on product page.
So now the question is. By default when I add an item to basket the system adds it with its price in admin panel. But how can I send that price which was chosen by user in radiobutton (an option) ?
Trying get the decisin I found out that "button-cart" element calls add() function in checkout/cart.php but where can I catch price in this current order?
Please, help!
asked 1 min ago
Aucun commentaire:
Enregistrer un commentaire