On my website, I have download buttons for digital products.
Here is what I wanted to implement.
Logged-in users can download files.
Others will be redirected to the signup page when clicked on the same download button.
Can you guys provide me with direction on implementing it?