plutten22 Posted February 17, 2014 Share Posted February 17, 2014 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. Link to comment Share on other sites More sharing options...
PascalVG Posted February 18, 2014 Share Posted February 18, 2014 plutten, I tried to reproduce the screen, but I don't see the Klarna option available. Did you turn it off? pascal. Link to comment Share on other sites More sharing options...
plutten22 Posted February 18, 2014 Author Share Posted February 18, 2014 Hi Pascal No i have not taken the klarna away. My site is: http://www.cykelstaden.se Thanks for looking at this. Please tell me if you need me to do anything. Link to comment Share on other sites More sharing options...
plutten22 Posted February 19, 2014 Author Share Posted February 19, 2014 bump Link to comment Share on other sites More sharing options...
PascalVG Posted February 19, 2014 Share Posted February 19, 2014 What address do you add? I tried holland and Sweden, but klarna option doesn't show. Did you make it available for only a specific country?? Link to comment Share on other sites More sharing options...
plutten22 Posted February 19, 2014 Author Share Posted February 19, 2014 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. Link to comment Share on other sites More sharing options...
plutten22 Posted February 20, 2014 Author Share Posted February 20, 2014 bump Link to comment Share on other sites More sharing options...
PascalVG Posted February 20, 2014 Share Posted February 20, 2014 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 More sharing options...
PascalVG Posted February 20, 2014 Share Posted February 20, 2014 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 More sharing options...
PascalVG Posted February 23, 2014 Share Posted February 23, 2014 Hi Plutten, was curious if suggestions worked for you. Let me know, Thanks! pascal. Link to comment Share on other sites More sharing options...
plutten22 Posted February 24, 2014 Author Share Posted February 24, 2014 Hi Pascal. I have bin away a on a trip so thats why i havent let you know. I try now but it dos not work. I put your lines in the end of global.css but no diffrence Have you got any other suggestion. Link to comment Share on other sites More sharing options...
plutten22 Posted February 25, 2014 Author Share Posted February 25, 2014 Bump Link to comment Share on other sites More sharing options...
PascalVG Posted February 28, 2014 Share Posted February 28, 2014 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 More sharing options...
plutten22 Posted March 7, 2014 Author Share Posted March 7, 2014 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 More sharing options...
plutten22 Posted March 7, 2014 Author Share Posted March 7, 2014 Here are attachment: Link to comment Share on other sites More sharing options...
PascalVG Posted March 9, 2014 Share Posted March 9, 2014 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 More sharing options...
plutten22 Posted April 13, 2014 Author Share Posted April 13, 2014 Hi Pascal It worked. Thank you very much. I havent had time to do it untill now. Thank you again Link to comment Share on other sites More sharing options...
PascalVG Posted April 14, 2014 Share Posted April 14, 2014 Perfect! Please mark the topic as solved (see my footer on how) Happy selling, pascal Link to comment Share on other sites More sharing options...
Recommended Posts