I’m trying to read the value of the total dollar amount that is currently in your cart so I can log it in a spreadsheet and change a picture on the screen. How would I / Is it possible to access that variable? I know that in HTML the id = “total-sum” , I just need to get that value into JavaScript
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Way to get total value of cart | 2 | 688 | July 11, 2018 | |
| Display formatted subtotal price | 2 | 435 | May 13, 2020 | |
| getCurrentCart() returns undefined | 0 | 74 | March 25, 2022 | |
| Total Price of Shopping Cart | 4 | 927 | October 9, 2020 | |
| How to retrieve information from shopping cart? | 0 | 148 | July 17, 2019 |