@extends('vendors.layout') @section('content') @php $vendor_id = Auth::guard('vendor')->user()->id; if ($vendor_id) { $current_package = App\Http\Helpers\VendorPermissionHelper::packagePermission($vendor_id); if ($current_package != '[]') { $numberoffImages = $current_package->number_of_images_per_products; } else { $numberoffImages = 0; } } @endphp
{{ __('Edit Product') }}
{{ __('Back') }} @php $dContent = App\Models\Listing\ListingContent::where('listing_id', $product->listing_id) ->where('language_id', $defaultLang->id) ->first(); $slug = !empty($dContent) ? $dContent->slug : ''; @endphp @if ($dContent) {{ __('Preview') }} @endif
    @foreach ($product->galleries as $item) @endforeach
    Ad Image
    @csrf

    {{ __('You can upload maximum ' . $current_package->number_of_images_per_products . ' images under one product') }}

    @csrf

    ...
    {{ __('Choose Image') }}
    @php $currencyText = $currencyInfo->base_currency_text; @endphp
    @foreach ($languages as $language) @php $listingContent = App\Models\Listing\ListingProductContent::where( 'listing_product_id', $product->id, ) ->where('language_id', $language->id) ->first(); @endphp
    @endforeach
    @endsection @section('script') @endsection @section('variables') @endsection