@extends('layouts.bootstrap') @section('title', 'Import Products for ' . $tender->name) @section('header')

Import Products

Back to Tender
@endsection @section('content')

Import Products

Import products for tender: {{ $tender->name }} ({{ $tender->reference_number }})

Back to Tender
@if($errors->any())
Please fix the following errors:
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Import Instructions
  • Duplicate Detection: Products with identical names will be automatically skipped
  • Similarity Check: Products >90% similar to existing ones will require manual verification
  • Auto Import: Products <90% similar will be imported automatically
  • CSV Format: Product Name (required), Country, Subcategory, Price, Unit, Description, Quantity
@csrf
Step 1: Select Category (Optional)

Choose a category to organize imported products. This is optional but recommended for better organization.

Products will be organized under this category
Step 2: Upload CSV File
@error('csv_file')
{{ $message }}
@enderror
Maximum file size: 2MB. Supported formats: CSV, TXT
Step 3: CSV Format Guide
Required CSV Format:
Column 1 Column 2 Column 3 Column 4 Column 5 Column 6 Column 7
Product Name
Required
Country of Origin
Optional
Subcategory
Optional
Price (BDT)
Optional
Measurement Unit
Optional
Description
Optional
Quantity Required
Optional (default: 1)
Sample CSV Data:
Product Name,Country of Origin,Subcategory,Price,Measurement Unit,Description,Quantity
"Office Chair","China","Furniture",15000,"piece","Ergonomic office chair with lumbar support",10
"Laptop Computer","USA","Electronics",85000,"piece","Business laptop with 16GB RAM",5
"Printer Paper","India","Stationery",500,"ream","A4 size white paper 80gsm",50
Step 4: Import Options
Duplicate Detection

Products with identical names will be automatically skipped to prevent duplicates in this tender.

Similarity Check

Products >90% similar to existing products will require manual verification before import.

Cancel
@push('scripts') @endpush @endsection