• Resolved jackbluehouse2019

    (@jackbluehouse2019)


    Hi woocommerce specialists,
    I would like to know if it is possible to create a download link for a file when the order status is completed. I know it is possible to trigger events with the woocommerce_order_status_completed function but I don’t see how to generate a download link that would be sent to the buyer with the email notification.
    Thanks and happy New Year!
    Jacques

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Aashik P – a11n

    (@aashik)

    Hello Jacques,

    Happy New Year ??

    What do you think about using the built-in Digital/Downloadable Product Handling options to create a downloadable product?

    Thread Starter jackbluehouse2019

    (@jackbluehouse2019)

    Hi Aashik,
    thanks for your answer. I’m generating a file containing order number and buyer information. This file can only be generated when product has been payed and order status terminated. Therefor I don’t see how I can use downloadable product unless I could change download link when I need it.In other words I would like to generate or modify existing download link using woocommerce_order_status_completed function in my custom plugin. My plugin generates the file with a specific name (order number) ans places it in a specific folder. I just need to generate a download link with this path and link it to the product like a regular downloadable product.
    I hope you understand my french…
    Have a good one
    Jacques

    Plugin Support Aashik P – a11n

    (@aashik)

    Hello Jacques,

    Thank you for the added context. I’m not aware of an extension that could accommodate the store expectations.

    This is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.

    I can also recommend the WooCommerce Developer Resources Portal for resources on developing for WooCommerce.

    You can also visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.

    Thread Starter jackbluehouse2019

    (@jackbluehouse2019)

    Hi Aashik,
    I may have a bad approach to the problem. I would like to sell membership cards for a gym. These cards must bear a number, an expiration date (depending on the date of purchase), a number of sessions, the name of the buyer, his email … I think there are plugins that do that but I would have liked to develop mine. What can you suggest to me as a logical scenario to arrive at this solution with woocommerce?
    Thanks
    Jacques

    Plugin Support Aashik P – a11n

    (@aashik)

    Hi there!

    I would like to sell membership cards for a gym. These cards must bear a number, an expiration date (depending on the date of purchase), a number of sessions, the name of the buyer, his email

    While you can manage subscriptions and memberships via WooCommerce Subscriptions and WooCommerce Memberships, I’m not aware of plugin that would help you set up the cards with the requested info.

    This may be possible with custom coding though. If you don’t have access to a developer, you can try one of the services at https://woocommerce.com/customizations/

    Plugin Support Aashik P – a11n

    (@aashik)

    Howdy!

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please start a new thread.

    Cheers!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Download Link’ is closed to new replies.