@if ($product)
@if ($product->productLabels->count()) @foreach ($product->productLabels as $label) color) style="background-color: {{ $label->color }}" @endif>{{ $label->name }} @endforeach @endif
{{ $product->name }}
{{ $product->name }}
{{ format_price($product->front_sale_price_with_taxes) }} @if ($product->front_sale_price !== $product->price) {{ format_price($product->price_with_taxes) }}
{{ __(':percentage Off', ['percentage' => get_sale_percentage($product->price, $product->front_sale_price)]) }}
@endif
@if (EcommerceHelper::isReviewEnabled())
({{ $product->reviews_count }})
@endif

{!! clean($product->description) !!}

@if (count($product->variationAttributeSwatchesForProductList))
@foreach($product->variationAttributeSwatchesForProductList->unique('attribute_id') as $attribute) @if ($attribute->display_layout == 'visual') image) style="background-image: url({{ RvMedia::getImageUrl($attribute->image) }});" @else data-color="{{ $attribute->color }}" @endif> @endif @endforeach
@endif
@endif