To remove a downloadable file form a product, you must perform the following:
NOTE: For more information about how to delete a file from the Downloadable goods library, see For developers: Delete documents. Note that you have to use the libraries manager with the system libraries provider. Before deleting the file, make sure that it is removed form the product and the content link between them is deleted.
Use the following code sample:
Back To Top