{{$page_product->sub_sku}}
{{-- Business Name --}}
@if(!empty($print['business_name']))
{{$business_name}}
@endif
{{-- Product Name --}}
@if(!empty($print['name']))
@php
$originalName = $page_product->product_actual_name;
$productName = strlen($originalName) > 25 ? substr($originalName, 0, 22) . '...' : $originalName;
$fontSize = strlen($productName) > 15 ? $print['name_size'] - 1 : $print['name_size'];
@endphp
{{ $productName }}
@if(!empty($page_product->brand))
{{ $page_product->brand }}
@endif
@endif
{{-- Barcode --}}
@if(!empty($page_product->product_custom_field2) && !empty($page_product->product_custom_field2))
Size : {{$page_product->product_custom_field2}}
@endif
@endif {{-- Price --}} @if(!empty($print['price'])) @lang('lang_v1.price'): {{session('currency')['symbol'] ?? ''}} @if($print['price_type'] == 'inclusive') {{@num_format($page_product->sell_price_inc_tax)}} @else {{@num_format($page_product->default_sell_price)}} @endif @endif @if(!empty($print['exp_date']) && !empty($page_product->exp_date)) @lang('product.exp_date'): {{$page_product->exp_date}} @if($barcode_details->is_continuous) @endif @endif @if(!empty($print['packing_date']) && !empty($page_product->packing_date)) @lang('lang_v1.packing_date'): {{$page_product->packing_date}} @endif |
@if($loop->iteration % $barcode_details->stickers_in_one_row == 0)