Timeline for How do we get the total price to change dynamically with quantity?
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 14, 2020 at 4:35 | comment | added | Msquare | for other product you need to pass product price like other way which multiple with qty. becuse if config product then you need to get current selected option product price and for other try to get price and set in this $prd_price = $_product->getPrice(); | |
Sep 12, 2020 at 12:36 | comment | added | Msquare | @MohitPatel code is running perfectly. please check after fulsh caches. | |
Sep 12, 2020 at 11:44 | vote | accept | Mohit Patel | ||
Sep 12, 2020 at 11:19 | comment | added | Mohit Patel | Hello @Msquare i have your update code all is working fine but one issue found.i have increase or de-crease button click currency symbol is increase. :- prnt.sc/ug19g3 | |
Sep 12, 2020 at 9:07 | comment | added | Msquare | @MohitPatel Please check and update me and you also update me on this answer magento.stackexchange.com/a/321464/82670 | |
Sep 12, 2020 at 8:05 | comment | added | Msquare | there is one line issue this line var input_qty = <?php echo $prd_price; ?> * (currentVal - 1); don't worry i update my answer please check it and update me. | |
Sep 12, 2020 at 8:04 | history | edited | Msquare | CC BY-SA 4.0 |
Update answer
|
Sep 12, 2020 at 7:10 | comment | added | Mohit Patel | i have check your code but is it not working properly. check this image :- prnt.sc/ufylcj @Msquare | |
Sep 12, 2020 at 7:02 | comment | added | Mohit Patel | I will check and update you. thank you | |
Sep 12, 2020 at 6:54 | history | answered | Msquare | CC BY-SA 4.0 |