Location: PHPKode > projects > HikaShop > media/mail/order_admin_notification.text.php
<?php
/**
 * @package		HikaShop for Joomla!
 * @version		1.4.3
 * @author		hikashop.com
 * @copyright	(C) 2010 HIKARI SOFTWARE. All rights reserved.
 * @license		GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */
defined('_JEXEC') or die('Restricted access');
?>
<?php 
$url = HIKASHOP_LIVE.'administrator/index.php?option=com_hikashop&ctrl=order&task=edit&order_id='.$data->order_id;
echo JText::sprintf('ORDER_STATUS_CHANGED',$data->mail_status)."\r\n\r\n".JText::sprintf('NOTIFICATION_OF_ORDER_ON_WEBSITE',hikashop::encode($data->order_id),HIKASHOP_LIVE);
$currency = hikashop::get('class.currency');
echo "\r\n".JText::_('HIKASHOP_TOTAL').' : '.$currency->format($data->order_full_price,$data->order_currency_id);
echo "\r\n".str_replace('<br/>',"\r\n",JText::sprintf('ACCESS_ORDER_WITH_LINK',$url));
if($data->order_payment_method=='creditcard' && !empty($data->credit_card_info->cc_number)){
	echo "\r\n".JText::_('CUSTOMER_PAID_WITH_CREDIT_CARD');
	if(!empty($data->credit_card_info->cc_owner)){
		echo "\r\n".JText::_('CREDIT_CARD_OWNER').' : '.$data->credit_card_info->cc_owner;
	}
	echo "\r\n".JText::_('END_OF_CREDIT_CARD_NUMBER').' : '.substr($data->credit_card_info->cc_number,8);
	if(!empty($data->credit_card_info->cc_CCV)){
		echo "\r\n".JText::_('CARD_VALIDATION_CODE').' : '.$data->credit_card_info->cc_CCV;
	}
	echo "\r\n".JText::_('CREDITCARD_WARNING');
}
$fieldsClass = hikashop::get('class.field');
$fields = $fieldsClass->getFields('frontcomp',$data,'order','');
foreach($fields as $fieldName => $oneExtraField) {
	echo "\r\n".$fieldsClass->trans($oneExtraField->field_realname).' : '.$fieldsClass->show($oneExtraField,$data->$fieldName);
}
Return current item: HikaShop