Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

EPiserver Commerce Deleting Product in Code



Could someone please provide us the code for deleting products in code.

We need to create a scheduled task which picks some expired products and deletes them from the catalogue.


Kind Regards


Jul 01, 2019 9:30

You can use IContentRepository.Delete(catalogContentLink, true) as with normal CMS content

Jul 01, 2019 12:17


Jul 02, 2019 0:59
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.