Jump to content

File link vs catalog name in confirmation e-mail template


Recommended Posts

Hi,

 

I'm trying to personalize the confirmation e-mail templates for customers. Some of my products are downloadable files. After checking out the customer receives an e-mail with subject "Virtual product to download" displaying a link to the downloadable file/files in this way:

 

Below are direct links to these products:

  • archive.zip expires on 09/4/2012 downloadable 100 time(s)

 

How could I replace the "archive.zip" by the catalog name of the product? In the database this could be taken from the "display_filename" for instance(???). The name of the product as it appears in the Order Confirmation e-mail would be great.

 

There is a download-product.tpl and I can see:

 

 

{foreach from=$virtualProducts item=product}

<li>

<a href="{$product.link}">{$product.name}</a>

{if isset($product.deadline)}

expires on {$product.deadline} .........

 

 

but I cant figure out where these values come from!

 

Thanks for any advice,

Edited by jpac (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...