@argentumfx
So the download files are only displayed in My Account after the physical product status has been changed to completed?
-
This reply was modified 9 years, 8 months ago by
Luke Cavanagh. Reason: clarify wording
Thread Starter
Jack
(@argentumfx)
Hi Luke!
Yes that’s correct, is there way to do this?
Thanks!
AFX
Thread Starter
Jack
(@argentumfx)
@lukecavanagh
This is for a personal project I’m involved in and the product is a vinyl record with downloadable version available as a digital download. As we’re taking pre-orders for the product we can’t have the downloadable files being accessible before the release date of the physical product.
For usability we want to continue using the Downloads section in the My Account section to display the downloadable product but not until a specific date.
I took a look at the group bundle but I don’t think this will be able to delay the downloads from being visible.
Thanks for your help so far, do you have any further suggestions?
AFX
So you modify the template for downloads in My Account, so it did display a message.
Download will not work till the vinyl record has shipped, please check your email for the notification that it has shipping and check back then.
https://github.com/woocommerce/woocommerce/blob/master/templates/myaccount/downloads.php
Then you could possibly use this action woocommerce_grant_product_download_access
http://hookr.io/plugins/woocommerce/2.6.4/actions/woocommerce_grant_product_download_access
Sorry I could not help you more.