PATH:
home
/
lab2454c
/
crypto.keyreum.com
/
platform
/
themes
/
wowy
/
views
/
ecommerce
<section class="mt-60 mb-60"> <div class="container"> <div class="row"> <div class="col-12 section--shopping-cart"> <form class="form--shopping-cart" method="post" action="{{ route('public.cart.update') }}"> @csrf @if (count($products) > 0) <div class="table-responsive"> <table class="table shopping-summery text-center clean table--cart"> <thead> <tr class="main-heading"> <th scope="col">{{ __('Image') }}</th> <th scope="col">{{ __('Name') }}</th> <th scope="col">{{ __('Price') }}</th> <th scope="col">{{ __('Quantity') }}</th> <th scope="col">{{ __('Subtotal') }}</th> <th scope="col">{{ __('Remove') }}</th> </tr> </thead> <tbody> @foreach(Cart::instance('cart')->content() as $key => $cartItem) @php $product = $products->find($cartItem->id); @endphp @if (!empty($product)) <tr> <td class="image product-thumbnail"> <input type="hidden" name="items[{{ $key }}][rowId]" value="{{ $cartItem->rowId }}"> <a href="{{ $product->original_product->url }}"> <img src="{{ $cartItem->options['image'] }}" alt="{{ $product->name }}" /> </a> </td> <td class="product-des product-name"> <p class="product-name"><a href="{{ $product->original_product->url }}">{{ $product->name }}</a></p> <p class="mb-0"><small>{{ $cartItem->options['attributes'] ?? '' }}</small></p> @if (!empty($cartItem->options['extras']) && is_array($cartItem->options['extras'])) @foreach($cartItem->options['extras'] as $option) @if (!empty($option['key']) && !empty($option['value'])) <p class="mb-0"><small>{{ $option['key'] }}: <strong> {{ $option['value'] }}</strong></small></p> @endif @endforeach @endif </td> <td class="price" data-title="{{ __('Price') }}"> <span>{{ format_price($cartItem->price) }}</span> @if ($product->front_sale_price != $product->price) <small><del>{{ format_price($product->price) }}</del></small> @endif </td> <td class="text-center" data-title="{{ __('Quantity') }}"> <div class="detail-qty border radius m-auto"> <input type="hidden" name="items[{{ $key }}][values][qty]" value="{{ $cartItem->qty }}"> <a href="#" class="qty-down"><i class="fa fa-caret-down" aria-hidden="true"></i></a> <span class="qty-val">{{ $cartItem->qty }}</span> <a href="#" class="qty-up"><i class="fa fa-caret-up" aria-hidden="true"></i></a> </div> </td> <td class="text-right" data-title="{{ __('Subtotal') }}"> <span>{{ format_price($cartItem->price * $cartItem->qty) }}</span> </td> <td class="action" data-title="{{ __('Remove') }}"> <a href="#" class="text-muted remove-cart-button" data-url="{{ route('public.cart.remove', $cartItem->rowId) }}"><i class="fa fa-trash-alt"></i></a> </td> </tr> @endif @endforeach </tbody> </table> </div> <div class="cart-action text-end"> <a class="btn btn-rounded" href="{{ route('public.products') }}"><i class="far fa-cart-plus mr-5"></i>{{ __('Continue Shopping') }}</a> </div> @if (Cart::instance('cart')->count() > 0) <div class="divider center_icon mt-50 mb-50"><i class="fa fa-gem"></i></div> <div class="row mb-50"> <div class="col-lg-6 col-md-12"> <div class="mb-30 mt-50"> <div class="heading_s1 mb-3"> <h4>{{ __('Apply Coupon') }}</h4> </div> <div class="total-amount"> <div class="left"> <div class="coupon form-coupon-wrapper"> <div class="form-row row justify-content-center"> <div class="form-group col-lg-6"> <input class="font-medium coupon-code" type="text" name="coupon_code" value="{{ old('coupon_code') }}" placeholder="{{ __('Enter coupon code') }}"> </div> <div class="form-group col-lg-6"> <button class="btn btn-rounded btn-sm btn-apply-coupon-code" type="button" data-url="{{ route('public.coupon.apply') }}"><i class="far fa-bookmark mr-5"></i>{{ __('Apply') }}</button> </div> </div> </div> </div> </div> </div> </div> <div class="col-lg-6 col-md-12"> <div class="border p-md-4 p-30 border-radius-10 cart-totals"> <div class="heading_s1 mb-3"> <h4>{{ __('Cart Total') }}</h4> </div> <div class="table-responsive"> <table class="table"> <tbody> @if (EcommerceHelper::isTaxEnabled()) <tr> <td class="cart_total_label">{{ __('Tax') }}</td> <td class="cart_total_amount"><span class="font-lg fw-900 text-brand">{{ format_price(Cart::instance('cart')->rawTax()) }}</span></td> </tr> @endif @if ($couponDiscountAmount > 0 && session('applied_coupon_code')) <tr> <td class="cart_total_label">{{ __('Coupon code: :code', ['code' => session('applied_coupon_code')]) }} (<small><a class="btn-remove-coupon-code text-danger" data-url="{{ route('public.coupon.remove') }}" href="javascript:void(0)" data-processing-text="{{ __('Removing...') }}">{{ __('Remove') }}</a></small>)<span></td> <td class="cart_total_amount"><span class="font-lg fw-900 text-brand">{{ format_price($couponDiscountAmount) }}</span></td> </tr> @endif @if ($promotionDiscountAmount) <tr> <td class="cart_total_label">{{ __('Discount promotion') }}</td> <td class="cart_total_amount"><span class="font-lg fw-900 text-brand">{{ format_price($promotionDiscountAmount) }}</span></td> </tr> @endif <tr> <td class="cart_total_label">{{ __('Total') }} <small>({{ __('Shipping fees not included') }})</small></td> <td class="cart_total_amount"><strong><span class="font-xl fw-900 text-brand">{{ ($promotionDiscountAmount + $couponDiscountAmount) > Cart::instance('cart')->rawTotal() ? format_price(0) : format_price(Cart::instance('cart')->rawTotal() - $promotionDiscountAmount - $couponDiscountAmount) }}</span></span></strong></td> </tr> </tbody> </table> </div> <button type="submit" name="checkout" class="btn btn-rounded"> <i class="fa fa-share-square mr-10"></i> {{ __('Proceed To Checkout') }}</button> </div> </div> </div> @endif @else <p class="text-center">{{ __('Your cart is empty!') }}</p> @endif </form> </div> </div> </div> </section> @if (count($crossSellProducts) > 0) <div class="row mt-60"> <div class="col-12"> <h3 class="section-title style-1 mb-30">{{ __('You may also like') }}</h3> </div> @foreach($crossSellProducts as $crossProduct) <div class="col-lg-3 col-md-4 col-12 col-sm-6"> @include(Theme::getThemeNamespace() . '::views.ecommerce.includes.product-item', ['product' => $crossProduct]) </div> @endforeach </div> @endif
[+]
attributes
[+]
includes
[-] product-tag.blade.php
[edit]
[-] wishlist.blade.php
[edit]
[-] cart.blade.php
[edit]
[+]
..
[-] brand.blade.php
[edit]
[+]
customers
[-] products.blade.php
[edit]
[-] search.blade.php
[edit]
[-] product-category.blade.php
[edit]
[-] order-tracking.blade.php
[edit]
[-] compare.blade.php
[edit]
[-] product.blade.php
[edit]