Post by sublimeshop » Tue Jun 19, 2018 3:39 pm

Hi all, this is my first post in community because i need help with paypal standard extension text configuration.
I need to change the default text "Paypal" to "Paypal - Credit Card ", the problem is that if i made a change in the pp_standard.php file, in step 5 of the checkout i've an error " error undefined ". This happen also if i change only one letter ( ex. " Paypalo " ).
Here is my code :

Code: Select all

<!--?php
// Text$_['text_title'] 			= 'PayPal';
$_['text_testmode']	   	 	= 'Attenzione: Il Gateway di pagamento &egrave; in modalit&agrave; \'Sandbox\'. Il tuo conto non subir&agrave; addebiti.';$_['text_total']	= 'Spedizione, Gestione, Sconti e Tasse';-->
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=windows-1252">
  </head>
  <body>
  </body>
</html>
If it is possible i would link to insert the paypal with credit card logo under the description.
Thanks to all!

Newbie

Posts

Joined
Tue Jun 19, 2018 3:30 pm

Post by IP_CAM » Wed Jun 20, 2018 9:51 am

This happen also if i change only one letter
Sure it does, because OpenCart does not handle LETTERS + WORDS,
but only VARIABLES, and each and every Variable needs to
be defined/declared, in the corresponding
Model - View - Controller - Language
Section/Files, to make them work. That's why OC ist called an
MVC (+L) Framework. ;)
Ernie
PS: Google knows more about this !
And http://isenselabs.com has some free literature on such too, I assume ...

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 25 guests