@extends('layouts.main') @section('title') {{__("Bulk Update Custom Fields")}} @endsection @section('page-title')

@yield('title')

@endsection @section('content')
{{__("Instructions & Reference Guide")}}
{{-- Section 1: Important Instructions --}}
{{__("Important Instructions")}}
  • {{__("Download current custom fields to get the existing data")}}
  • {{__("Do NOT modify the ID column - it's required for updates")}}
  • {{__("Edit the fields you want to update in the downloaded file")}}
  • {{__("For image paths, use the gallery section to upload new images")}}
  • {{__("Category IDs should be comma-separated if multiple categories")}}
  • {{__("Values for radio, dropdown, and checkbox types should be pipe-separated (|)")}}
  • {{__("Note:")}} {{__("You can open the CSV file in Excel, edit it, and save it. Excel will maintain the CSV format.")}}
{{__("Quick Reference")}}
{{__("Field Types:")}}
Number Textbox Fileinput Radio Dropdown Checkbox
{{__("Data Format:")}}
  • {{__("Required:")}} 0 = {{__("Optional")}}, 1 = {{__("Required")}}
  • {{__("Status:")}} 0 = {{__("Inactive")}}, 1 = {{__("Active")}}
  • {{__("Values:")}} {{__("Use pipe (|) to separate options")}}
  • {{__("Categories:")}} {{__("Use comma (,) to separate IDs")}}
{{-- Section 3: Gallery Instructions --}}
{{__("Image Gallery Guide")}}
  • {{__("Click 'Open Image Gallery' button to upload images")}}
  • {{__("Upload multiple images at once (JPG, PNG, SVG)")}}
  • {{__("Click on image or 'Copy Path' button to copy image path")}}
  • {{__("Paste the copied path in CSV file's Image column")}}
  • {{__("Format:")}} custom-fields/filename.jpg
{{__("Download Current Custom Fields & Image Gallery")}}
{{__("Download Current Data")}}

{{__("Download all existing custom fields to edit and update them")}}

{{__("Image Gallery")}}

{{__("Upload images and copy their paths to use in your CSV file. The gallery allows you to manage all custom field images in one place.")}}

{{__("Upload & Process Updated CSV File")}}
@csrf
{{__("Supported formats: CSV, XLSX, XLS")}}
{{__("Important:")}}

{{__("Make sure your CSV file includes the ID column and follows the exact format from the downloaded file. You can open CSV in Excel, edit it, and save. Invalid data will be skipped during processing.")}}

{{-- Error Details Modal --}}
@endsection @section('js') @endsection