@extends('layouts.store') @section('title', 'Cart — Meatworx') @section('content') Cart Fresh, Safe, Vacumm Packed Meat @if(count($items)) @csrf Product Price Quantity Subtotal @foreach($items as $item) × {{ $item['name'] }} Points: {{ (int) $item['qty'] * 100 }} ₹{{ number_format($item['price'], 2) }} ₹{{ number_format($item['price'] * $item['qty'], 2) }} @endforeach Update Cart @if($coupon) {{ $coupon->code }} applied — {{ $coupon->label() }}. You save ₹{{ number_format($discount, 2) }}. @csrf @method('DELETE') Remove Coupon @else @if(!empty($couponNotice)) {{ $couponNotice }} @endif @csrf Apply Coupon @endif @foreach($items as $item) @csrf @method('DELETE') @endforeach @else Your cart is currently empty. Return to Shop @endif @endsection
Fresh, Safe, Vacumm Packed
{{ $coupon->code }} applied — {{ $coupon->label() }}. You save ₹{{ number_format($discount, 2) }}.
{{ $couponNotice }}
Your cart is currently empty.