Hello all,
I have installed esshop into CSM Made Simple and on the final checkout screen I have "PAYPAL_PAY" echoed to the screen where I think I should have a summary of the customer order next to the PayPal button. The PayPal button works correctly.
As far as I can see "PAYPAL_PAY" appears to be a smarty tag that is being (unsuccessfully) called.
If anyone can help with this I would really appreciate it.
The screen display looks like this:
"Thank you for you order!
We will contact you as soon as possible."
PAYPAL_PAY [PayPal Button]
esshop PAYPAL_PAY error
[SOLVED] esshop PAYPAL_PAY error
PAYPAL_PAY is actually a Smarty constant that calls a definition in the language file.
The problem was that the en_EN.php and en_US.php lang files did not have the definition. It can be added as follows:
The problem was that the en_EN.php and en_US.php lang files did not have the definition. It can be added as follows:
- open the appropriate file in the lang folder e.g. us_US.php
- Scroll down to the bottom
- Find the line $lang['ADMIN_EMAIL_FORMAT']= 'Notify email format';
- Under that line add the two lines:
$lang['PAYPAL_EMAIL']= 'If you prefer PayPal as a payment option, please make payment ({$order_total}) on the following email address:';
$lang['PAYPAL_PAY']= 'To pay with PayPal now please click on the PayPal icon below: ';