Pozdravljeni.
Odprite datoteko catalog/includes/modules/payment/moneta.php
Poiščite funkcijo(vrstico):
---------------------
function install()
---------------------
In na koncu funkcije dodajte vrstico:
---------------------
tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, use_function, date_added) values (Set Order Status, MODULE_PAYMENT_MONETA_ORDER_STATUS_ID, 3, Set the status of orders made with this payment module to this value, 6, 0, tep_cfg_pull_down_order_statuses(, tep_get_order_status_name, now())");
---------------------
Nato v isti datoteki poiščite funkcijo:
---------------------
function keys()
---------------------
In spremenite return vrstico v:
---------------------
return array(MODULE_PAYMENT_MONETA_STATUS, MODULE_PAYMENT_MONETA_TARIFFICATIONID, MODULE_PAYMENT_MONETA_PAYMENT_URL, MODULE_PAYMENT_MONETA_SORT_ORDER, MODULE_PAYMENT_MONETA_CLEAR_WHEN_REMOVED, MODULE_PAYMENT_MONETA_ORDER_STATUS_ID);
---------------------
Moneta modul je potrebno odnamestiti(uninstall) in ponovno namestiti (install).
Ali pa prenesite dopolnjen Moneta modul od tule:
http://www.4ezi.com/ezisoftware/projects/osmoneta/
lp, TomazZ
[Odgovori]
|