#Help with Digital Products

1 messages · Page 1 of 1 (latest)

tight warren
#

Hi guys, I am working on a Ecomm with Digital Products. I already implemented the recipe from the docs but I found it a bit lacking, like the only way to create a digital product is by first uploading the file and it creates the product with a workflow.

That is fine, but there are a few issues:

  1. Once you create the product, you cannot update the digital file, the only way is to upload a new one which will create a new product.
  2. You cannot manage the digital files, meaning once uploaded you cannot delete the, change name, etc.

So I have been thinking on making it possible so you can create a product and then add a digital file as a variant. So if the admin wants to change the digital file of a product, they can do it from the products details page.

Now I would like to know what will be the procedure to implement said functionality, I was thinking I will need to create a workflow that updates the variant of a product? I am a bit lost and any help will be appreciated.

tight warren
#

Any one?

hoary pecan
# tight warren Any one?

Why this way? You don't need medusa to handle the digital file at all, only to authenticate said buyer. Let your CDN manage all of this and just let medusa be the authenticator, there is many CDNs which allow session locked file downloads for example