@php $lowest = getContent('lowest_budget.content', true); $products = App\Models\Product::with(['category', 'licenses','regularLicense']) ->where('status', 1) ->whereHas('licenses', function($q) { $q->whereNotNull('price'); }) ->orderByRaw('(SELECT price FROM product_licenses WHERE product_licenses.product_id = products.id LIMIT 1) ASC') ->take(4) ->get(); @endphp
{{__($lowest->data_values->heading)}}
@include($activeTemplate . 'components.product')