Jump to content

[SOLVED] Last order page (after choosing payment) span12 not span9


Recommended Posts

I need your help again.

 

I want the last payment-page to be span12 and not span9.

The page where you confirm you order (aftter choosing a payment-method).

 

My problem is that I don't know how to 'call' this page in the header.tpl.

 

This is the current code:

<div id="center_column" class="center_column span{if $page_name == "index" OR $page_name == "cms" OR $page_name =="order"}12{else}9{/if} clearfix">

I tried $page_name == "payment" and so on and so on but it didn't change anything.

 

I have also thought about editing the width manually in global.css.

But is would not be as 'clean' as changing span9 to span12...

 

Thanks!

Link to comment
Share on other sites

Hello, maybe empty the smarty cache and recompile smarty files will help you.

 

prestashop version?

 

try 

 

if $page_name == "module-bankwire-payment" OR if $page_name == "module-cheque-payment" OR ......

 

depending on your payment methods.

 

That would do it (it works in my shop).

 

See you

Edited by Pabs (see edit history)
  • Like 1
Link to comment
Share on other sites

Hi,

if $page_name == "module-bankwire-payment" OR if $page_name == "module-cheque-payment" OR ......

Works like a charm!

Thank you!

 

Just for information:

How did you figure them out? I looked for them everywhere but did not find anything.

Link to comment
Share on other sites

Nice, you are welcome.

 

Knowing that the name of the page was in $page_name then I just printed it in the html code like this  {$page_name}. Then I took a look in the webpage source and it was there ( module-bankwire-payment )

 

Have a nice day.

(Excuse my english)

 

ps: there is no " if " after "OR".

Edited by Pabs (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...