Dawn Posted January 12, 2021 Share Posted January 12, 2021 Hello, I am having a problem in the email that the customer receives when he buys a product that has an attachment, in my case a PDF. The store is in HTTPS, however in the email received the link to download this PDF is with HTTP. I have read that this is controlled by the OrderHistory.php file, and that the tag is {virtualProducts}, but no changes I make there modify any of the data received in the email. Has anyone had this problem and has a solution? My PS version is 1.6.1.11 Thank you. Link to comment Share on other sites More sharing options...
JBW Posted January 13, 2021 Share Posted January 13, 2021 Check if you can replace PS_BASE_URL by PS_BASE_URL_SSL in /classes/ProductDownload.php function getTextLink 1 Link to comment Share on other sites More sharing options...
Dawn Posted January 22, 2021 Author Share Posted January 22, 2021 Thank you very much! Link to comment Share on other sites More sharing options...
al_foto Posted June 1, 2021 Share Posted June 1, 2021 Thanks so much, this solved my issue! 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