issues
search
Leading-Lady-Coders-LLC
/
2310-CapstoneProject
0
stars
2
forks
source link
as a user I should see the total amount in my cart as well as my orders
#4
Closed
BethQ321
closed
8 months ago
BethQ321
commented
9 months ago
display total in cart- complete
display total in orders- Complete
kalasubramani
commented
9 months ago
there is a function in /index.js - displayPrice() that formats the number to a decimal - This can be used here to display total price
Green143
commented
8 months ago
passed in price: product.price to pull price info from products to be calculated in the total order price*/
added the total order price to be displayed for each order with the calculateLineItemTotal function
added it under the showSearchResults and productData to display the total order price.
Green143
commented
8 months ago
add in the grand total for each order after the Order placed on