http://www.creloaded.com/
after downloading backup,
import db
edit path and db variables in
configure.php
includes/configure.php
admin/includes/configure.php
UPDATE `admin` SET `admin_password` = 'ac0501ee3073f680a3a77c66d8c3edb1:09' WHERE `admin`.`admin_id` =5 LIMIT 1 ;
for setting password = 123456 as encrypted in function tep_encrypt_password($plain) in includes/functions/password_funcs.php
SEF module
Installation_and_Guide_To_PCI_Compliance_v_1.1.pdf
Shipping module development
it is saved in should contain the functions l\includes\modules\shipping\ folder name of file and class should be same.should contain following functions
- constructor(same as classname)
- quote($method = '') :fucntion that returns the text and vlayues to display below shopping cart.should return in the format
$this->quotes = array('id' => $this->code,
'module' => titelOfTheShippingModule,
'methods' => array(array('id' => $this->code,
'title' => $shipping_method,
'cost' => $shipping_cost))); - check() : to check if this module is installed when shown in admin section,basically checks the configuration table
- install() :should enter values into configuration table .contains
tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('
- remove() : remove all entries in configuration table
- keys() : returns keys to be stored as 'configuration_key' in TABLE_CONFIGURATION,used in install,remove etc
- $code,
- $title,
- $description
No comments:
Post a Comment