Post by burley » Thu Oct 03, 2019 2:01 am

Ha! That was the trick!! It is working now!

Woohoo! Thanks a million!!!

No karma options here, sadly!

User avatar
Active Member

Posts

Joined
Sun Oct 09, 2011 3:30 pm

Post by cyclops12 » Thu Oct 03, 2019 2:55 am

Glad its now working for you and well done on attempting to clone a module 8)

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by by mona » Thu Oct 03, 2019 3:17 am

ditto above
you did that without asking others to do the work for you
O0

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by mikejones101.ace » Wed Aug 18, 2021 8:18 pm

burley wrote:
Thu Oct 03, 2019 2:01 am
Ha! That was the trick!! It is working now!

Woohoo! Thanks a million!!!

No karma options here, sadly!
@burley
Can you post your latest edit of the cloned files for download, after you changed the variable names from starting with 60..
I downloaded your earlier files, and amended all the variable names so that they don't start with integers.
Now don't get any errors, but the form in the admin does not save or recall any of the input.
I am also on 2.3.0.2.

Thanks


Posts

Joined
Thu Feb 02, 2017 8:26 pm

Post by straightlight » Wed Aug 18, 2021 8:50 pm

In the admin controller, change all starting instances of:

Code: Select all

60daynet_
into:

Code: Select all

payment_60daynet_
from the $this->request->post and $this->config->get

Do the same in the admin TWIG file and on the catalog-end side. In the catalog-end side, look for: $this->config->get('60day_ and add the payment_ in front of 60day. Then, re-upload your OCMod ZIP file. This should resolve the issue.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 1 guest