@php function productPrice($weight,$meterial,$purity) { $fieldname = strtolower($meterial)."_".strtolower($purity)."_rate"; $gold_rate = DB::table('gold_rate')->where('id','1')->orderBy('id','DESC')->first(); $rate = isset($gold_rate->$fieldname)?$gold_rate->$fieldname:0; return $weight*$rate; } @endphp @if(count($jewellery )>0) @foreach($jewellery as $key=>$item)
@if($item->stock==1) In Stock @else Out of Stock @endif @if($item->jewellery_images) @else @endif
@if($key==6 && Request::segment(2)=='jeweltype') @php $jewelad = DB::table('jewels')->where('id',Request::segment(3))->first(); @endphp
@endif @endforeach @else

We can't find what you are looking for!


Shop Now
@endif