© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
2 replies
Sourabh

Import csv data

How can I import data from an Excel or CSV file when the field does not exist in the model or database table?
But still, i need to keep the custom field in import csv file because i am using that field for my internal calculations and rectifying records. so that field is not to be imported into the table .

Here, my custom field is sku . I have shared my code in the attachment.
ProductVariantImporter.php3.03KB
product-variant-importer-example.csv171B
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Alter CSV data before import
FilamentFFilament / ❓┊help
5mo ago
Import XLSX / CSV
FilamentFFilament / ❓┊help
11mo ago
Troubleshooting CSV Import
FilamentFFilament / ❓┊help
2y ago
csv import creating data in multiple models
FilamentFFilament / ❓┊help
2y ago