@if ($product->c('getStorageTotalCount') == 0)
@endif

{{ $product->c('getExistsLanguageColumnValue', 'name') }}

@if (!empty($product->productsPhoto->first()))
@foreach($product->productsPhoto as $photo)
@endforeach
@if ($product->productsPhoto->count() > 1)
@foreach($product->productsPhoto as $photo)
@endforeach
@endif @else
@endif
@include($views['sections']['productStatus'])
{!! c_template()->price(optional($product->c('getClientPrice')->first())->price_final ?? 0) !!} {{ optional($product->c('getClientPrice')->first())->currency_code ?? ''}} @if( c_options()->get('display_product_unit', 'products') ) @isset($product->unit) / {{ optional($product->unit)->getExistingLanguageColumnValue('name') ?? ''}} @endisset @endif
@if($product->c('getClientPrice')->first()->promotion)
{{ c_trans('Stara cena') }}: {!! c_template()->price($product->c('getClientPrice')->first()->price, '%d%02d') !!} {{ $product->c('getClientPrice')->first()->currency_code }}
{{ c_trans('Oszczędzasz') }}: {!! c_template()->price($product->c('getClientPrice')->first()->price - $product->c('getClientPrice')->first()->price_promo) !!} {{ $product->c('getClientPrice')->first()->currency_code }}
@endif @if (!empty($variants))
@foreach ($variants as $groups => $variant) @include ($variantsThemes->get($variantsGroupsData[$groups]->variant_type)['template'],[ 'variants' => $variant, 'variantsGroupsData' => $variantsGroupsData, 'groups' => $groups, 'variantsData' => $variantsData, 'product' => $product, ]) @endforeach
@endif @if ($product->productsStatus->allow_buy !== 0)
@if($product->c('getStorageTotalCount') > 0)
@else @endif
@endif
@if($product->ratings) @endif @if($product->productsManufacturer) @endif @if($product->gtin) @endif
{{ c_trans('Dostępność') }} {{ $productStorageState }}
{{ c_trans('Ocena') }}: {{ number_format($product->averageRating, 1) }}
{{ c_trans('Producent') }}: {{ $product->productsManufacturer->name }}
{{ c_trans('Gtin') }}: {{ $product->gtin }}
@if($product->c('getClientPrice')->first()->promotion || $product->is_new || $product->is_new_manual || $product->is_bestseller || $product->is_bestseller_manual )
    @if($product->c('getClientPrice')->first()->promotion)
  • -{{ round($product->c('getClientPrice')->first()->price_promo / $product->c('getClientPrice')->first()->price) }}% {{ c_trans('Oszczędność') }}
  • @endif {{--
  • Polecany
  • --}} {{--
  • Darmowa przesyłka
  • --}} @if($product->is_new || $product->is_new_manual)
  • {{ c_trans('Nowość') }}
  • @endif @if($product->is_bestseller || $product->is_bestseller_manual)
  • {{ c_trans('Bestseller') }}
  • @endif
@endif
@cstack('client.productsCardAjax.attributes.before') @if ($product->productAttributesMatrix->isNotEmpty())
@foreach($product->productAttributesMatrix->groupBy('attribute_group_id') as $groups => $attributes)
{{ $attributes->first()->productAttributesGroups->c('getExistsLanguageColumnValue', 'name') }}
@foreach($attributes as $attribute) @if($attribute->productAttributes)
{{ $attribute->productAttributes->c('getExistsLanguageColumnValue', 'name') }}
@endif @endforeach
@endforeach
@endif @cstack('client.productsCardAjax.attributes.after') @cstack('client.productsCardAjax.description.before') @if($product->getExistsLanguageColumnValue('description'))
{!! $product->c('getExistsLanguageColumnValue', 'description') !!}
@endif @cstack('client.productsCardAjax.description.after')