Sha256: da9f08c49f21acba3a0e460e087840f569af4af98f8716bf6ccea2ce688fc5d4

Contents?: true

Size: 1.35 KB

Versions: 1

Compression:

Stored size: 1.35 KB

Contents

- content_for :body_content_title do
  = @product.name
- content_for :body_content_left do
  %section#product
    .product_show
      .product_photo
        - if @product.main_pic_id
          = image_fu @product.main_pic, Refinery::Images.user_image_sizes[:large], :class => "product-pic", :alt =>  @product.name
        - else
          \ 
      .product_text
        %h1
          = @product.name
        %p
          = raw @product.description
    .product_spec
      .product_code
        %p
          code: #{@product.code}
          %br/
          - if @product.digidownload.nil?
            %br/
            size:
            \#{number_with_precision(@product.size_width, :precision => 1)} x
            \#{number_with_precision(@product.size_height, :precision => 1)} x
            \#{number_with_precision(@product.size_depth, :precision => 1)}
            weight:
            \#{number_with_precision(@product.weight, :precision => 1)} lbs
          - else
            %i digital download
      .product_pricebuy
        %h2
          = number_to_currency(@product.price)
        .product-action
          = button_to( "add to cart", refinery.add_to_cart_stores_stores_path(:id => @product), :class => "add-to-cart" )
- content_for :body_content_right do
  %aside
    = render( :partial => "refinery/shared/cart", :object => @cart )
= render '/refinery/content_page'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
refinerycms-stores-0.1.0 app/views/refinery/products/products/show.html.haml