@extends('admin.layouts.app') @section('page_title', __('Products Import')) @push('styles') @endpush @section('content')
{{ __('Products Import') }}
@if (!isset($step) || $step == 1)

{{ __('Upload CSV File') }}

@csrf
{{ __('Value seperator in your csv file.') }}
{{ __('Upload') }}
@elseif ($step == 2)

{{ __('Map columns') }}

{{ __('Select fields from the csv file to map against products field, or to ignore during import.') }}

@csrf @foreach ($headers as $index => $indexValue)
{{ $exampleData[$index] }}
@php $strippedIndex = prepareColumnName($indexValue); @endphp
@endforeach
@elseif ($step == 3)

{{ __('Products imported: :x', ['x' => $products]) }}

@if ($variations > 0)

{{ __('Variations imported: :x', ['x' => $variations]) }}

@endif @if ($skipped > 0)

{{ __('Product skipped: :x', ['x' => $skipped]) }}

@endif
@endif
@endsection @section('js') @endsection