1. Add line 28 in includes\languages\english\modules\payment\googlecheckout.php:
PHP Code:
define('GOOGLECHECKOUT_STRING_WARN_CUSTOMER_NOT_LOGGED_IN', 'To enable the Google Checkout button please log in');
2. Add line 91 in includes\languages\english\modules\payment\gcheckout.php:
PHP Code:
if (!isset($_SESSION['customer_id']) || $_SESSION['customer_id'] == '') {
$Gcart->SetButtonVariant(false);
$Gwarnings[] = GOOGLECHECKOUT_STRING_WARN_CUSTOMER_NOT_LOGGED_IN
}
Bookmarks