AbanteCart Community

Shopping Cart Operations => Built-in Features => Topic started by: timlight10 on August 29, 2026, 04:16:58 PM

Title: "Name" should not be required when action is "update"
Post by: timlight10 on August 29, 2026, 04:16:58 PM
If I have a pricing file that contains short descriptions of my products, its SKU, and its current price, I should not have to select a name for the field during a CSV import. I can understand that during a create action, a name is required. However, couldn't the import process skip those or throw a warning for a missing name instead?
Title: Re: "Name" should not be required when action is "update"
Post by: Basara on September 22, 2026, 10:51:41 AM
Hello,

The import supports both creating new products and updating existing products from the same file. Therefore, the CSV structure requires a Name column.
Title: Re: "Name" should not be required when action is "update"
Post by: timlight10 on September 25, 2026, 09:25:31 AM
However, couldn't the import process skip those or throw a warning for a missing name instead? If I supply update in the action column, it could skip the name field entirely.
Title: Re: "Name" should not be required when action is "update"
Post by: CharlotteDup on October 07, 2026, 04:52:53 PM
Quote from: Basara on September 22, 2026, 10:51:41 AMHello,

The import supports both creating new products and updating existing products from the same file. Therefore, the CSV structure requires a Name column.

Thanks for the clarification. I have one question about how AbanteCart handles the import when the same CSV file is used to both create new products and update existing ones. How does AbanteCart determine whether a product already exists and should be updated, or whether it is a new product that needs to be created? For example, if the CSV contains a Name column, is the product name used to match an existing product? If so, what happens if two products have the same name? Or should we use another field, such as the Product ID or SKU, to identify existing products? It would be helpful if you could provide an example of the correct CSV structure for both creating new products and updating existing products.
Title: Re: "Name" should not be required when action is "update"
Post by: timlight10 on October 08, 2026, 11:52:30 AM
Match is on SKU, Model or Name, based on whether or not you've checked the corresponding checkbox during the import.

-- OR --

You specify the action with the action column in the import file.

https://abantecart.atlassian.net/wiki/spaces/AD/pages/16777227/Import+Wizard (https://abantecart.atlassian.net/wiki/spaces/AD/pages/16777227/Import+Wizard)
Title: Re: "Name" should not be required when action is "update"
Post by: CharlotteDup on October 09, 2026, 01:49:29 AM
Quote from: timlight10 on October 08, 2026, 11:52:30 AMMatch is on SKU, Model or Name, based on whether or not you've checked the corresponding checkbox during the import.

-- OR --

You specify the action with the action column in the import file.

https://abantecart.atlassian.net/wiki/spaces/AD/pages/16777227/Import+Wizard (https://abantecart.atlassian.net/wiki/spaces/AD/pages/16777227/Import+Wizard)


Thank you for your reply; it makes me very happy.
Title: Re: "Name" should not be required when action is "update"
Post by: CharlotteDup on October 09, 2026, 01:51:24 AM
Would it be possible for me to indulge my curiosity and ask you some more questions on the forum?