cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable products with CSV file import?

How to disable products with CSV file import?

Hello,

I'm trying to disable selected products with a simple import file:

sku|status

123ABC|2

and

sku|product_online

123ABC|2

But neither of them work correctly. File is properly  made, there are no bugs in CSV.

I'm testing that on 3 different products, none of them is changed after file import.

Hope someone has encountered simmilar issue.

 

6 REPLIES

Re: How to disable products with CSV file import?

Could you please check with run below command,

php bin/magento indexer:reindex
php bin/magento cache:flush
If Issue Solved, Click Kudos/Accept As solutions.

Re: How to disable products with CSV file import?

@Rakesh Jesadiya thanks for Your reply. I do not have access to code unfortunately (im marketer, not programmer). Is there any other thing to do from admin panel?

Re: How to disable products with CSV file import?

By default You are using CSV to disable product, Its correct way.

If you need to disable product using CSV just use product_online with 2.

 

If you need to enable product using CSV just use product_online with 1.

 

Format is,

sku product_online
abc 2
aaa 2

Now all the abc and aaa product will be disable.

If Issue Solved, Click Kudos/Accept As solutions.

Re: How to disable products with CSV file import?

I've done exactly what You suggested - but still no effect. All cookies were flushed, products were reindexed. Even saving CSV file with UTF8 does not help

Re: How to disable products with CSV file import?


if you have multiple website then please add product_websites column field in your csv and upload again.

If Issue Solved, Click Kudos/Accept As solutions.

Re: How to disable products with CSV file import?

@Rakesh Jesadiya i have only one webstore based on Magento.