Jump to content

Check out moves to right in step 5


Recommended Posts

Hello

 

I use the default check out in ps 1.5.6.0

 

I have chosen klarna as one of my payments.

 

Every thing works fine untill i arrive att the last check out point. (Payment method)

 

When i select klarna as payment and go to next,   every thing moves to the right and

 

the category block is suddenly visible.

 

Please how can i make it move to the left and the category block disaper like all the other

 

check out points.

 

i attach some screen prints so you understand my problem better.

 

 

post-718236-0-23376700-1392660198_thumb.jpg

post-718236-0-60779700-1392660220_thumb.jpg

Link to comment
Share on other sites

Hi Pascal

 

I made klarna available for sweden.

 

I show you the problem again. I take some more screen shots.

 

I want the last check out (Order summa) screenshot nr 2 , to move to the left and the left block disaper.

 

The klarna is oterwise working propely.

 

My prestashop version is 1.5.6.0  and klarna version is 1.7.4

 

I hope you can help me.  Thank you.

post-718236-0-36523400-1392808110_thumb.jpg

post-718236-0-73500100-1392808127_thumb.jpg

Link to comment
Share on other sites

Hi plutten,

 

Not sure if it works, but try to add this to the themes/default/css/global.css: (just at the end of the file:)

 

#module-klarnaprestashop-payment #left_column { display: none; }

#module-klarnaprestashop-payment #center_column { width: 747px; padding-left: 10px; }

 
 
Hope this works,
pascal.
Link to comment
Share on other sites

If that doesn't work, try this (same file):

 

#module-klarnaprestashop-payment?type=account #left_column { display: none; }

#module-klarnaprestashop-payment?type=account #center_column { width: 747px; padding-left: 10px; }

 

#module-klarnaprestashop-payment?type=invoice #left_column { display: none; }

#module-klarnaprestashop-payment?type=invoice #center_column { width: 747px; padding-left: 10px; }

 

Let me know,

pascal.

Link to comment
Share on other sites

plutten,

 

can you try to find in one of the klarna???.tpl files the file where you have a

<body id="module-klarnaprestashop-payment?type=account"   class="   " style>

 

or something similar like:

  <body id="module-klarnaprestashop-payment?+{$someVariable}" class = "   "  style>  

 

 

 

 

<body id="....same as before..." class ="klarna_checkout" >

 

and then in global.css:

 

.klarna_checkout #left_column { display: none; }
.klarna_checkout #center_column { width: 747px; padding-left: 10px; }
 
There are probably two tpl files, for the different Klarna types, (or maybe just one that has some variables in it to make the difference)
 
pascal.
Link to comment
Share on other sites

Hello pascal.

 

Thank you for your response. Im Back from holiday today.

 

I talk to Klarna today and they say that prestashop has made the module for klarna in 1.5.6.0

 

I try to look for what you ask but i cant find anything.

 

Im not so good at this today but im learning.

 

My ftp looks like this. modules/klarnaprestashop/tpl

 

But i cant find what you are asking for.

 

look at attachment.

 

 

 

.

 

 

Link to comment
Share on other sites

Hi plutten,

Try this: open file /modules/klarnaprestashop/tpl/form.tpl   (please make backup first, just in case...)

 

Add this: (almost at top of file, just below first PrestaShop copyright comment lines, find the black code, and insert red code ) :

 

{capture name=path}{l s='Klarna payment' mod='klarnaprestashop'}{/capture}
{include file="$tpl_dir./breadcrumb.tpl"}
<h2>{l s='Order summary' mod='klarnaprestashop'}</h2>

<script>
  $(document).ready(function() {
    $("#left_column").hide();
    $("#center_column").css("width" , "747px");
    $("#center_column").css("padding-left", "10px");
  });
</script>


{assign var='current_step' value='payment'}
{include file="$tpl_dir./order-steps.tpl"}

 

 

Save the file and try to load the page again...

Hope this works.

 

pascal.

Link to comment
Share on other sites

  • 1 month later...
×
×
  • Create New...