Jump to content

[SOLVED] how to Edit HOOK_PAYMENT: Please sign in to see payment methods


Recommended Posts

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
 

post-507579-0-87663800-1379252531_thumb.png

Link to comment
Share on other sites

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

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

  • 6 months later...
  • 1 year later...

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.

 

20f9flh.jpg

Link to comment
Share on other sites

×
×
  • Create New...