@php Theme::set('pageName', SeoHelper::getTitle()) @endphp
Product Image | @foreach(Cart::instance('compare')->content() as $item) @php $product = $products->find($item->id); @endphp @if (!empty($product))
|
@endif
@endforeach
|||
Product Name | @foreach(Cart::instance('compare')->content() as $item) @php $product = $products->find($item->id); @endphp @if (!empty($product))
{{ $product->name }} |
@endif
@endforeach
|||
Price | @foreach(Cart::instance('compare')->content() as $item) @php $product = $products->find($item->id); @endphp @if (!empty($product))
{{ format_price($product->front_sale_price_with_taxes) }} @if ($product->front_sale_price !== $product->price) |
@endif
@endforeach
|||
{{ __('Rating') }} | @foreach(Cart::instance('compare')->content() as $item) @php $product = $products->find($item->id); @endphp @if (!empty($product))@endif @endforeach | |||
{{ __('Description') }} | @foreach(Cart::instance('compare')->content() as $item) @php $product = $products->find($item->id); @endphp @if (!empty($product))
{!! clean($product->description) !!} |
@endif
@endforeach
|||
{{ $attributeSet->title }} | @foreach(Cart::instance('compare')->content() as $item) @php $product = $products->find($item->id); @endphp @if (!empty($product)) @php $attributes = app(\Botble\Ecommerce\Repositories\Interfaces\ProductInterface::class)->getRelatedProductAttributes($product)->where('attribute_set_id', $attributeSet->id)->sortBy('order'); @endphp @if ($attributes->count()) @if ($attributeSet->display_layout == 'dropdown')@foreach($attributes as $attribute) {{ $attribute->title }}@if (!$loop->last), @endif @endforeach | @elseif ($attributeSet->display_layout == 'text')
|
@else
|
@endif
@else
— | @endif @endif @endforeach
{{ __('Buy now') }} | @foreach(Cart::instance('compare')->content() as $item){{ __('Add To Cart') }} | @endforeach|||
@foreach(Cart::instance('compare')->content() as $item) | {{ __('Remove') }} | @endforeach
{{ __('No products in compare list!') }}
@endif