Page 9 of 9

Re: How to create/duplicate a module?

Posted: Mon Sep 15, 2014 9:21 pm
by schford
I did start a thread here after duplicating this Sage Pay Direct module for use in a multi store install - http://forum.opencart.com/viewtopic.php?f=113&t=130968 but thought I might get more of a response in this original thread.

Long and short followed instructions and rename sagepay to sagepay2 - when checkign out fails to complete and I get this error in the log...am desperate - we need this to go live! Can anyone help please?

2014-09-15 12:34:57 - PHP Notice: Undefined index: Status in /home/tysew/public_html/catalog/controller/payment/sagepay2_direct.php on line 227
2014-09-15 12:34:57 - PHP Notice: Undefined index: Status in /home/tysew/public_html/catalog/controller/payment/sagepay2_direct.php on line 232
2014-09-15 12:34:57 - PHP Notice: Undefined index: Status in /home/tysew/public_html/catalog/controller/payment/sagepay2_direct.php on line 232
2014-09-15 12:34:57 - PHP Notice: Undefined index: Status in /home/tysew/public_html/catalog/controller/payment/sagepay2_direct.php on line 232
2014-09-15 12:34:57 - PHP Notice: Undefined index: StatusDetail in /home/tysew/public_html/catalog/controller/payment/sagepay2_direct.php on line 269

Duplicated module attached if that helps..

Re: How to create/duplicate a module?

Posted: Tue Oct 21, 2014 4:52 pm
by camille054
very usefull, thank u.....

Re: How to create/duplicate a module?

Posted: Tue Dec 30, 2014 7:19 am
by punchi
This still works on the 2.X ??

Re: How to create/duplicate a module?

Posted: Sun Apr 26, 2015 9:58 pm
by drezh
punchi wrote:This still works on the 2.X ??
Yes, i have made a duplication now in v. 2.0.2.0

Re: How to create/duplicate a module?

Posted: Sat May 09, 2015 5:47 pm
by agusciu
hi...

how to duplicate information module?
thanks b4

Re: How to create/duplicate a module?

Posted: Tue May 12, 2015 6:42 am
by sunsys
agusciu wrote:hi...

how to duplicate information module?
thanks b4
Search the Extensions page there are many free extensions for Information module, you can use the one you like.

Re: How to create/duplicate a module?

Posted: Sun Dec 27, 2015 3:54 am
by dolpaz
Hello Guys,

I have a little challenge and I want someone to help me with this. I want to create a Pickup from various store using checkbox.

E.g Header will be Pickup with the following option
Pickup from Store A
Pickup from Store B
Pickup from store C .. all with checkbox and under the same heading.

How can this be achieve. which opencart core file should i edit to achieve this.
I have attach a sample of what I have created earlier. but the above description is what i want.

Thanks as you help !

Re: How to create/duplicate a module?

Posted: Sun Dec 27, 2015 10:56 pm
by Johnathan
Either (1) use a shipping method capable of multiple rates, like the built-in Weight Based Shipping, or (2) use an extension where you can set up multiple rates and title them appropriately, like Multi Flat Rate Shipping.

Re: How to create/duplicate a module?

Posted: Wed Dec 30, 2015 9:57 pm
by dolpaz
Thank you for the response Jonathan. I actually want to add three different stores to the pickup.

So for instance, If we have three diffrent stores in NY, CA, OK

I want a radio button to indicate either store pickup in NY, CA, or OK

Please help with this

Thanks !

Re: How to create/duplicate a module?

Posted: Thu Dec 31, 2015 12:08 am
by Johnathan
If you are using the Weight Based Shipping method, just duplicate your geo zone three times, and name them "Pickup in NY', "Pickup in CA", and "Pickup in OK". Those will be the names of the shipping option titles then.

Or, if you use Multi Flat Rate Shipping, just enter the titles directly in the extension.

Re: How to create/duplicate a module?

Posted: Sun May 08, 2016 5:40 am
by fork
Hi,

I want to clone bank transfer module. I change below files from bank_transfer to western_union

1. admin/controller/payment/bank_transfer.php
2. admin/language/english/payment/bank_transfer.php
3. admin/view/template/payment/bank_transfer.tpl
4. catalog/controller/payment/bank_transfer.php
5. catalog/language/english/payment/bank_transfer.php
6. catalog/model/payment/bank_transfer.php
7. catalog/view/theme/default/template/payment/bank_transfer.tpl

Each file was opened and bank_transfer phrase was replaced on western_union. In admin payment modulespage there is show western union payment and once i click on install western union there is show white page with below text:

Fatal error: Class 'ControllerPaymentwesternunion' not found in /home/****/public_html/***********.com/vqmod/vqcache/vq2-admin_controller_extension_payment.php on line 136

Could anybody help?

Re: How to create/duplicate a module?

Posted: Fri Jul 29, 2016 4:24 pm
by bestshop24h
fork,have you solved the problem?
now ,I am going to do the same thing.

Re: How to create/duplicate a module?

Posted: Mon Feb 20, 2017 8:18 pm
by Natashawilliams
Great! I just wanted to know about this feature as I want to create replica of my Openkart website. Thank you So much for this here

Re: How to create/duplicate a module?

Posted: Fri May 19, 2017 10:38 pm
by vbekyarov
Thank's! That help me a lot !