0

I imported all products into Magento2.4 using a plugin and just noticed 100 or so products have no product type which is causing them not to show on the website.

How can I run a query on the database directly to mark all products as simple products ?

1

I guess that would do the trick

UPDATE catalog_product_entity
SET type_id = 'simple'
WHERE type_id IS NULL

You might need a reindex after.

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.