-
This is such a needed feature! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
@feelfetch Thanks for reporting it in. What is your use case? We've helped numerous merchants open businesses with downloadable products, so I assume we could also assist you. Usually, the desired customer flow is attaching the downloadable product in the order confirmation email, but you might have additional requirements. |
Beta Was this translation helpful? Give feedback.
-
Where would you want to store the downloadable file? I could see a few options for how this could work with what we have currently and then how it could be done in the future. For the current setup you could do this:
^ This could be made more advanced depending on your needs, but think this is a good, simple starting point Btw, this would be such a cool plugin to create! -- |
Beta Was this translation helpful? Give feedback.
Where would you want to store the downloadable file?
I could see a few options for how this could work with what we have currently and then how it could be done in the future.
For the current setup you could do this:
src/models/downloadable-asset
id
,variant_id
,file_url
(maybe alsotitle
, etc, etc)create
- takes variant and file_url, ensures uniqueness on variant id etc.update
- can be used to change the file_urldelete
- use to an asset from a productlistForOrder
- checks what downloadable assets are available for an order by going through…