jpac Posted October 10, 2012 Share Posted October 10, 2012 (edited) Hi, I'm trying to edit the Downloadable product e-mail confirmation template so you receive the name of the product to download instead of the file name. So instead of simply reading: ****** You have 1 product(s) now available for download using the following link(s): File.zip expires on 10/1/2012 You can review your order and download your invoice from the order history section of your customer account by clicking my account on our shop. ********** Could read something like the name of the product linked to the file: Flyer Collection expires on 10/1/2012 May be also possible to add a small icon next to the product name. What is the name of the variables used in this e-mail template? Thank you Edited October 10, 2012 by jpac (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted October 10, 2012 Share Posted October 10, 2012 Hello jpac, which version of PrestaShop are you using. You can look in the translations tab to edit the E-mail template. Link to comment Share on other sites More sharing options...
jpac Posted October 10, 2012 Author Share Posted October 10, 2012 (edited) Hi Benjamin, Im using prestashop 1.5.0.17. below is the segment i want to edit in the templates: Thank you for your order from {shop_name}! You have {nbProducts} product(s) now available for download using the following link(s): {virtualProducts} However, the {virtualProducts} part is what I don't manage to edit. Therefore I was thinking I could find a file (controller, class, etc) via FTP that I could edit to change the content displayed in {virtualProducts} So, i have found this in the download-product.tpl: <a href="{$product.link}">{$product.name}</a> What variables are available to use in this .tpl file? thank you Edited October 10, 2012 by jpac (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted October 10, 2012 Share Posted October 10, 2012 Hello jpac, I am not sure you are to change the {virtualProducts} in the file or how it is possible. This seems like this would be a custom coding job. Link to comment Share on other sites More sharing options...
jpac Posted October 10, 2012 Author Share Posted October 10, 2012 Thank you for replying. in other .tpl files {$product.name} seems to show the actual product name. not the name of the downloadable file. perhaps this is changed somewhere for virtual products. That is my confusion. I'll keep searching. juan Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now