@if(request()->ajax() && isset($products)) @if($products->isNotEmpty()) {{ __('Bought Together') }} @foreach ($products as $product) {{ RvMedia::image($product->image, $product->name, 'medium', true) }} @include(Theme::getThemeNamespace('views.ecommerce.includes.product.badges')) {!! BaseHelper::clean($product->name) !!} @include(Theme::getThemeNamespace('views.ecommerce.includes.product.style-1.price')) @if(EcommerceHelper::isCartEnabled()) hasVariations) data-bb-toggle="quick-shop" data-url="{{ route('public.ajax.quick-shop', ['slug' => $product->slug, 'reference_product' => $parentProduct->slug]) }}" @else data-bb-toggle="add-to-cart" data-url="{{ route('public.cart.add-to-cart') }}" data-id="{{ $product->id }}" {!! EcommerceHelper::jsAttributes('add-to-cart', $product) !!} @endif class="tp-product-cross-sale-btn" > @if ($hasVariations) {{ __('Select Options') }} @else {{ __('Buy now at :price', ['price' => $product->price()->displayAsText()]) }} @endif @endif @endforeach @endif @else