Sha256: 0e6ab657db9ad896df016611711ae72015a7cfd5dca45461318186bd0d6d809c

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

- cache "#{product.cache_key}/summary", expires_in: 75.minutes do
  .product-summary__media
    .product-summary__media-container
      = link_to product_path(product, product.browse_link_options), class: 'product-summary__media-link', style: intrinsic_ratio_product_image_styles(product.primary_image), data: { analytics_product_impression: product_impression_data(product), analytics: product_click_analytics_data(product).to_json } do
        = image_tag(product_image_url(product.primary_image, :large_thumb), alt: product.name, class: 'product-summary__media-image')

  .product-summary__info
    %p.product-summary__name= link_to product.name, product_path(product, product.browse_link_options), data: { analytics: product_click_analytics_data(product).to_json }

    .product-prices.product-prices--summary
      = render 'workarea/storefront/products/pricing', product: product

    = append_partials('storefront.product_summary', product: product)

  .product-summary__overlay
    = render 'workarea/storefront/products/quickview_button_placeholder', product: product

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-one_theme-1.3.1 app/views/workarea/storefront/products/_summary.html.haml
workarea-one_theme-1.3.0 app/views/workarea/storefront/products/_summary.html.haml