mike2352 Posted July 26, 2009 Share Posted July 26, 2009 Hi, I have a couple questions on customizing the order confirmation page. I see from some forum posts by Matt that it's possible, but I'm not exactly sure how to go about it. 1) Which .tpl file should I edit to customize the order confirmation page (and no other pages)? 2) Is it possible to display variables from a particular order on the order confirmation page? For example, variables that get passed into the Welcome emails, etc... Such as username, domain, etc? Thank you for your help. 0 Quote Link to comment Share on other sites More sharing options...
lysenshi Posted July 27, 2009 Share Posted July 27, 2009 (edited) Ok, now assuming that your orderform template is Cart, and you selected [select to not automatically redirect and just show the order completed page]. (these can set at: Setup \ General Settings \ Ordering) For question No 1: the answer is complete.tpl [path: WEBSITEDIR\WHMCS\templates\orderforms\cart\complete.tpl] For question No 2: and unfortunately, only invoiceid is passed from WHMCS to the template file, making it a bit complex to get other value you're looking for, but you can using php code to get these value based on invoiceid (directly querying database ), since all data is connected somehow. I hope it was helpful answer Edited July 27, 2009 by lysenshi 0 Quote Link to comment Share on other sites More sharing options...
mike2352 Posted July 27, 2009 Author Share Posted July 27, 2009 Thank you very much; the answer is perfect! I might drop the second portion of this into feature requests as well. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.