<ul>
    @foreach ($products as $product)
        <li>
            <a href="{{route('reseller.single.product',[$resellers->username, $product->slug])}}" class="header_search_item_link">
                <div class="header_search_item_content">
                    <div class="header_search_item_product_image">
                        <img src="{{ asset('storage/' . $product->thumbnail_img) }}" alt="{{$product->name}}">
                    </div>
                    <div class="header_search_item_product_details">
                        <div class="header_search_item_product_name">
                            <p>{{$product->name}}</p>
                        </div>
                        <div class="header_search_item_product_price">
                            <span class="header_search_item_product_new_price">{{$product->reselling_price}} TK</span>
                            {{-- @if ($product->reselling_price > $product->price)
                                <span class="header_search_item_product_discount_price">{{$product->reselling_price}} TK</span>
                            @endif  --}}
                    </div>
                    </div>
                </div>
            </a>
        </li>
    @endforeach
</ul>