Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to duplicate eubanktransfer Payment Module


valquiria23

Recommended Posts

Hello everyone,
 
I need to duplicate the eubanktransfer Payment Module, so customers can use two different banks.
 
I duplicate the files eubanktransfer.php and and change its name to bank.php in the following two directories:
 
 /catalog/includes/modules/payment/eubanktransfer.php
 
And
 
catalog / includes / languages / espanol / modules / payment / eubanktransfer.php
 
But when I go to the  admin - Modules - Payment this new "bank" module is not appear to install, the other eubanktransfer is installed correctly.
 
Do i missing something else? I have OSC EDGE.
 
Best regards.
 
Valqui

 

:heart: Community Oscommerce fan :heart: You'll find the latest osC community version here.

 

Link to comment
Share on other sites

Hello @@valquiria23,

 

You have to change inside the module the class name and all other instances from "eubanktransfer" to "bank" (must be the same like the filename).

Then change also all constants from "MODULE_PAYMENT_EU_BANKTRANSFER_......" to "MODULE_PAYMENT_BANK_........" (or similar, here it doesn't matter, just something different) and the same in the language files.

 

rgds

Rainer

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...