Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help ! Greeting


twinklep

Recommended Posts

In includes/functions/general.php

 

Find

 

    global $customer_id, $customer_first_name;

   if (tep_session_is_registered('customer_first_name') && tep_session_is_registered('customer_id')) {
     $greeting_string = sprintf(TEXT_GREETING_PERSONAL, tep_output_string_protected($customer_first_name), tep_href_link(FILENAME_PRODUCTS_NEW));

 

Replace with

 

    global $customer_id, $customer_first_name, $customer_last_name;

   if (tep_session_is_registered('customer_first_name') && tep_session_is_registered('last_name')  && tep_session_is_registered('customer_id')) {
     $greeting_string = sprintf(TEXT_GREETING_PERSONAL, tep_output_string_protected($customer_first_name . ' ' . $customer_last_name), tep_href_link(FILENAME_PRODUCTS_NEW))

 

 

HTH

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...