Post by marthaSplatterHead » Tue Jun 09, 2015 2:48 am

opencart 2.0.2.0
admin page - sales/recurring/orders action button

Im getting this, any ideas?

Notice: Trying to get property of non-object in xxxxxxx/admin/model/sale/recurring.php on line 141Warning: Invalid argument supplied for foreach() in xxxxxxx/admin/model/sale/recurring.php on line 141Notice: Error: Could not load template xxxxxxx/admin/view/template/common/buttons.tpl! in xxxxxxx/system/engine/loader.php on line 45
Last edited by marthaSplatterHead on Sat Jun 20, 2015 1:30 am, edited 2 times in total.

New member

Posts

Joined
Fri May 31, 2013 8:59 am

Post by marthaSplatterHead » Wed Jun 10, 2015 6:12 am

No one?

New member

Posts

Joined
Fri May 31, 2013 8:59 am

Post by marthaSplatterHead » Sun Jun 14, 2015 11:17 pm

Holly crap I just seen a digital tumbleweed :choke:

New member

Posts

Joined
Fri May 31, 2013 8:59 am

Post by artcore » Fri Jun 19, 2015 6:21 pm

While working on a recurring extension, I had the same issues on a clean 2.0.3.1 install.
This is what I did to get rid of it:

Copy the buttons.tpl file from the catalog side:

Code: Select all

catalog\view\theme\default\template\common\buttons.tpl
to

Code: Select all

admin\view\template\common\buttons.tpl
Change a bit of code here:
admin\model\sale\recurring.php Line 141

Code: Select all

foreach ($query->rows as $result) {
change to

Code: Select all

foreach ($query as $result) {
admin\language\english\sale\recurring.php
add:

Code: Select all

$_['entry_payment_reference']     = 'Payment Reference';
$_['entry_recurring_description'] = 'Payment Description';
admin\controller\sale\recurring.php
add to the info method

Code: Select all

$data['entry_payment_reference'] = $this->language->get('entry_payment_reference');

Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+ ;D

Thanks!


User avatar
Active Member

Posts

Joined
Tue Jul 09, 2013 4:13 am
Location - The Netherlands

Post by marthaSplatterHead » Fri Jun 19, 2015 9:54 pm

artcore wrote:This is what I did to get rid of it:
Awesome thanks for documenting this, I just installed a fresh version 2.0.3.1 also so when I get testing I will see if it works and report back, the only thing I don't like is the possibility of it getting bumped in a update, maybe an experienced vqmod writer could build a fix, or maybe Ill see if I can pull it off.

New member

Posts

Joined
Fri May 31, 2013 8:59 am

Post by artcore » Fri Jun 19, 2015 10:00 pm

Here you go :)

Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+ ;D

Thanks!


User avatar
Active Member

Posts

Joined
Tue Jul 09, 2013 4:13 am
Location - The Netherlands

Post by marthaSplatterHead » Fri Jun 19, 2015 10:06 pm

artcore wrote:Here you go :)
Oh you are Awesome! thanks I cant wait to test it..

New member

Posts

Joined
Fri May 31, 2013 8:59 am

Post by marthaSplatterHead » Sat Jun 20, 2015 1:25 am

artcore wrote:Here you go :)
WORKS PERFECT!!

New member

Posts

Joined
Fri May 31, 2013 8:59 am

Post by artcore » Sat Jun 20, 2015 1:50 am

;D Thanks for reporting back!
Little self-promo: if you're using recurring profiles you might be interested in this extension I just released today.
http://www.opencart.com/index.php?route ... me=artcore

Cheers!

Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+ ;D

Thanks!


User avatar
Active Member

Posts

Joined
Tue Jul 09, 2013 4:13 am
Location - The Netherlands

Post by artcore » Tue Dec 08, 2015 8:22 pm

Here is an updated bug fix release for Opencart 2.1 OCMOD to address these above mentioned issues.

Cheers!

Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+ ;D

Thanks!


User avatar
Active Member

Posts

Joined
Tue Jul 09, 2013 4:13 am
Location - The Netherlands
Who is online

Users browsing this forum: No registered users and 8 guests