@if (Cart::instance('cart')->count() > 0) @php $products = get_products([ 'condition' => [ ['ec_products.id', 'IN', Cart::instance('cart')->content()->pluck('id')->all()], ], 'with' => ['slugable'], ]); $showProductPrice = ! EcommerceHelper::hideProductPrice() || EcommerceHelper::isCartEnabled(); @endphp @if (count($products)) @endif @if ($showProductPrice && EcommerceHelper::isCartEnabled()) @endif @else {{ __('No products in the cart.') }} @endif