• Resolved kuebk

    (@kuebk)


    Hi,

    I would like to offer my customers a downloadable products which are uniquely generated for every order by external service.

    Right now I have to assign fixed URL for each downloadable asset in the product. I would like to assign such assets at order processing stage dynamically (which would be generated by the external service) – is this possible?

    Regards.

    • This topic was modified 1 year, 1 month ago by kuebk.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there @kuebk,

    Yes, it is possible to assign downloadable assets dynamically during the order processing stage in WooCommerce. However, please note that this is a complex task and would require custom coding to integrate the external service with your WooCommerce store.

    With that said, I suggest reaching out to a developer, as this involves custom coding and implementations. The WooCommerce community is filled with talented open-source developers, and many of them are active on the channels listed below:

    Hope this helps!

    Thread Starter kuebk

    (@kuebk)

    I’m aware that it will require custom coding, anyway is there a way to add a relation between order and unique download?

    So far it seems like I would need to create a unique product (which would have unique downloads) but I don’t like that approach as it looks really messy.

    On the other hand keeping the unique downloads seems like a good idea but the code requires a lot of customization to handle such case.

    Any other ideas how this could be done?

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @kuebk,

    Yes, creating a unique relation between an order and a unique download is possible without creating a unique product for each download. You can achieve this by creating custom order metadata to store each order’s unique download URL.

    When an order is processed, you can use the woocommerce_checkout_update_order_meta action hook to set the unique download URL generated by your external service. Then, you can use the woocommerce_order_item_get_formatted_meta_data filter hook to add this download URL to the order emails and order details page.

    Please note that this solution requires advanced knowledge of WooCommerce and WordPress development. If you’re uncomfortable with coding, I recommend hiring a professional developer for further assistance.

    I hope this provides some clarity. Please let us know if you have any other questions!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unique downloadable products’ is closed to new replies.