Jump to content
10 Gauge

Add text to checkout page?

Recommended Posts

I've been racking my brain trying to figure out how to add one simple line of text to my final checkout page.

 

My credit card merchant requires that the wording "Credit card payments processed in the United States" be on the checkout page.   

 

How the heck can I make this happen???

 

Thanks in advance!

Share this post


Link to post
Share on other sites

Assuming you're using PS1.6 and the default theme, add the following to order-payment-classic.tpl at around line 299:

{if $opc}
    <div id="opc_payment_methods-content">
{/if}
<h4>{l s='Credit card payments processed in the United States'}</h4>
<div id="HOOK_PAYMENT">
    {$HOOK_PAYMENT}
</div>
  • Like 1

Share this post


Link to post
Share on other sites

  1. <h4>{l s='Credit card payments processed in the United States'}</h4>

Great solution.

 

But I have a multil language site. How can I localize the string?

 

Thanks.

 

Share this post


Link to post
Share on other sites

Log in to the back office and select Translations from the Localization menu.

 

In the Modify Translations area leave the translation type as Front office, then select you theme and language and you'll then be able to provide translation strings for the text you've added.

 

You may want to select Engish as the language in order to find where Preastshop has put the new string.

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More