Azurafiles Posted January 3, 2011 Share Posted January 3, 2011 Orders are accepted in the back office, but there is no download links for the customers.Every thing is in place like it should, the only thing is that the orders page does not show any download links.Each product is setup as a download product.Customers also receive emails after they make an order, but still no download links.I am using Version 1.3.1.1 Link to comment Share on other sites More sharing options...
Azurafiles Posted January 4, 2011 Author Share Posted January 4, 2011 No one knows?Please someone, its urgent. Link to comment Share on other sites More sharing options...
Azurafiles Posted January 9, 2011 Author Share Posted January 9, 2011 Has no one had any similar issues? Link to comment Share on other sites More sharing options...
rocky Posted January 10, 2011 Share Posted January 10, 2011 I guess no-one else is having the same problem. I've been using downloadable products on my website since PrestaShop v1.2.5 and I've never had any problems with download links on the order history page. I'm currently using PrestaShop v1.3.5 on my website. Try switching to the default PrestaShop theme. That should tell you whether it's a third-party theme issue. Link to comment Share on other sites More sharing options...
Azurafiles Posted January 10, 2011 Author Share Posted January 10, 2011 I made a test with the default template, and it is the same thing.What is more is that only 2 of 3 emails are sent.Email with download links is not sent. Link to comment Share on other sites More sharing options...
Azurafiles Posted January 12, 2011 Author Share Posted January 12, 2011 how about the missing email with download links? Link to comment Share on other sites More sharing options...
rocky Posted January 13, 2011 Share Posted January 13, 2011 On my website, the "Virtual products to download" email is sent without problems. Make sure that download-product.tpl, download_product.html and download_product.txt exist in each of the languages in the mails directory. Link to comment Share on other sites More sharing options...
Azurafiles Posted January 13, 2011 Author Share Posted January 13, 2011 They are there, and have a permission of 644 Link to comment Share on other sites More sharing options...
benorbeen Posted January 16, 2011 Share Posted January 16, 2011 I seem to be having the same issue on one Prestashop, but not on the other Prestashop, with respect to Virtual product to download emails and not getting them.I set up one PS for testing: It sends 3 emails on an order: Order confirmation, New order, and Virtual product to download. That PS is Version 1.3.2.3 - 0.671s.Then, I have the real-thing PS: It sends only the first 2 emails listed above; Virtual product to download is absent. It is a more recent version: Version 1.3.6.0 - 0.046s.Both are using the same template.While it's probably not the end of the world that the files I've uploaded via "Is this a downloadable product?" are only in the Order History page, I'd really like to get the real-thing site fully operational. Downloads may be important in the future, and lack of email links spell headaches in customer service.A far as what I've done, I have made sure all three download product files are in each mails folder. I wondered if there's a conflict with the PayPal module v2.1--unchecking it and making a free download order still yielded no email.Any ideas? Link to comment Share on other sites More sharing options...
benorbeen Posted January 16, 2011 Share Posted January 16, 2011 Iiiiiiinteresting!I have a 3rd site, one that I manually upgraded. I just did a quick test of ordering a free download, and sure enough, no Virtual Product Download Link arrived in my inbox. This install is Version 1.3.6.0 - 0.083s ... is there a bug keeping PS from following through with these emails? Link to comment Share on other sites More sharing options...
rocky Posted January 17, 2011 Share Posted January 17, 2011 I see. I've added my free downloads as attachments instead of downloads. If you can confirm that free downloadable products don't send an email, but paid ones do, you should post the issue on the bug tracker. Link to comment Share on other sites More sharing options...
benorbeen Posted January 17, 2011 Share Posted January 17, 2011 It looks as if I just fixed my problem. I spent, I dunno, a half day on this problem? Here is what I did ...MY PROBLEMAgain, my problem is that in my upgraded PrestaShop, as a customer of a virtual download, I was no longer getting the Virtual Product to Download email. (I also learned I was no longer getting the Payment Accepted email.)I had noticed a difference in behavior between my Quick Install of PrestaShop Version 1.3.2.3 - 1.321s, and my recent manual upgrade to PrestaShop Version 1.3.6.0 - 0.041s.- In 1.3.2.3, I was getting the emails as expected.- In the newer 1.3.6.0, I was NOT gettting the emails as expected. (I would get Order confirmation, and my merchant account would get the New order email.)From what I was learning, classes > OrderHistory.php was supposed to handle the sending of my missing emails. I am not versed in code so I couldn't really translate what I was reading, but I was trying to. I could see there was the subject line for the virtual download email, which was a start. I could see some other important details.I tried disabling modules, tweaking code per what rocky was advising 1-2 users, etc., and I was having no luck. I was despairing a bit because I really love the software, though I knew I could simply direct my customers to Order History for their downloads. This was not preferred, though, because it would require more customer service for people who weren't very observant.MY SOLUTIONAt one point I thought I'd take a look at the CHANGELOG for the newer 1.3.6.0 to see if there were any changes with respect to virtual downloads. Searching for the term "virtual download," AHA!, there was! From that CHANGELOG: [-] FO : virtual product links are now sent the first time the order is validated and no more hard coded on PS_OS_PAYMENT I decided to see if there was something to that change. I compared OrderHistory.php from both of my installations. Immediately I could see a difference: The older version mentioned PS_OS_PAYMENT but the newer version HAD NO MENTION of PS_OS_PAYMENT.In my newer PrestaShop, I renamed OrderHistory.php to OrderHistory-original.php to have a backup on hand. Then, from my older PrestaShop and into my NEWER PrestaShop, I uploaded OrderHistory.php to fill the void.I made a test purchase of a free download from my site. It worked: I got the two missing emails.LESSONS?So, what does this tell me? It tells me that perhaps the change outlined in the CHANGELOG had a negative effect on PrestaShop. At least it seemed to have a negative effect for me! A downgrade of classes > OrderHistory.php from 1.3.6.0 to 1.3.2.3 solved my problem.Now, I'm not despairing ... I'm now relieved. At least insofar as it continues to work!DO YOU SEE A PROBLEM WITH THIS SOLUTION?I'm unfamiliar with possible repercussions from my downgrade of Order-History.php, so if you have any insights, kindly share. Thanks. Cheers,benorbeenEDIT: In the original version of this post, I mistakeny added a hypthen to OrderHistory.php. Corrected above. Link to comment Share on other sites More sharing options...
Recommended Posts