@extends('layouts.app') @section('content')

{{ translate('Edit Product') }}

@csrf

{{translate('Product Information')}}

@php $pos_addon = \App\Addon::where('unique_identifier', 'pos_system')->first(); @endphp @if ($pos_addon != null && $pos_addon->activated == 1)
@endif @php $refund_request_addon = \App\Addon::where('unique_identifier', 'refund_request')->first(); @endphp @if ($refund_request_addon != null && $refund_request_addon->activated == 1)
@endif

{{translate('Product Images')}}

@if(is_array(json_decode($product->photos))) @foreach (json_decode($product->photos) as $key => $photo)
@endforeach @endif
@if ($product->thumbnail_img != null)
@endif

{{translate('Product Videos')}}

{{translate('Product Variation')}}

@if(!empty(json_decode($product->attributes))) @else @endif

{{ translate('Choose the attributes of this product and then input values of each attribute') }}


@foreach (json_decode($product->choice_options) as $key => $choice_option)