Professional Documents
Culture Documents
Website Development
Graphics Design
E-Commerce
1) Create a new folder named 'img' in admin folder and give '777' permission.
2) Copy all folders and files from the module folder to admin folder.
(a)
(b)
(c)
(d)
Find
require(DIR_FS_CLASSES . 'shopping_cart.php');
// the class will reload any information that was stored in the session
$cart = new shoppingCart();
// require price formatter class
require(DIR_FS_CLASSES . 'PriceFormatter.php');
$pf = new PriceFormatter;
Find
if (tep_admin_check_boxes('tools.php') == true) {
require(DIR_WS_BOXES . 'tools.php');
}
if (tep_admin_check_boxes('tools2.php') == true) {
require(DIR_WS_BOXES . 'tools2.php');
}
Find
define('FILENAME_BACKUP_MYSQL','backup_mysql.php');
define('FILENAME_POS','pos.php');
define('FILENAME_SERVICE','service.php');
(a) (Optional)
Insert following at the end of this file.
.border_1 {
border-bottom:solid 1px #000;
border-right:solid 1px #000;
}
.border_2 {
border-right:solid 1px #000;
}
(b)
Find
.dataTableHeadingRow
.dataTableHeadingRow {
/*background-color: #C9C9C9; */
font-size: 11px;
}
(c)
Find
.dataTableContent
Find
define('BOX_HEADING_POS', 'Pos');
define('BOX_HEADING_INVEN', 'Inventory');
define('BOX_POS_ENTRY', 'Sales');
define('BOX_SERVICE_ENTRY', 'Service');
(a) Optional ( Only Required If you face any error during operation )
Find
$this->content_type = $cart->get_content_type();
Change it to
After
(b)
Modify the codes as follows near line no 36
Before
$order_id = tep_db_prepare_input($order_id);
$order_query = tep_db_query("select customers_id, customers_name,
customers_company, customers_street_address, customers_suburb, customers_city,
customers_postcode, customers_state, customers_country, customers_telephone,
customers_email_address, customers_address_format_id, delivery_telephone,
delivery_fax, delivery_email_address, delivery_name, delivery_company,
delivery_street_address, delivery_suburb, delivery_city, delivery_postcode,
delivery_state, delivery_country, delivery_address_format_id, billing_telephone,
billing_fax, billing_email_address, billing_name, billing_company,
billing_street_address, billing_suburb, billing_city, billing_postcode, billing_state,
billing_country, billing_address_format_id, payment_method, currency, currency_value,
date_purchased, orders_status, ipaddy, ipisp, last_modified, payment_id, account_name,
account_number, po_number from " . TABLE_ORDERS . " where orders_id = '" .
(int)$order_id . "'");
$order = tep_db_fetch_array($order_query);
After
$order_id = tep_db_prepare_input($order_id);
$order_query = tep_db_query("select customers_id, customers_name,
customers_company, customers_street_address, customers_suburb, customers_city,
customers_postcode, customers_state, customers_country, customers_telephone,
customers_email_address, customers_address_format_id, delivery_telephone,
delivery_fax, delivery_email_address, delivery_name, delivery_company,
delivery_street_address, delivery_suburb, delivery_city, delivery_postcode,
delivery_state, delivery_country, delivery_address_format_id, billing_telephone,
billing_fax, billing_email_address, billing_name, billing_company,
billing_street_address, billing_suburb, billing_city, billing_postcode, billing_state,
billing_country, billing_address_format_id, payment_method, currency,
currency_value, date_purchased, orders_status, ipaddy, ipisp, last_modified,
payment_id, account_name, account_number, po_number, order_serial, order_type
from " . TABLE_ORDERS . " where orders_id = '" . (int)$order_id . "'");
$order = tep_db_fetch_array($order_query);
(c)
Find near line no 68
Before
After
);
}
11) Please re-place the two images in 'root/admin/images/' folder ( the logo is being used
in the invoice printout )
cclogo.bmp
cclogo.jpg
12) We need to add the Database Connectivity String to the following files (** Please
note, this plug-in can’t read the CRELOADED Database Connection ) under
'root/admin/’
add_or_qun.php
update_or_qun.php
Create_pdf.php
Find
define('DIR_WS_CATALOG', '/creloaded/');
Change it to
define('DIR_WS_CATALOG', '/');
14: Guest User (Optional) : For the Quick Sale Functionality, A Guest User need to setup
with the “POS Plug-in”. First create an user or find an existing user
Find
order_create_quick_sale('20');
Change it to
order_create_quick_sale('20');