<div class="wsus__profile_sidebar">
    <div class="wsus__profile_sedebar_item wsus__sidebar_buy_info">
        <h3><?php echo e(__('user.Selling Info')); ?></h3>
        <?php
            $total_sold=App\Models\OrderItem::where('author_id', $user->id)->get()->count();
            $total_product=App\Models\Product::where(['author_id' => $user->id, 'status' => 1])->get()->count();
            $total_review=App\Models\Review::where(['author_id' => $user->id, 'status' => 1])->get()->count();
        ?>
        <ul class="info">
            <li>
                <p><i class="fal fa-cart-plus"></i> <?php echo e(__('user.Total Sale')); ?></p>
                <span><?php echo e($total_sold); ?></span>
            </li>
            <li>
                <p><i class="far fa-box"></i> <?php echo e(__('user.item')); ?></p>
                <span><?php echo e($total_product); ?></span>
            </li>
            <li>
                <p><i class="fas fa-star"></i> <?php echo e(__('user.Item Rating')); ?></p>
                <span><i class="fas fa-star"></i> (<?php echo e($total_review); ?>)</span>
            </li>
        </ul>
    </div>
    <div class="wsus__profile_sedebar_item wsus__sidebar_pro_info mt_30">
        <h3><?php echo e(__('user.Personal Info')); ?></h3>
        <ul>
            <li><span><?php echo e(__('user.Country')); ?></span> <?php echo e($user->country); ?></li>
            <li><span><?php echo e(__('user.City')); ?></span> <?php echo e($user->city); ?></li>
            <li><span><?php echo e(__('user.Joined')); ?></span> <?php echo e(Carbon\Carbon::parse($user->created_at)->format('F Y')); ?></li>
        </ul>
    </div>
</div><?php /**PATH C:\xampp\htdocs\Projects\New folder\alasmart_cc\main_files\main_files\resources\views/user/inc/user_information.blade.php ENDPATH**/ ?>