@extends('admin.layouts.default') @section('title', 'Import products') @section('content')

{{ _l('Separator') }}
{{ _l('NR. rows') }}
{{ _l('Select the CSV file') }}
@if(!empty($file_name))
{{ $file_name }} {{ _l('Step 2') }} {{ _l('Images') }}
@endif
@if(!empty($row))
@foreach($row as $val) @foreach($val as $val2) @endforeach @endforeach
{{ _l('Select Row') }} {{$val2}}
@endif @if(!empty($row_single)) 'SKU', //'id'=>'ID (only numbers)', 'title'=>'Title', //'cpu'=>'CPU', 'cat'=>'Categories', 'brand'=>'Brand', 'price'=>'Regular price', 'sale_price'=>'Sale price', 'qtu'=>'Quantity', 'weight'=>'Weight', 'metad'=>'Meta description', 'metak'=>'Meta keyword', 'cpu_store'=>'External URL', 'text'=>'Description', 'description'=>'Small Description', 'main_image'=>'Main image', 'gallery'=>'Gallery', ]; $fields_variaion= [ 'sku'=>'SKU', 'price'=>'Price', 'qtu'=>'Quantity', 'weight'=>'Weight', ]; $settings_attributes = @\Wh::get_variation("_attributes_"); if(!empty($settings_attributes)){ foreach ($settings_attributes as $key=> $val){ foreach($val as $k1=>$v1){ if($key=="variations"){ $fields_variaion[$k1] = @$v1['all']['name']; }else{ $fields[$k1] = @$v1['all']['name']; } } } } ?>

  • {{ _l('Before you import make a backup of database') }} !!!
  • SKU - {{ _l('is a unique number could be numbers and leters or only number, you need to have one') }}
  • {{ _l('if you do not have an SKU than fill only column') }} {{ _l('Parent') }}
  • {{ _l('if you don not select nothing for column') }} {{ _l('Condition if is child') }} {{ _l('than all products will be a parents') }}
  • {{ _l('If you want to update just fill the column') }} {{ _l('Parent') }}
  • {{ _l('If you want to import the images then put them in folder') }} /public/imgproduct
  • {{ _l('if you have more then 200 products then you need to do on local') }} {{ _l('hosting or VPS') }} {{ _l('and') }} {{ _l('increse the time of execution script to 1200(20minutes)') }}

@if(count($row_single)>1) @endif @if(!empty($settings_attributes['variations'])) @endif @if(count($row_single)>1) @endif @if(!empty($settings_attributes['variations'])) @endif
Header Header {{ _l('Parent') }} {{ _l('Variation)') }} {{ _l('Condition if is parrent') }} {{ _l('Variation') }}

{{ _l('This process will take few minutes') }}

@endif @if(!empty($final))

{{ _l('Imported') }}:
{{$updated[0]}}- {{ _l('Main products') }}
{{$updated[1]}}- {{ _l('Variation of product') }}

@endif @if(isset($images_import))

1) {{ _l("Upload your images in folder public/import by using FTP (FileZilla) or hosting File Manager") }}
2) {{ _l("After finish uploading push the button below") }}

{{ _l("If button not working you can import them manualy just update the link multiple time, when you will see: done, that's mean done") }}{{url("/admin/import-step-5")}}

@endif
@stop