Jump to content

[SOLVED] Download link in email is not working 1.5.4.1


Recommended Posts

Thanks El Patron.

 

Here are my details:

 

 

PrestaShop version: 1.5.4.1

 

 

Theme: autumn

 

 

This is how the download_product looks like:

 

 

Hej {firstname} {lastname} Din e-bog kan nu downloades Tak for din ordre hos {shop_name}!

 

Din e-bog nu kan downloades ved at benytte følgende link(s): {virtualProducts} Du kan se din ordre og downloade din faktura fra "Ordreoversigt" under din konto ved at klikke på "Min konto" i vores webshop.

Hvis du har en gæstekonto, kan du følge din ordre via "Gæstesporing" i vores webshop. {shop_name}

 

 

Everything looks right in the test email i receive except that the {virtualProducts} doesn´t become a link.

 

 

Please let me know if I can provide you with more information.

 

All the best

Morten

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

classes/OrderHistory.php calls the mail funciton, it sets up the array with the link to the downloadable product.

 

check that you do not have any overrides for this class in override/classes

 

make sure that the OrderHistory.php has not been modified by looking at the file last updated date using ftp

 

it's difficult (at least for me) to 'guess' what the issue might be. I don't link to recommend that folks use the default theme to test malfunctions but this is a good way to isolate if the problem is theme related.

  • Like 1
Link to comment
Share on other sites

You might find something useful in the following bug report.

 

http://forge.prestashop.com/browse/PSCFV-8705

 

there have been several issues reported through the forge when the product is free. Try this to make sure, change the free download to non-free and retest.

 

Here is a list of forge reports similar/same as you issue:

https://www.google.com/search?q=prestashop+1.5.4.1++forge+no+virtual+downwload+link&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

  • Like 1
Link to comment
Share on other sites

El Patron: Thank you so much for your help. You have no idé how happy I am now where everything seems to work. It is so kind of you to take your time to help people like me.

 

For everyone else who has the same issue, this solved my problem: http://forge.prestas...owse/PSCFV-8705

 

I changed the line and set the email temp in the status to: payment.

 

When a customer buys a product they will get 3 email: order confirmation, download link and payment confirmation.

 

All the best

Morten

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...