superbikecoach Posted July 29, 2011 Share Posted July 29, 2011 hi thx for helping me with this in advance: i sale services, and plan to use the 'downloadable' option to sent a confirmation pdf where the client get all the information he needs. this would reduce some customer accounting work for me. so i made up a pdf and load it successfully up, as i also set the other required informations (number of downloads etc). then i logged in as test customer and made an order. the email sent me to the order history, but there is no link to the pdf, just to the invoice. if i click on the order number i get this error: Parse error: syntax error, unexpected '}' in /mnt/webc/52/72/5961372/htdocs/shop/tools/smarty/compile/ee7aa1858482e28aa0daf5d4d62513619df48b54.file.order-detail.tpl.php on line 15 there is a sign on the left side to the order number link, and a little help pop up says 'products to download', but there is nothing linked. i really hope you guys can help me here. best Link to comment Share on other sites More sharing options...
rocky Posted July 30, 2011 Share Posted July 30, 2011 It looks like there's a syntax error on line 15 of themes/<yourtheme>/order-detail.tpl. Check to make sure there aren't any extra } on that line. Link to comment Share on other sites More sharing options...
shokinro Posted August 1, 2011 Share Posted August 1, 2011 I am not sure if you have solved your problem. As Rocky pointed out, there is an error at your theme file, if you have not made any changes on the file, you can copy the one from original package form PrestaShop. If you are using 3rd party themes, you will need to contact theme author if you can not figure out to fix it. By the way, here I would like share with you another issue you maybe face (it happened to me today). The problem/issue happens at Order History page - My Account area. Usually there is a link to download the product at order detail section. The problem happens only when the downloadable product with a customized field, in this case the download link will not appear at order detail section(product name). see here on how to fix it if you have the same issue. Link to comment Share on other sites More sharing options...
superbikecoach Posted August 6, 2011 Author Share Posted August 6, 2011 I am not sure if you have solved your problem. As Rocky pointed out, there is an error at your theme file, if you have not made any changes on the file, you can copy the one from original package form PrestaShop. If you are using 3rd party themes, you will need to contact theme author if you can not figure out to fix it. By the way, here I would like share with you another issue you maybe face (it happened to me today). The problem/issue happens at Order History page - My Account area. Usually there is a link to download the product at order detail section. The problem happens only when the downloadable product with a customized field, in this case the download link will not appear at order detail section(product name). see here on how to fix it if you have the same issue. thx shokinro and rocky! no i did not try it yet. please tell me exactly what to do to copy and past that line from where- to where. thx. i will see if the same issue is comperable to mine. i let you know. thx for the link. Link to comment Share on other sites More sharing options...
superbikecoach Posted August 8, 2011 Author Share Posted August 8, 2011 I am not sure if you have solved your problem. As Rocky pointed out, there is an error at your theme file, if you have not made any changes on the file, you can copy the one from original package form PrestaShop. If you are using 3rd party themes, you will need to contact theme author if you can not figure out to fix it. By the way, here I would like share with you another issue you maybe face (it happened to me today). The problem/issue happens at Order History page - My Account area. Usually there is a link to download the product at order detail section. The problem happens only when the downloadable product with a customized field, in this case the download link will not appear at order detail section(product name). see here on how to fix it if you have the same issue. thx shokinro and rocky! no i did not try it yet. please tell me exactly what to do to copy and past that line from where- to where. thx. i will see if the same issue is comperable to mine. i let you know. thx for the link. naaa, i don't know what to do with the informations to the linked issue. i need to knwo where i have to do that Link to comment Share on other sites More sharing options...
shokinro Posted August 8, 2011 Share Posted August 8, 2011 naaa, i don't know what to do with the informations to the linked issue. i need to knwo where i have to do that which version of PrestaShop are you using? Do you have the same problem? maybe I can upload the modified theme file for you if it is the same issue. Link to comment Share on other sites More sharing options...
superbikecoach Posted August 10, 2011 Author Share Posted August 10, 2011 i'm using 1.4.1 and i am using a original prestashop theme thx for your help Link to comment Share on other sites More sharing options...
shokinro Posted August 11, 2011 Share Posted August 11, 2011 i'm using 1.4.1 and i am using a original prestashop theme it seems that my fix is not for your scenario. I tried to upload the modified file for your reference, but it seems that I have used all my attachment quota. (only 500K per member, maybe I have uploaded too many files ) Link to comment Share on other sites More sharing options...
superbikecoach Posted August 11, 2011 Author Share Posted August 11, 2011 if you want to sent it via email: info (at) superbike-coach (dot) com then we can get back in touch right here where you can explain to me what to do. i really need this fixed. thx a bunch! Link to comment Share on other sites More sharing options...
shokinro Posted August 11, 2011 Share Posted August 11, 2011 I have just send file order-detail.tpl which will fix one problem as I mentioned in this thread. This file is just for your reference. It does not fix problem in your scenario. Please backup your original file before copy the file to the destination. location: /themes/YourTheme/order-detail.tpl Link to comment Share on other sites More sharing options...
superbikecoach Posted August 15, 2011 Author Share Posted August 15, 2011 shokinro, i am stuck. Link to comment Share on other sites More sharing options...
shokinro Posted August 15, 2011 Share Posted August 15, 2011 shokinro, i am stuck. How and where are you stuck? what's the problem? If it is because of my file change, you can restore original one you backed up. Link to comment Share on other sites More sharing options...
superbikecoach Posted August 16, 2011 Author Share Posted August 16, 2011 no, i mentioned that i don't know what and how to do with the file change. i need a instruction what to do. so basically i couldn't do anything till now. please help Link to comment Share on other sites More sharing options...
shokinro Posted August 16, 2011 Share Posted August 16, 2011 no, i mentioned that i don't know what and how to do with the file change. i need a instruction what to do. so basically i couldn't do anything till now. I think the instruction is included in my previous post. Back your own file and replace it with my the I send you. I have just send file order-detail.tpl which will fix one problem as I mentioned in this thread. This file is just for your reference. It does not fix problem in your scenario. Please backup your original file before copy the file to the destination. location: /themes/YourTheme/order-detail.tpl Link to comment Share on other sites More sharing options...
superbikecoach Posted August 19, 2011 Author Share Posted August 19, 2011 hi i followed your instructions and replaced the file, but there is no change at all. there is no email going to the customer with a link to the "downloadable" service (my confi email to the customer), nor a option to load it down in the order history. furthermore, when i click in the order history section on the order number or detail, the following error is coming up: Parse error: syntax error, unexpected '}' in /mnt/webc/52/72/5961372/htdocs/shop/tools/smarty/compile/ee7aa1858482e28aa0daf5d4d62513619df48b54.file.order-detail.tpl.php on line 15 only the invoice.pdf is there when i accept the payment. please help on this. this is maybe a case to involve a developer. thx in advance Link to comment Share on other sites More sharing options...
shokinro Posted August 19, 2011 Share Posted August 19, 2011 As I said, my fix is not for your scenario. I tested the file on my site, I am not sure why it has caused error. Please recover to your original one to avoid the error. Maybe you really need some developer to have a look for you. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted August 19, 2011 Share Posted August 19, 2011 Hi superbikecoach, If you need someone to fix this for you, you may want to consider posting your request here. -Mike Link to comment Share on other sites More sharing options...
Recommended Posts