saad89 Posted September 15, 2013 Share Posted September 15, 2013 Hello, at my checkout page payment part, show attached message when user not login, i didn't know where i can this tpl to edit it, any help HTnaks in advance Link to comment Share on other sites More sharing options...
vekia Posted September 15, 2013 Share Posted September 15, 2013 you use one page checkout? 1 Link to comment Share on other sites More sharing options...
saad89 Posted September 15, 2013 Author Share Posted September 15, 2013 Yes i use one page checkout Link to comment Share on other sites More sharing options...
vekia Posted September 15, 2013 Share Posted September 15, 2013 you shoulc check order-opc.tpl / order-payment.tpl file located in your theme directory Link to comment Share on other sites More sharing options...
saad89 Posted September 15, 2013 Author Share Posted September 15, 2013 Hello vika, thanks for reply, I already did this below is the code from order-payment.tpl: <div class="paiement_block"> <div id="HOOK_TOP_PAYMENT">{$HOOK_TOP_PAYMENT}</div> {if $HOOK_PAYMENT} {if $opc}<div id="opc_payment_methods-content">{/if} <div id="HOOK_PAYMENT">{$HOOK_PAYMENT}</div> {if $opc}</div>{/if} {else} <p class="warning">{l s='No payment modules have been installed.'}</p> {/if} this login message inhret from $HOOK_PAYMENT which contain m 2 payment method, but from where i can edit the payment login error as u see in the above image Link to comment Share on other sites More sharing options...
vekia Posted September 15, 2013 Share Posted September 15, 2013 hello i don't know what you exactly want to achieve. if you want to translate it - go to localization > translat\ions from first dropdown select "error translations" and click on flag you will see this "Please sign in to see payment methods" on available to translate fields if you want something else - can you please shed some light on it? thanks in advance Link to comment Share on other sites More sharing options...
saad89 Posted September 16, 2013 Author Share Posted September 16, 2013 Hello Vika, All i need the tpl or class that output "Please sign in to see payment methods" so as i can edit it's code. Link to comment Share on other sites More sharing options...
saad89 Posted September 16, 2013 Author Share Posted September 16, 2013 Solved found it in the order controller method _getPaymentMethods Link to comment Share on other sites More sharing options...
vekia Posted September 16, 2013 Share Posted September 16, 2013 Hello Vika, All i need the tpl or class that output "Please sign in to see payment methods" so as i can edit it's code. there is no .tpl file that output this, because it is an "error" message. you can only change it in class, nothing more because there is no tpl Solved found it in the order controller method _getPaymentMethods thanks for information that you solved it im going to mark topic as [solved] best regards Link to comment Share on other sites More sharing options...
Filthbreed Posted March 27, 2014 Share Posted March 27, 2014 and could you please tell us how you solved it? i would like to fix this aswell Link to comment Share on other sites More sharing options...
CoolDesigner Posted August 14, 2015 Share Posted August 14, 2015 Hi Guys! Is there anybody can help on this issue? I'm using PrestaShop 1.6.0.14 .. please have a look at red circle on the payment section.. I want to right align with border.. look at summary section above.. Please help me how can I do this.. I think I have do some changes on "order-payment.tpl" .. I don't know which lines or where exactly.. image attached.. Thanks in advance. Link to comment Share on other sites More sharing options...
Recommended Posts