{{ trans('plugins/ecommerce::products.product_image') }} | {{ trans('plugins/ecommerce::products.product_name') }} | {{ trans('plugins/ecommerce::products.license_codes.codes') }} |
---|---|---|
|
{{ $orderProduct->product_name }} @if ($attributes = Arr::get($orderProduct->options, 'attributes')) {{ $attributes }} @endif @if ($orderProduct->product_options_implode) {{ $orderProduct->product_options_implode }} @endif |
@if ($orderProduct->license_code)
@php
$licenseCodes = $orderProduct->license_codes_array;
$hasMultipleCodes = count($licenseCodes) > 1;
@endphp
@if ($hasMultipleCodes)
@foreach ($licenseCodes as $index => $code)
@else
{{ $index + 1 }}.
@endforeach
{{ $code }}
{{ $licenseCodes[0] ?? $orderProduct->license_code }}
@endif
@else
{{ __('N/A') }}
@endif
|