Hi! I hope I can get some help from the community.
There are few banks I'm going to use for my shop payments, i use the bankwire module for one bank, and a duplication for another one.
I've tried duplicating the bank wire folder and change each line containing words "bankwire" to the new payment module. After I put it in modules folder, the module tab in BO went blank.
Which files should/shouldn't I modify? thanks
Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.
Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

Vous parlez français ? par ici !
Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

Vous parlez français ? par ici !
Duplicating BankWire module
Started by sahabat, Jun 11 2009 02:48 AM
Duplicating BankWire module
#1
Posted 11 June 2009 - 02:48 AM
#2
Posted 11 June 2009 - 03:59 AM
The module works after I modify the config file by adding a line in order states, my question is what is the number 1 to 10 refer to? I use 10 for BankWire2, what will effect my shop?
/* Order states */
define('_PS_OS_CHEQUE_', 1);
define('_PS_OS_PAYMENT_', 2);
define('_PS_OS_PREPARATION_', 3);
define('_PS_OS_SHIPPING_', 4);
define('_PS_OS_DELIVERED_', 5);
define('_PS_OS_CANCELED_', 6);
define('_PS_OS_REFUND_', 7);
define('_PS_OS_ERROR_', 8);
define('_PS_OS_OUTOFSTOCK_', 9);
define('_PS_OS_BANKWIRE_', 10);
define('_PS_OS_BANKWIRE2_', 10);
/* Order states */
define('_PS_OS_CHEQUE_', 1);
define('_PS_OS_PAYMENT_', 2);
define('_PS_OS_PREPARATION_', 3);
define('_PS_OS_SHIPPING_', 4);
define('_PS_OS_DELIVERED_', 5);
define('_PS_OS_CANCELED_', 6);
define('_PS_OS_REFUND_', 7);
define('_PS_OS_ERROR_', 8);
define('_PS_OS_OUTOFSTOCK_', 9);
define('_PS_OS_BANKWIRE_', 10);
define('_PS_OS_BANKWIRE2_', 10);
#3
Posted 17 June 2009 - 06:54 AM
The second parameter is the order status ID in the ps_order_state_lang database's table.
first you have to (and may be did) add an order status :
Back Office >> Orders >> Order statuses
and note the status ID.
Next, modify your settings.inc.php file with the corresponding ID:
define(’PS_OS_BANKWIRE2‘, 11);
(11, if the news status' id is 11)
first you have to (and may be did) add an order status :
Back Office >> Orders >> Order statuses
and note the status ID.
Next, modify your settings.inc.php file with the corresponding ID:
define(’PS_OS_BANKWIRE2‘, 11);
(11, if the news status' id is 11)
#4
Posted 17 June 2009 - 07:40 AM
some indonesian users have modified bankwire modules, you see in this topic.
http://www.prestasho...angan_dan_modul
http://www.prestasho...angan_dan_modul
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












