@extends('layouts._front.pages') @section('content')

Checkout

{{ Form::open(array('url' => '/checkout', 'method' => 'post', 'class' => 'row-fluid bill-info','id'=>'page_form')); }}

Billing Address

Please fill out your Billing information below.
{{ Form::label('firstname', '* First Name',array('style'=>'width:120px')); }} {{ Form::text('firstname',isset($billing->firstname) ? $billing->firstname : "",array('id'=>'firstname','required')) }} {{ Form::label('lastname', '* Last Name',array('style'=>'width:120px')); }} {{ Form::text('lastname',isset($billing->lastname) ? $billing->lastname : "",array('id'=>'lastname','required')) }} {{ Form::label('email', '* Email Address',array('style'=>'width:120px')); }} {{ Form::email('email',isset($billing->email) ? $billing->email : "",array('id'=>'email','required')) }}
{{ Form::label('phone', '* Phone Number',array('style'=>'width:120px')); }} {{ Form::text('phone',isset($billing->phone) ? $billing->phone : "",array('id'=>'phone','required')) }} {{ Form::label('address', '* Address',array('style'=>'width:120px')); }} {{ Form::text('address',isset($billing->address) ? $billing->address : "",array('id'=>'address','required')) }} {{ Form::label('city', '* City',array('style'=>'width:120px')); }} {{ Form::text('city',isset($billing->city) ? $billing->city : "",array('id'=>'city','required')) }}
{{ Form::label('country', '* Country'); }} {{ Form::select('country',array('0' => 'Select one')+CountryManagement::displayCountry(),isset($billing->country) ? $billing->country : "US",array('id'=>'country','data-placeholder'=>'Select Country')) }} {{ Form::label('state', '* State'); }} {{ Form::select('state',array('0' => 'Select one')+StateManagement::displayState(),isset($billing->state) ? $billing->state : "0",array('onchange' => 'checkTax(this.value)', 'id'=>'state','data-placeholder'=>'Select State')) }} {{ Form::label('zip', '* Zip Code',array('style'=>'width:120px')); }} {{ Form::text('zip',isset($billing->zip) ? $billing->zip : "",array('id'=>'zip','required')) }}

Shipping Address

Please fill out your Shipping information below.
{{ Form::label('shipping_firstname', '* First Name',array('style'=>'width:120px')); }} {{ Form::text('shipping_firstname',isset($shipping->firstname) ? $shipping->firstname : "",array('id'=>'shipping_firstname','required')) }} {{ Form::label('shipping_lastname', '* Last Name',array('style'=>'width:120px')); }} {{ Form::text('shipping_lastname',isset($shipping->lastname) ? $shipping->lastname : "",array('id'=>'shipping_lastname')) }} {{ Form::label('shipping_email', '* Email Address',array('style'=>'width:120px')); }} {{ Form::text('shipping_email',isset($shipping->email) ? $shipping->email : "",array('id'=>'shipping_email')) }}
{{ Form::label('shipping_phone', '* Phone Number',array('style'=>'width:120px')); }} {{ Form::text('shipping_phone',isset($shipping->phone) ? $shipping->phone : "",array('id'=>'shipping_phone','required')) }} {{ Form::label('shipping_address', '* Address',array('style'=>'width:120px')); }} {{ Form::text('shipping_address',isset($shipping->address) ? $shipping->address : "",array('id'=>'shipping_address','required')) }} {{ Form::label('shipping_city', '* City',array('style'=>'width:120px')); }} {{ Form::text('shipping_city',isset($shipping->city) ? $shipping->city : "",array('id'=>'shipping_city','required')) }}
{{ Form::label('shipping_country', '* Country'); }} {{ Form::select('shipping_country',array('0' => 'Select one')+CountryManagement::displayCountry(),isset($shipping->country) ? $shipping->country : 'US',array('id'=>'shipping_country','data-placeholder'=>'Select Country')) }} {{ Form::label('shipping_state', '* State'); }} {{ Form::select('shipping_state',array('0' => 'Select one')+StateManagement::displayState(),isset($shipping->state) ? $shipping->state : "0",array('id'=>'shipping_state','data-placeholder'=>'Select State')) }} {{ Form::label('shipping_zip', '* Zip Code',array('style'=>'width:120px')); }} {{ Form::text('shipping_zip',isset($shipping->zip) ? $shipping->zip : "",array('id'=>'shipping_zip','required')) }}

Shipping Method (Shipping Weight: {{ $cart[0]->weight }} lbs.)

Please select your shipping method.
{{ HTML::image('_front/assets/images/ajax-loader.gif') }}

Payment Method

Please fill out your select your payment method.
@include('home.payment')

Order Total

{{ Form::hidden('freeshipping',$coupon_code->freeshipping) }} @if($coupon_code->freeshipping == 'yes') {{ Form::hidden('shipping_rate_value','0') }} @endif @if($cart[0]->freeshipping == "no" || !Session::has('couponCode')) @endif @if(Session::has('couponCode')) @endif {{ Form::hidden('coupon_code',Session::get('couponCode')) }} {{ Form::hidden('coupon_price',$cart[0]->coupon_amount) }} {{ Form::hidden('total',number_format($cart[0]->grandtotal,2),array('id'=>'total')) }} {{ Form::hidden('tax',$tax,array('id'=>'taxvalue')) }}
Sub Total ${{ number_format($cart[0]->subtotal,2) }}
Tax $ {{ number_format($coupon_code->tax,2) }}
Shipping ( )
Discount ( {{ Session::get('couponCode') }} ) $ {{ number_format($cart[0]->coupon_amount,2) }}
Grand Total $ {{ number_format($cart[0]->grandtotal,2) }}
{{ Form::close() }}
@foreach($cart as $carts) @endforeach
Item Name Price QTY Item Total
@if($carts->image != "") {{ HTML::image('upload/products/'.$carts->product_id.'/_75_'.$carts->image) }} @else {{ HTML::image('_front/assets/images/no-image-small.jpg') }} @endif
{{ $carts->product_name }}
{{ number_format($carts->product_price,2) }} {{ $carts->quantity }} {{ number_format($carts->total,2) }}
@stop @section('headercodes') {{ HTML::script('_front/assets/js/jquery.mCustomScrollbar.concat.min.js') }} @stop