From 881313edf9685e4f7dca9f31aa1ee6bb7553a099 Mon Sep 17 00:00:00 2001 From: summerscope Date: Fri, 6 Mar 2015 16:05:42 +1100 Subject: [PATCH] Changing the logic on Shipping accordion on checkout to try to show shipping price against option. Not working. --- app/views/checkout/_shipping.html.haml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/checkout/_shipping.html.haml b/app/views/checkout/_shipping.html.haml index ffb1e43de4..d06da7931e 100644 --- a/app/views/checkout/_shipping.html.haml +++ b/app/views/checkout/_shipping.html.haml @@ -21,6 +21,10 @@ "ng-value" => "method.id", "ng-model" => "order.shipping_method_id"} {{ method.name }} + // TODO: Laura - this is not working correctly, need to show shipping price regardless of if selected!? + %em.light{"ng-show" => "!Checkout.shippingPrice()"} (Free) + %em.light{"ng-show" => "order.shipping_method.andand.require_ship_address"} + {{ Checkout.shippingPrice() | localizeCurrency }} %small.error.medium.input-text{"ng-show" => "!fieldValid('order.shipping_method_id')"} = "{{ fieldErrors('order.shipping_method_id') }}"