Jump to content

clonar / duplicar módulo ps_wirepayment


powerman915

Recommended Posts

es muy sencillo. Clonas la carpeta, luego debes renombrar la carpeta a 

ps_wirepayment2

 

y dentro los archivos que tengan ese nombre a 

ps_wirepayment2

 

tambien.

 

luego buscas dentro de los archivos y reemplazas donde este el nombre 

ps_wirepayment

 

 a 

 

ps_wirepayment2

 

 

 

y donde estan estas lineas

 

if (!empty($config['BANK_WIRE_OWNER'])) {
            $this->owner = $config['BANK_WIRE_OWNER'];
        }
        if (!empty($config['BANK_WIRE_DETAILS'])) {
            $this->details = $config['BANK_WIRE_DETAILS'];
        }
        if (!empty($config['BANK_WIRE_ADDRESS'])) {
            $this->address = $config['BANK_WIRE_ADDRESS'];
        }
        if (!empty($config['BANK_WIRE_RESERVATION_DAYS'])) {
            $this->reservation_days = $config['BANK_WIRE_RESERVATION_DAYS'];
        }
 
reemplazar por un 2 tambien
 
if (!empty($config['BANK_WIRE2_OWNER'])) {
            $this->owner = $config['BANK_WIRE2_OWNER'];
        }
        if (!empty($config['BANK_WIRE2_DETAILS'])) {
            $this->details = $config['BANK_WIRE2_DETAILS'];
        }
        if (!empty($config['BANK_WIRE2_ADDRESS'])) {
            $this->address = $config['BANK_WIRE2_ADDRESS'];
        }
        if (!empty($config['BANK_WIRE2_RESERVATION_DAYS'])) {
            $this->reservation_days = $config['BANK_WIRE2_RESERVATION_DAYS'];
        }
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...