Sha256: 7cb05c49552b1f109f718fa610d8111290b7bfcab2ac462755ee4956d51ac729

Contents?: true

Size: 689 Bytes

Versions: 2

Compression:

Stored size: 689 Bytes

Contents

Deface::Override.new(:virtual_path => 'shared/_products',
                     :name => 'tweak_product_list_item',
                     :replace => "[data-hook='products_list_item']",
                     :text => %q{<li id="product_<%= product.id %>" data-hook="products_list_item">
                                   <%= link_to(product, :class => 'info') do %>
                                     <%= product.name %>
                                     <span class="price selling"><%= product_price(product) %></span>
                                   <% end %>
                                   <%= link_to small_image(product), product %>
                                 </li>})

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
octocorn_spree_theme-0.0.1 app/overrides/tweak_product_list_item.rb
octocorn_spree_theme-0.0.0 app/overrides/tweak_product_list_item.rb