inkpressnet Posted May 28, 2012 Share Posted May 28, 2012 I have a product with a download attached, so when a customer purchases the product, they have the download link available to them in the client area... Basically I want to be able to sell downloadable products without confusing the customer. Is there a way, to include the attachment link to the custom email that is sent to the customer when they make this order. Right now I have a custom welcome email for this product which looks like this: Your order for {$service_product_name} is available for download. http://mydomain-com/clientarea.php?action=productdetails&id={$service_id} But that link doesn't work... The correct link should something like this, but I am not sure if those variables are available.... http://mydomain-com/dl.php?type=d&id=2&serviceid=40 hope this makes sense, and I hope someone has already figured this out 0 Quote Link to comment Share on other sites More sharing options...
inkpressnet Posted June 3, 2012 Author Share Posted June 3, 2012 Anyone have any ideas? 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted June 3, 2012 Share Posted June 3, 2012 You should be able to link to the download in the product welcome email using a link like this: http://yourdomain.com/dl.php?type=d&id=2&serviceid={$service_id} It will then prompt the user to login and the file download will start. Just replace the id=2 with whatever the id number is of your product download. You can find the id number from the whmcs admin area, just click on the file and it will be in the url. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.