- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
import null value
I have manually added to some upsell products to the products.
If I want to remove them, what to type for the column "upsell_skus" in the import csv files?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: import null value
Yes, You are correct.
You need to keep CSV file with two columns.
sku,upsell_skus
Where sku is main product sku and upsell_sku is list of upsell products.
Magento 2 Blogs/Tutorial
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: import null value
okay - i understand , so assuming your question here is how to removed Upsell products from the existing product sku - using CSV import.
So if you wanted to remove that UpSell Products from that assigned product - in your csv file you need to keep blank upsell_skus field.
Meaning all the data will be there - but when you are importing that csv - make sure your column name upsell_skus field is blank - no value need to put in it.
so it will update that product and remove that upselll_skus from it.
Hope it helps !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: import null value
Hi
In fact, I have tried that.
http://joxi.net/1A5LQM0TnbOz72
This is the csv files just include the columns of sku, store_view_code, upsell_skus, upsell_position
And imported the products with "add/update"
The import was successful, but no any change.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: import null value
With sku - pass store_code as well !
Also from the import behaviour dropdown = select add/update option
and then try it will works !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: import null value
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: import null value
Did that work for you after all? We have the same problem.