when i import product's csv. All products and category created successfully also all categories include in menu. I want when i import csv , all thing will be done , but not include in menu categories. How can i stop categories to include in menu while importing the product's csv.


we have to Override the protected function createCategory. And set the value : ` $category->setIncludeInMenu(true); to 'false'.

namespace Magento\CatalogImportExport\Model\Import\Product;
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.