app/views/workarea/storefront/carts/show.html.haml in workarea-nvy_theme-1.1.4 vs app/views/workarea/storefront/carts/show.html.haml in workarea-nvy_theme-1.2.0
- old
+ new
@@ -166,10 +166,10 @@
%h2.recommendations__heading= t('workarea.storefront.recommendations.heading')
.recommendations__products
.grid
- @cart.recommendations.each do |product|
.grid__cell.grid__cell--50.grid__cell--25-at-medium
- .product-summary.product-summary--small{ itemscope: true, itemtype: 'http://schema.org/Product' }
+ .product-summary.product-summary--small
= render 'workarea/storefront/products/summary', product: product
- if @cart.quantity.zero?
%div{ data: { recommendations_placeholder: recommendations_path } }