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
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);
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)
Patric Codron • Community Manager | Manager de Communauté • PrestaShop
Merci de respecter les règles du forum PrestaShop.com :)
Please comply with the PrestaShop.com forum rules :)
Merci de respecter les règles du forum PrestaShop.com :)
Please comply with the PrestaShop.com forum rules :)
some indonesian users have modified bankwire modules, you see in this topic.
http://www.prestasho...angan_dan_modul
http://www.prestasho...angan_dan_modul
[Jual] Modul Pengiriman Tiki, JNE, ISE, PT POS, COD, Kargo, Dakota, Kobra, Bus, Gratis Input Data Demo Gm Shipping langsung ke http://toko.almannacorp.com Fast response : 085 643 077 390 sms saja




Back to top









