@extends('layout.master') @section('meta') {{-- @include('layout.partials.seo', [ 'title' => $tour->meta_title, 'description' => $tour->meta_description, 'keywords' => $tour->meta_keywords, 'image' => $tour->getFirstMediaUrlOrDefault(MediaHelper::TOUR_MEDIA_PATH, 'webp')['url'], 'schema' => $tour->schema, ]) --}} @endsection @section('extraStyles') @endsection @section('content')

Cart

@php $totalPrice = 0; // Initialize the variable here @endphp @foreach ($tours as $tour)

$ {{ number_format($tour->cart_data['total_price'], 2) }}

@php $totalPrice += $tour->cart_data['total_price']; @endphp @endforeach

Cart


Total price : $ {{ $totalPrice }}

Checkout
@endsection @section('extraScripts') {{-- --}} @endsection