Remove link from cart to old product page

This commit is contained in:
Rohan Mitchell
2014-08-07 15:11:25 +10:00
parent f8c71ced45
commit e28e86a82c

View File

@@ -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/
%br/