Jump to content

Virtual product email problem


Recommended Posts

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.

Share this post


Link to post
Share on other sites

Check if you can replace PS_BASE_URL by PS_BASE_URL_SSL in /classes/ProductDownload.php function getTextLink

grafik.thumb.png.31d2e2815bd9f0ff574dec438675a20b.png

Share this post


Link to post
Share on other sites
  • 2 weeks later...

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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More