Jump to content

Recommended Posts

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

 

post-501777-0-89177800-1364994661_thumb.jpg

Link to comment
Share on other sites

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

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

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

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

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

×
×
  • Create New...