{{ __('Products Compare') }}

@if ($products->isNotEmpty())

{!! __('There are :total products to compare', ['total' => '' . $products->count() . '']) !!}

@foreach($products as $product) @endforeach @foreach($products as $product) @endforeach @foreach($products as $product) @endforeach @if (EcommerceHelper::isReviewEnabled()) @foreach($products as $product) @endforeach @endif @foreach($products as $product) @endforeach @foreach($attributeSets as $attributeSet) @if ($attributeSet->is_comparable) @foreach($products as $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') @elseif ($attributeSet->display_layout == 'text') @else @endif @else @endif @endforeach @endif @endforeach @if (EcommerceHelper::isCartEnabled()) @foreach($products as $product) @endforeach @endif @foreach($products as $product) @endforeach
{{ __('Preview') }} {{ $product->name }}
{{ __('Name') }}

{!! BaseHelper::clean($product->name) !!}

@if (is_plugin_active('marketplace') && $product->original_product->store->id)

{{ __('Sold by') }}: {{ $product->original_product->store->name }}

@endif
{{ __('Price') }}

{{ format_price($product->front_sale_price_with_taxes) }}

@if ($product->front_sale_price !== $product->price) {{ format_price($product->price_with_taxes) }} ({{ get_sale_percentage($product->price, $product->front_sale_price) }}) @endif
{{ __('Rating') }} @if ($product->reviews_count)
({{ $product->reviews_count }})
@endif
{{ __('Description') }}
{!! BaseHelper::clean($product->description) !!}
{{ $attributeSet->title }} {{ $attributes->pluck('title')->implode(', ') }}
    @foreach($attributes as $attribute)
  • @endforeach
    @foreach($attributes as $attribute)
  • @endforeach
{{ __('Buy now') }} {{ __('Add To Cart') }}
  {{ __('Remove') }}
@else

{{ __('No products in compare list!') }}

@endif