@php use Botble\Media\Facades\RvMedia; $bundleProducts = $product->frequently_bought_together_products ?? collect(); @endphp @if (! empty($bundleProducts) && (is_countable($bundleProducts) ? count($bundleProducts) : iterator_count($bundleProducts)) > 0)