Hi
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.
Thanks
Kind Regards
Sandeep
You can use IContentRepository.Delete(catalogContentLink, true) as with normal CMS content
Hi
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.
Thanks
Kind Regards
Sandeep