Closed kristindiannefoss closed 8 years ago
In cart.rb
mapped values will be an array of all the cart items, you can call qnt, price, total price, you can use reduce on that
else mapped_items.reduce(total_price)
In cart.rb
mapped values will be an array of all the cart items, you can call qnt, price, total price, you can use reduce on that
else mapped_items.reduce(total_price)