Jump to content

Product Download Link


inkpressnet

Recommended Posts

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 :)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated