@foreach ($products as $product)
{{ $product->name }} @if ($includeVariation && $product->variationInfo->id) -
@foreach ($product->variationInfo->variationItems as $variationItem) {{ $variationItem->attribute->title }} @if (!$loop->last) / @endif @endforeach
@endif
{{ format_price($product->front_sale_price) }} @if($product->isOnSale()) / {{ format_price($product->price) }} @endif
@if($product->variations->isNotEmpty())
$product->pivot->apply_to_all_variations])> @foreach($product->variations as $variationProduct) @php($variationProduct->product->pivot = $crossSaleProducts->find($variationProduct->product->id)?->pivot)
{{ $variationProduct->product->name }} @if ($variationProduct->product->variationInfo->id) -
@foreach ($variationProduct->product->variationInfo->variationItems as $variationItem) {{ $variationItem->attribute->title }} @if (!$loop->last) / @endif @endforeach
@endif
{{ format_price($variationProduct->product->front_sale_price) }} @if($variationProduct->product->isOnSale()) / {{ format_price($variationProduct->product->price) }} @endif
@endforeach
@endif
@endforeach