{{ trans('app.sl_number') }} | @foreach ($variant->attributes as $attr){{ $attr->name }} | @endforeach{{ trans('app.form.image') }} | {{ trans('app.form.sku') }} | {{ trans('app.form.stock_quantity') }} | {{ trans('app.form.sale_price') }} | |
---|---|---|---|---|---|---|
{{ $loop->iteration }}
|
@foreach ($variant->attributeValues as $attrVal)
{{ $attrVal->value }} | @endforeach{{ Form::hidden('variant_ids[' . $variant->id . ']', $variant->id) }} |
{!! Form::text('variant_skus[' . $variant->id . ']', $variant->sku, ['class' => 'form-control variant-sku', 'placeholder' => trans('app.placeholder.sku'), 'required']) !!}
|
{!! Form::number('variant_quantities[' . $variant->id . ']', $variant->stock_quantity, ['class' => 'form-control variant-qtt', 'placeholder' => trans('app.placeholder.stock_quantity'), 'required']) !!}
|
{{ config('system_settings.currency_symbol') ?? '$' }}
{!! Form::number('variant_prices[' . $variant->id . ']', $variant->sale_price, ['class' => 'form-control variant-price', 'step' => 'any', 'placeholder' => trans('app.placeholder.sale_price'), 'required']) !!}
|
|
{{ trans('app.add_new_variant') }} {{-- {{ trans('app.add_another_attribute') }} --}}