Pasquale002 Posted April 3, 2013 Share Posted April 3, 2013 Hi Everyone, I would like to make the 5 step check out overview visible on the left side (left column) of the check out process. How can I modify this in the order-steps.tpl file? It should be visible during all steps of the check out process. Thanks in advance Link to comment Share on other sites More sharing options...
NemoPS Posted April 3, 2013 Share Posted April 3, 2013 In my opinion, you should first get rid of the left column, as you can't physically place it there, since it's computed after the column hooks. Therefore, i'd first get rid of it, then float it to the left, give it a fixed size (same of the column) and a right margin. I'd also float the single step elements but each will go to the next line of course. That's how I'd do it Link to comment Share on other sites More sharing options...
Pasquale002 Posted April 3, 2013 Author Share Posted April 3, 2013 Thanks for the reply. Yet I need the left column for the rest of my site. Can you only get rid of it for the check-out page? I can't delete it from the grid as that will effect my whole site. If so how do you only change it for the check out page? thanks in advance Link to comment Share on other sites More sharing options...
Bruna BSPCU Posted April 3, 2013 Share Posted April 3, 2013 In the header.tpl file (prestashop>themes>yourtheme>header.tpl) add this: <div id="left_column" class="column" {if $page_name=='order-detail'}style="display:none;" {/if} {elseif $page_name=='order-address'}style="display:none;" {/if} {if $page_name=='order-carrier'}style="display:none;" {/if} {if $page_name=='order-confirmation'}style="display:none;" {/if}> {$HOOK_LEFT_COLUMN} </div> it was that you were needing? Link to comment Share on other sites More sharing options...
Pasquale002 Posted April 4, 2013 Author Share Posted April 4, 2013 Indeed I think that that particular coding might work. Although if I add it to the header.tpl file, my page goes offline. So obviously something is wrong. Do I need to make some changes to the tpl. file or just add this? Thanks in advance Link to comment Share on other sites More sharing options...
Bruna BSPCU Posted April 4, 2013 Share Posted April 4, 2013 Your page should not go offline, you just need to add this! If you want i can see your files and correct that for you! Contact me on my email: bruna.priolli@gmail.com Link to comment Share on other sites More sharing options...
NemoPS Posted April 5, 2013 Share Posted April 5, 2013 If your page goes offline there is a chance you added a small syntax error while copying. Turn on errors, and you'll likely get a smarty compiler exception (read last line of my signature) Link to comment Share on other sites More sharing options...
Pasquale002 Posted April 5, 2013 Author Share Posted April 5, 2013 Hi Nemo, Even with the PS_MODE_DEV set to true it shows the following: Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/content/52/10654952/html/themes/Pascal01/header.tpl" on line 96 "{/if}" unexpected closing tag' in /home/content/52/10654952/html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:627 Stack trace: #0 /home/content/52/10654952/html/tools/smarty/sysplugins/smarty_internal_compilebase.php(170): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unexpected clos...', 96) #1 /home/content/52/10654952/html/tools/smarty/sysplugins/smarty_internal_compile_if.php(197): Smarty_Internal_CompileBase->closeTag(Object(Smarty_Internal_SmartyTemplateCompiler), Array) #2 /home/content/52/10654952/html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(429): Smarty_Internal_Compile_Ifclose->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL) #3 /home/content/52/10654952/html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(227): Smarty_Internal_Template in/home/content/52/10654952/html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 62 What can I do about it Thanks Link to comment Share on other sites More sharing options...
NemoPS Posted April 5, 2013 Share Posted April 5, 2013 You have a syntax error as i supposed, line 96 in the header, maybe you added too much IFs, or missed something Link to comment Share on other sites More sharing options...
Bruna BSPCU Posted April 5, 2013 Share Posted April 5, 2013 You have to delete an extra {\if} near line 96 ... Link to comment Share on other sites More sharing options...
Recommended Posts