@csrf
@if (count(json_decode($productDetails->colors)) > 0)
{{ translate('color')}}
    @foreach (json_decode($productDetails->colors) as $key => $color)
  • @endforeach
@endif @php($extensionIndex=0) @if($productDetails['product_type'] == 'digital' && $productDetails['digital_product_file_types'] && count($productDetails['digital_product_file_types']) > 0 && $productDetails['digital_product_extensions']) @foreach($productDetails['digital_product_extensions'] as $extensionKey => $extensionGroup)
{{ translate($extensionKey) }}
@if(count($extensionGroup) > 0)
@foreach($extensionGroup as $index => $extension)
@php($extensionIndex++) @endforeach
@endif
@endforeach @endif @foreach (json_decode($productDetails->choice_options) as $key => $choice)
{{ $choice->title }}
@foreach ($choice->options as $index => $option)
@endforeach
@endforeach
{{ $productDetails->name }}
{!! getPriceRangeWithDiscount(product: $productDetails) !!} {{ webCurrencyConverter(amount: 0) }}
{!! getPriceRangeWithDiscount(product: $productDetails) !!}
@if(($product->added_by == 'seller' && ($sellerTemporaryClose || (isset($product->seller->shop) && $product->seller->shop->vacation_status && $currentDate >= $sellerVacationStartDate && $currentDate <= $sellerVacationEndDate))) || ($product->added_by == 'admin' && ($inHouseTemporaryClose || ($inHouseVacationStatus && $currentDate >= $inHouseVacationStartDate && $currentDate <= $inHouseVacationEndDate)))) @else
@if(($productDetails['product_type'] == 'physical'))
@endif @endif