<?php $__env->startSection('content'); ?>


    <div class="breadcrumbs">
        <div class="container">
            <div class="row">
                <div class="col-sm-12">
                    <ul>
                        <li><a href="<?php echo route('home'); ?>">Home</a></li>
                        
                        <li class="active">Shipping</li>
                    </ul><!-- end breadcrumb -->
                </div><!-- end col -->
            </div><!-- end row -->
        </div><!-- end container -->
    </div><!-- end breadcrumbs -->

    <div class="container checkout-wizard">
        <?php if(Auth::guard('user')->check()): ?>
            <?php echo $__env->make('_partials.modals.account.editShippingInfo', ['elementID' => 'shippingInfoModal', 'route' => 'u.checkout.step2.patch', 'fromCheckout' => true], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
        <?php else: ?>
            <?php echo $__env->make('_partials.modals.Checkout.editGuestInfo', ['elementID' => 'shippingInfoModal'], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
        <?php endif; ?>

        <div class="row bs-wizard" style="border-bottom:0;">
            <?php echo $__env->make('_partials.Checkout.Shipping.steps', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
        </div>
        <hr/>
        <div class="row" id="step-2">
            <div class="col-md-12">
                <h3>Shipping information</h3>

                <div class="col-md-6 m-b-10">
                    <div class="row shipping-info">
                        <div class="alert alert-info">
                            <h4>Ship Items to:</h4>
                        </div>
                        <?php echo $__env->make('_partials.Checkout.Shipping.user-info', ['data' => $is_logged_in ? $user : $guest], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
                        <button class="btn btn-primary" data-toggle="modal" data-target="#shippingInfoModal">
                            <i class="fa fa-edit"></i>&nbsp;Edit this information
                        </button>
                        <hr/>
                        <div class="alert alert-info">
                            <h4>Your Item(s):</h4>
                        </div>

                        <p><i class="fa fa-info-circle checkout-info"></i>&nbsp;You will get an opportunity to modify
                            your products, at the Order page</p>


                        <table class="table table-bordered">
                            <thead>
                            <tr>
                                <th class="bold">Product Name</th>
                                <th class="bold">Quantity</th>
                            </tr>
                            </thead>
                            <tbody>
                            <?php $__currentLoopData = $cart['products']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <tr>
                                    <td><?php echo e($product['name']); ?></td>
                                    <td><?php echo e($product['quantity']); ?></td>
                                </tr>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </tbody>

                        </table>


                        <hr/>
                        <div class="alert alert-info">
                            <h4>Shipping method:</h4>
                        </div>
                        <?php echo $__env->make('_partials.Checkout.Shipping.shipping-method', ['data' => $is_logged_in ? $user : $guest], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
                        <hr/>
                        <div class="alert alert-info">
                            <h4>Product delivery:</h4>
                        </div>
                        <?php echo $__env->make('_partials.Checkout.Shipping.delivery', ['data' => $is_logged_in ? $user : $guest], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
                        <hr/>
                        <?php echo $__env->make('_partials.Checkout.Shipping.buttons', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
                    </div>
                </div>
                <div class="col-md-4 col-md-offset-2 pull-right shipping-info">
                    <?php echo $__env->make('_partials.forms.orders.order-summary', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
                </div>
            </div>
        </div>
    </div>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('brands'); ?>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('footer'); ?>
    
<?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.english.pagemaster', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>