@php
$pcartprice =0;
$pcartprice = ($value->discounted_price) ? $value->discounted_price : $value->price;
@endphp
@php
$photos =array();
if( !empty($value->product_image))
{
$photos = unserialize( $value->product_image);
if(count($photos)>0)
{
$img_path=url('/logo/'.$photos['product_image']);
@endphp
@foreach($educators as $educator)
{{-- {{ $educator->id }} --}}
@if($value->faculty_name==$educator->id )
By {{$educator->coaching_classes}}
@endif
@endforeach
Rs.{{ $value->price }}
Rs.{{ $value->discounted_price }}