Sha256: 024daffb96e0eaff56cd336e5b6f291abe05e9b8d28b6cc87bbe15b72666064f

Contents?: true

Size: 643 Bytes

Versions: 1

Compression:

Stored size: 643 Bytes

Contents

= render "refinery/shared/customer_head"

#cart
  .cart-title
    %h3
      = cart.store_name
      Cart
    - if cart.items.empty?
      %p
        %i Your cart is empty; click add-to-cart to add products.
  %table
    = render(:partial => "refinery/shared/cart_item", :collection => cart.items)
    %tr.total-line
      %td{:colspan => "2"} Total
      %td.total-cell= number_to_currency(cart.total_price)
    %tr
      %td
        = button_to( "checkout",   refinery.checkout_stores_stores_path(),   :class => "checkout-cart" )
      %td
        = button_to( "empty cart", refinery.empty_cart_stores_stores_path(), :class => "empty-cart" )

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
refinerycms-stores-0.1.0 app/views/refinery/shared/_cart.html.haml