@php //use App\Models\EcommerceSetting; //$ecomm_setting = EcommerceSetting::first(); // Retrieve the cached item $item = Cache::get('site_status'); // Decode the cached data $ecomm_setting = $item ? json_decode($item) : null; @endphp