Chillax86 Posted September 27, 2013 Posted September 27, 2013 (edited) How can I display a table on the Order Confirmation Page. No matter what I do to the order-confirmation.tpl nothing changes. I have tried to smarty assign stuff to the tpl but still no joy, please help! Edited September 29, 2013 by Chillax86 (see edit history) Share this post Link to post Share on other sites More sharing options...
vekia Posted September 27, 2013 Posted September 27, 2013 your force compilation option is ON ? and also cache OFF ? please check it under adv. parameters > performance tab Share this post Link to post Share on other sites More sharing options...
Jiten rash (away) Posted September 27, 2013 Posted September 27, 2013 adding this way wud be a good idea <h1>{l s='Order confirmation'}</h1>{assign var='current_step' value='payment'}{include file="$tpl_dir./order-steps.tpl"}{include file="$tpl_dir./mycontent.tpl"}{include file="$tpl_dir./errors.tpl"} were u keep display a table on myconent.tpl 1 Share this post Link to post Share on other sites More sharing options...
Chillax86 Posted September 27, 2013 Posted September 27, 2013 I can confirm that force comp is ON and cache is OFF. Thanks again Jiten. Once I add that to the order-confirmation.tpl can I assign values to myconent.tpl using smarty assign within hookdisplayOrderConfirmation? Also after about 10 seconds I would like to redirect the user to another page could this also be done within hookdisplayOrderConfirmation? Thanks for your replies :-) Share this post Link to post Share on other sites More sharing options...
Jiten rash (away) Posted September 27, 2013 Posted September 27, 2013 have u done adding table? redirecting ..........u can add this at top <meta http-equiv="refresh" content= /> Share this post Link to post Share on other sites More sharing options...
Chillax86 Posted September 27, 2013 Posted September 27, 2013 No I still can't get this working, it seems that it isn't even loading the mycontent.tpl as it is not displaying anything from it Share this post Link to post Share on other sites More sharing options...
Jiten rash (away) Posted September 27, 2013 Posted September 27, 2013 (edited) i really did it practically its working for me http://tinypic.com/view.php?pic=flg9b5&s=5 Edited September 27, 2013 by Jiten rash (see edit history) Share this post Link to post Share on other sites More sharing options...
Jiten rash (away) Posted September 27, 2013 Posted September 27, 2013 I can confirm that force comp is ON and cache is OFF. on cache and try clear browser cache Share this post Link to post Share on other sites More sharing options...
Chillax86 Posted September 27, 2013 Posted September 27, 2013 I have created the mycontent.tpl and have put it in themes/my_theme/. Then I added {include file="$tpl_dir./mycontent.tpl"} to mycontent.tpl. Then in mycontent.tpl I put "<h1>hello world</h2>" and thats it, but it does not work. Yet if I edit order-steps.tpl and put "<h1>hello world</h2>" I can see the changes. I'm baffled Share this post Link to post Share on other sites More sharing options...
Chillax86 Posted September 27, 2013 Posted September 27, 2013 Could it be something to do with PayPal and it being a different .tpl file??? Share this post Link to post Share on other sites More sharing options...
vekia Posted September 27, 2013 Posted September 27, 2013 how the url looks like if you're on confirmation page? you're in paypal directory? 1 Share this post Link to post Share on other sites More sharing options...
Jiten rash (away) Posted September 27, 2013 Posted September 27, 2013 Some cpanel have cache on it may be its installed or else there is no such reason it wont appear its cache issue by the <h1>hello world</h2> wat is that? Share this post Link to post Share on other sites More sharing options...
Chillax86 Posted September 27, 2013 Posted September 27, 2013 The url has paypal in it, I looked for the order-confirmation.tpl for paypal and edited it and now all is working fine thank you Share this post Link to post Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now