1. Upload the following files to appropriate folder:
[1]. catalog/admin/images/logo_livehelpnow.gif
[2]. catalog/admin/livehelpnow.php
[3]. catalog/admin/includes/languages/english/livehelpnow.php
[4]. catalog/includes/boxes/mod_livehelpnow.php
Import Database Table:
======================
[1]. import livehelpnow_db.sql file in your database.
Edited Files:
=============
************************************************************
*Note*: Please take a backup of following files before edit*
************************************************************
[1]. Add following line at end of catalog/admin/includes/languages/english.php before the "?>" close php tag:
define('BOX_MODULES_LIVEHELPNOW', 'LiveHelpNow');
[2]. Find the following code at appropriate line number 23 in catalog/admin/includes/boxes/modules.php:
if ($selected_box == 'modules') {
$contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_MODULES, 'set=payment', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_MODULES_PAYMENT . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_MODULES, 'set=shipping', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_MODULES_SHIPPING . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_MODULES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_MODULES_ORDER_TOTAL . '</a>') ;
}
//Replace All with Following Code:
**********************************
if ($selected_box == 'modules') {
$contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_MODULES, 'set=payment', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_MODULES_PAYMENT . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_MODULES, 'set=shipping', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_MODULES_SHIPPING . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_MODULES, 'set=ordertotal', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_MODULES_ORDER_TOTAL . '</a><br>' .
'<a href="' . tep_href_link('livehelpnow.php', '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_MODULES_LIVEHELPNOW . '</a>') ;
}
[3]. Add following line at the end of catalog/admin/includes/database_tables.php before the "?>" close php tag:
define('TABLE_LIVEHELPNOW', 'livehelpnow');
[4]. Add following line at the end of catalog/admin/includes/filenames.php before the "?>" close php tag:
define('FILENAME_LIVEHELPNOW', 'livehelpnow.php');
[5]. Add following line at the end of catalog/includes/database_tables.php before the "?>" close php tag:
define('TABLE_LIVEHELPNOW', 'livehelpnow');
[6]. Add following line at the end of catalog/includes/column_left.php before the "?>" close php tag:
$q = tep_db_fetch_array(tep_db_query("select status from " . TABLE_LIVEHELPNOW . " limit 0, 1"));
if($q['status'] == 'y')
{
include(DIR_WS_BOXES . 'mod_livehelpnow.php');
}