It would be nice if HikaShop would allow the variables to be carried over into the after_end page. Perhaps, include the after_end page in the checkout flow so that it can be apart of the checkout process.
I don't know how to get the name from HikaShop, but I know how to get it from Joomla. Also, this will work for the after_end page, but not in the language files.
Using Joomla, open checkout > after_end in HikaShop and look for this line of code:
defined('_JEXEC') or die('Restricted access');
Add these lines just below it:
// Get Joomla! framework
define( 'JPATH_BASE', realpath(dirname(__FILE__) ));
define( 'DS', DIRECTORY_SEPARATOR );
require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );
$mainframe =& JFactory::getApplication('site');
$mainframe->initialise();
//get user information from the Joomla database
$user =& JFactory::getUser();
$session =& JFactory::getSession();
Now to get the user info from Joomla, use the line code where you want them to show.
<?php echo $user->username; // Joomla Username ?>
<?php echo $user->name; // Joomla User's Name (first & last) ?>
<?php echo $user->id; // Joomla User's ID ?>
<?php echo $user->email; // Joomla User's email ?>
The only problem is that these user information may be different from the information the user entered for their HikaShop Billing and/or Shipping addresses.
I'm also looking for a simpler way to handle this. These that's I've posted here are really just my findings and may not be the best or easiest way to handle it. However, I'm hoping someone from HikaShop will shed some light on this.