@include('Website.Includes.header', ['meta_Details' => $meta_details]) @php use Illuminate\Support\Facades\Auth; use App\General\ProductClass; use App\General\DiscountClass; use App\General\CategoryClass; $logged_in_user = Auth::user(); // dd($childcategory); @endphp

{{ $childcategory->child_title }}

Home  -  {{ ucwords(CategoryClass::getParentCategory($childcategory->main_parent_category)->title) }}  - {{ $childcategory->child_title }}

@foreach ($products as $product)
@if (isset($product->discount)) @if ($product->discount->active == 1) @if ($product->discount->limited == 1) @if ($currentDate >= $fromDate && $currentDate <= $toDate) @endif @else @endif @endif @elseif(DiscountClass::check_collection_discount($product->id))