From e28e86a82cc71bc10fb6347254dca6c99c70df81 Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Thu, 7 Aug 2014 15:11:25 +1000 Subject: [PATCH] Remove link from cart to old product page --- app/views/spree/orders/_cart_item_description.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/spree/orders/_cart_item_description.html.haml b/app/views/spree/orders/_cart_item_description.html.haml index 9a516168bc..8c99781d5c 100644 --- a/app/views/spree/orders/_cart_item_description.html.haml +++ b/app/views/spree/orders/_cart_item_description.html.haml @@ -1,7 +1,7 @@ %td{'data-hook' => "cart_item_description"} - %h4= link_to variant.product.name, product_path(variant.product) + %h4= variant.product.name = variant.options_text - if @order.insufficient_stock_lines.include? line_item %span.out-of-stock = variant.in_stock? ? t(:insufficient_stock, :on_hand => variant.on_hand) : t(:out_of_stock) - %br/ \ No newline at end of file + %br/