• Resolved brian964

    (@brian964)


    Hi,

    I’m trying to grant access to a file to a client after he completed the order by selecting the file under “Downloadable product permissions” in the order page. But I can’t find any files using this field. I just get an error message: “no matches found”. The files were uploaded to the Approved Download Directory.
    Thanks.

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter brian964

    (@brian964)

    Here is a video showing what happens when I regenerate download permissions:

    https://www.awesomescreenshot.com/video/32674258?key=7237fc0009a4579f45791251550feba1

    Thread Starter brian964

    (@brian964)

    In any case, my problem is not with generate download permissions. I know I’m doing this successfully because the client can see the newly assigned file in the download list in their account. My only problem is that the email sent to the customer when I change the order status from “processing” to “completed” does not include the newly assigned file. The customer must log in to their account and find it only in the downloads list.

    • This reply was modified 1 month ago by brian964.
    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello brian964,

    I understand what you’re saying.

    Let’s focus on the email that’s being sent to the customer when the order status changes from “Processing” to “Completed.”

    Could you please share a screenshot of that email? I’d like to review it to determine if this is the expected behavior or if there’s an issue that needs to be addressed.

    Looking forward to your response. ??

    Thread Starter brian964

    (@brian964)

    Hi,

    Here is the screeshot of the email: https://snipboard.io/AXehrU.jpg

    As you can see, the downloads section is missing.

    Plugin Support EastOfWest a11n

    (@eastofwest)

    Hi again @brian964! Thanks for your patience and additional information.

    For this to work as expected, the downloadable product also needs to be a line item in the order itself. That’s the default behavior described here in the WooCommerce documentation. So, for existing orders (that do not contain the downloadable product yet), follow these steps:

    1. Set the existing order status to On Hold.
    2. Edit the order to add the product as a line item. The associated downloadable files are automatically added to the Downloadable product permissions panel.
    3. Set the order status back to Processing or Completed.
    4. Send the order email again; it will contain a section with links to the downloadable product(s) as shown here in the documentation.

    It is, in theory, possible to add a product to the Downloadable product permissions panel even if it’s not a line item in the order.

    Do note: as this is not how it’s intended to be used, it’s not guaranteed to work in all scenarios, and might be confusing, as the download links for products added in this way, won’t show in normal emails.

    If you’d like to try it regardless, follow these steps:

    1. Add the product via the Downloadable product permissions panel.
    2. Copy the Customer download link from next to the downloadable product you just added.
    3. Add an Order note and set the note as Note to customer.
    4. When you click to Add the order comment, an email, similar to the Order completed email, is sent to the customer, but contains the note you just added at the top.

    A download added in this way will also be available to the customer on your site, if they log into their account and navigating to their My Account > Downloads page.

    I tested the above and here’s how it looks. First, the order. Note that the Beanie was all that was originally purchased. Single was added after the fact, and sent to the customer by way of a Note to customer:

    A note was added

    Here’s what the email sent to the customer looks like:

    I hope that points you in the right direction and helps you achieve your goal. Let us know how it turns out.

Viewing 5 replies - 16 through 20 (of 20 total)
  • You must be logged in to reply to this topic.