Sha256: 6132b7d4a09c452ee20dbc1c0a431725d74373fbfcd7cbd81f803b49e7a13d1a

Contents?: true

Size: 351 Bytes

Versions: 2

Compression:

Stored size: 351 Bytes

Contents

<% if defined?(image) && image %>
  <%= image_tag image.attachment.url(:product), :itemprop => "image" %>
<% else %>
  <a data-luminous data-drift href="<%= @product.images.first.attachment.url(:product) if @product.images.present? %>" class="drift-link">
    <%= product_image(@product, :itemprop => "image", data: { image: '' }) %>
  </a>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_product_hover_zoom-1.0.3 app/views/spree/products/_image.html.erb
spree_product_hover_zoom-1.0.2 app/views/spree/products/_image.html.erb