Sha256: 32e51e7808efa640bde7751fbe1ed0e375817265ec22cac4457edb80b72201fa

Contents?: true

Size: 1.97 KB

Versions: 1

Compression:

Stored size: 1.97 KB

Contents

%section.container
  %section.row
    .col-sm-12
      = render 'gemgento/checkout/checkout_header'

  %section.row
    = form_for @quote, url: checkout_confirm_path, html: { id: 'checkout_confirm_method' } do |form|
      .col-sm-3
        .form-group
          %legend Shipping Address
          = @quote.shipping_address.first_name
          /= @quote.shipping_address.first_name + " " + @shipping_address.last_name
          %br
          = @quote.customer_email
          %br
          = @quote.shipping_address.telephone
          %br
          = @quote.shipping_address.address1
          %br
          = @quote.shipping_address.address2
          %br
          = "#{@quote.shipping_address.region.name}, " if @quote.shipping_address.region
          = "#{@quote.shipping_address.city} #{@quote.shipping_address.postcode}"
          %br
          = "#{@quote.shipping_address.country.name}" if @quote.shipping_address.country


      .col-sm-3
        .form-group
          %legend Billing address
          = @quote.billing_address.first_name + " " + @quote.billing_address.last_name
          %br
          = @quote.customer_email
          %br
          = @quote.billing_address.telephone
          %br
          = @quote.billing_address.address1
          %br
          = @quote.billing_address.address2
          %br
          = "#{@quote.billing_address.region.name}, " if @quote.billing_address.region
          = "#{@quote.billing_address.city} #{@quote.billing_address.postcode}"
          %br
          = "#{@quote.billing_address.country.name}" if @quote.billing_address.country

      .col-sm-3
        .form-group
          %legend Shipping method
          = "#{@shipping_method[:method_title]}"
          = "$#{@shipping_method[:price]}"

        .form-group
          %legend Payment info
          - if @quote.payment
            = "#{@quote.payment.cc_type}"
          %br
          Credit Card **** **** **** #{@quote.payment.cc_last4}

        .form-group
          = submit_tag 'CONTINUE'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gemgento-2.8.0 app/views/gemgento/checkout/confirm/show.html.haml