Sha256: 2b9fe2fda1c7f5a997f6dda17c89fe324ff7493a56b00b81e1a717f2f93e8911

Contents?: true

Size: 579 Bytes

Versions: 1

Compression:

Stored size: 579 Bytes

Contents

- cache(product) do
  %col-sm-4
    = link_to product_path(product) do
      %figure
        %figcaption
          = link_to product.name, "/products/#{product.url_key}"
            %h2= product.name


        -# - asset = Gemgento::Asset.find_by_code(product, 'image')
        -# - unless asset.nil?
        -#   = image_tag asset.image.url(:default_index), data: { size: asset.asset_file.file.image_size }
        -# %figcaption
        -#   %h2= product.name
        -#   = link_to product.name, "/products/#{product.url_key}"
        -#   = number_to_currency(product.price)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gemgento-2.8.0 app/views/gemgento/categories/_product_tile.html.haml