@extends('layouts.front-layout') @section('title') Sell @endsection @section('content') @php $route = route('user.register'); // Default route if (Auth::check()) { if (Auth::user()->hasRole('vendor')) { $route = route('vendor.product.list'); } elseif (Auth::user()->hasRole('admin')) { $route = route('admin.product.list'); } } @endphp

Sell Your
Products Here

@forelse($get_sell as $sell)

{{ $sell->product_name ?: '' }}

@empty

Sell Products Not Found

@endforelse
@include('front.includes.home-sell-sec') @endsection