I have woocommerce subscription products with variations on my website. I want to provide download files to my customers based on the subscription (variation) they purchased.
As woocommerce and WP file download are not linked, my idea is the following :
When a customer goes to the download list page, before displaying files I check in background which subscription/variation he has purchased in order to apply a filter (still in background) to display only the files (category) related to this subscription.
The purpose is to restrict the access to files, not by right, but just by display.
Do you think it is possible ?