HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /var/www/devs.lapieza.net/resources/views/frontend/
Upload File :
Current File : /var/www/devs.lapieza.net/resources/views/frontend/view_cart.blade.php
@extends('frontend.layouts.app')
@section('content')
    <!-- Steps -->
    @include('components.delivery.steps', [ 'step' => 1 ])
    <!-- Cart Details -->
    <section class="mb-4" id="cart-summary">
        @include('frontend.partials.cart_details', ['carts' => $carts])
    </section>
@endsection
@section('script')
    <script type="text/javascript">
        function removeFromCartView(e, key) {
            e.preventDefault();
            removeFromCart(key);
        }
        function updateQuantity(key, element) {
            $.post('{{ route('cart.updateQuantity') }}', {
                _token: AIZ.data.csrf,
                id: key,
                quantity: element.value
            }, function(data) {
                updateNavCart(data.nav_cart_view, data.cart_count);
                $('#cart-summary').html(data.cart_view);
            });
        }
    </script>
@endsection