From 0ea085a2754db27678141ac8e2813328c10559be Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bellet Date: Fri, 26 Mar 2021 09:49:28 +0100 Subject: [PATCH] Add unit prices for already bought product in cart page --- app/views/spree/orders/_bought.html.haml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/spree/orders/_bought.html.haml b/app/views/spree/orders/_bought.html.haml index 6c5837d5c1..0ddaf10644 100644 --- a/app/views/spree/orders/_bought.html.haml +++ b/app/views/spree/orders/_bought.html.haml @@ -22,6 +22,10 @@ %span.already-confirmed= t(:orders_bought_already_confirmed) %td.text-right.cart-item-price = line_item.single_display_amount_with_adjustments.to_html + - if feature? :unit_price, spree_current_user + %br + %span.unit-price + = line_item.unit_price_price_and_unit %td.text-center.cart-item-quantity = line_item.quantity %td.cart-item-total.text-right