Ecommerce Shopify WordPress Discussion

How do I set a downloadable file after purchasing a product on my Webiste? WooCommerce

thanks to whoever takes from their time to answer my question! So basically I have a WooCommerce Webiste and I need to add a function in the function.php of my WordPress. What it needs to do? Let's say you purchase a product from my website that is 'Assessments' and I want you to download the Assessment done (when is done) from your Downloads tab on your profile, what is important for me is that I can upload the file by checking if the user is '1' and has the order number '1', or it just checks if the order number is on his profile. I have been looking around the web trying to find a solution for this but nothing at the moment, I got a snippet that adds a Download in the Download section, but it adds it for everyone, I want it to be specific for the order number o the user id or both. Thanks in advance!
I'm not totally sure I fully understand your question, but to me it looks like you've set the product type to a "physical product"? Digital products should automatically be added to the customer's downloads after purchase. A link to the file should also be included in the order summary a user sees after their payment has been processed. Otherwise I assume this is an issue in your template. Which one are you using?

January 7, 2024

TurboCommerce make the better internet purchasing globaly

Turbo Multi-language Translator

Make the better internet purchasing globaly

Turbosify SEO Speed Booster

5.0 (7) Free plan available
Get better conversions by improving store loading speed Installed

Turbo Multi-language Chat - AI Customer service in one hand

TurboCommerce make the better internet purchasing globaly
Our products

The help you need, when you need it

App by Turbo Engine

3 apps • 5.0 average rating

Turbosify Speed Booster

5.0 (7)
Get better conversions by optimizing shopify store Google page speed Installed

Turbosify Translator for Wordpress Woocommerce

5.0 (74) Free Wordpress Woocommerce Plugin
Translate your wordpress website to multiple language within 1 click, no configuration needed, no No technical required

Grow your business here

Whether you want to sell products down the street or around the world, we have all the tools you need.