Zen Cart Logo
Forums / Addon Admin Tools / Super Orders v4.0 Support Thread for ZC v1.5.x

Super Orders v4.0 Support Thread for ZC v1.5.x

Sticky

Views: 172,102

Results 481 to 500 of 816
30 Mar 2015, 12:18 AM
#481
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Super Orders v4.0 Support Thread for ZC v1.5.x

simpledomaining:

Thank you for your respond, Diva, i really appreciate your help. i did downloaded from github and installed superorders for 1.5.4. Not ignoring github support on this by no means, however they are more about reporting bugs.Not quite true.. So let me be VERY clear.. Issues/Bugs/whatever.. if it involves a BETA version, this forum and particularly this support thread is not the place for those discussions.. Use the Github issues for the BETA versions.. But so that it's clear, me and all the contributors do things when our time permits.. so don't look for a QUICK turnaround on issues/bugs/whatever relating to BETA versions..

simpledomaining:

If my issue is a bug i will go report it. I get a blank page on /admin/orders.php and log shows PHP Fatal error: Call to a member function get_content_type() on a non-object in /admin/includes/classes/order.php on line 243 which is: $this->content_type = $_SESSION['cart']->get_content_type();
i did find your answer on this similar issue about a year ago that its unrelated to super orders, however i have no other modules that have touched your modified core files. is there any advice on this you could give me? thanks!Dunno what this is.. it's not an issue I've seen and cannot re-create... Suggest taking mc12345678's advice..

31 Mar 2015, 9:38 AM
#482
dharrison avatar

dharrison

Zen Follower

Join Date:
Mar 2009
Location:
Essex, UK
Posts:
448
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

OK I have checked my log file and since I have installed both Super orders and Edit Order together, I get the following warnings:

[31-Mar-2015 09:16:32 Europe/Berlin] PHP Warning: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in my\root\folders\admin\invoice.php on line 372

[31-Mar-2015 09:16:32 Europe/Berlin] PHP Warning: mysql_query(): A link to the server could not be established in \root\folders\admin\invoice.php on line 372

[31-Mar-2015 09:16:32 Europe/Berlin] PHP Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in \root\folders\admin\invoice.php on line 373

The offending code in invoice.php is as follows:

$result = mysql_query($dbc);
$row = mysql_fetch_array ($result, MYSQL_NUM);

Any advice/guidance is well appreciated. :)

31 Mar 2015, 9:40 AM
#483
dharrison avatar

dharrison

Zen Follower

Join Date:
Mar 2009
Location:
Essex, UK
Posts:
448
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

swguy:

The readme for Optional Purchase Module says

Change "braintree_api" to the name of the payment module you want to be optional.

I guess I don't see any additional opportunities for clarification. Yes, Purchase Order does not end with "_api." It also doesn't begin with "braintree."

Oh yes, there was that as well. :blush: Do feel free to edit my post to read properly.

31 Mar 2015, 10:26 AM
#484
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

dharrison:

OK I have checked my log file and since I have installed both Super orders and Edit Order together, I get the following warnings:
...
The offending code in invoice.php is as follows:

These bugs are fixed in the github copy of super orders - grab admin/invoice.php and admin/orders.php.

31 Mar 2015, 11:24 AM
#485
dharrison avatar

dharrison

Zen Follower

Join Date:
Mar 2009
Location:
Essex, UK
Posts:
448
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

Thanks Software guy, that remedied those 2 issues. I have one remaining issue:

[31-Mar-2015 13:19:19 Europe/Berlin] PHP Warning: Illegal string offset 'id' in my\root\path\includes\modules\payment\purchaseorder.php on line 45

Line 45

$check = $db->Execute("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_PAYMENT_PURCHASE_ORDER_ZONE . "' and zone_country_id = '" . $order->billing['country']['id'] . "' order by zone_id");

I have also updated using purchase orders on GitHub but the issue still persists.

31 Mar 2015, 12:25 PM
#486
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

This is a bug. You're going to have to comment out the zone checking logic in update_status() in includes/modules/payment/purchaseorder.php until someone fixes it.

31 Mar 2015, 12:48 PM
#487
dharrison avatar

dharrison

Zen Follower

Join Date:
Mar 2009
Location:
Essex, UK
Posts:
448
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

it only leaves a log file. Thanks anyway.

1 Apr 2015, 1:09 PM
#488
abcisme avatar

abcisme

Zen Follower

Join Date:
Jun 2006
Posts:
298
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

When issuing a refund, is there a way to specify that I don't want it to change the order status? Every time I process a refund, it changes the order status to "pending". I just want it to use the current status instead.

1 Apr 2015, 1:53 PM
#489
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

abcisme:

When issuing a refund, is there a way to specify that I don't want it to change the order status? Every time I process a refund, it changes the order status to "pending". I just want it to use the current status instead.

Admin>Super Orders>Auto Status - Refund

This allows you to set the refund status, it won't actually keep the current status.

1 Apr 2015, 1:56 PM
#490
abcisme avatar

abcisme

Zen Follower

Join Date:
Jun 2006
Posts:
298
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

jeking:

Admin>Super Orders>Auto Status - Refund

This allows you to set the refund status, it won't actually keep the current status.

Yes, I'm aware of that setting. I would like to disable the feature completely and specify that the current status is used when issuing a refund.

1 Apr 2015, 3:19 PM
#491
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

abcisme:

When issuing a refund, is there a way to specify that I don't want it to change the order status? Every time I process a refund, it changes the order status to "pending". I just want it to use the current status instead.

jeking:

Admin>Super Orders>Auto Status - Refund

This allows you to set the refund status, it won't actually keep the current status.

abcisme:

Yes, I'm aware of that setting. I would like to disable the feature completely and specify that the current status is used when issuing a refund.
That is how the feature works.. To change this behavior, would require some code changes.. I don't have time to look at the specifics of what would need to be done.. Maybe someone else can share the changes you would need to make..

Depending on how you manage your store, another option to consider is that if there some particular FINAL status that you set ALL your orders to and you want to retain that status (ie: Paid, Shipped, Completed, whatever), you could set the refund status setting to match that status..

27 Apr 2015, 4:56 PM
#492
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

Small bug in YOUR_ADMIN/includes/functions/extra_functions/super_orders_functions.php line 49 -
$comments should be zen_db_prepare_input($comments).
Without this you'll get a log (and a db update failure) if you put a single quoted string or an apostrophe in the comments.

27 Apr 2015, 8:33 PM
#493
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

swguy:

Small bug in YOUR_ADMIN/includes/functions/extra_functions/super_orders_functions.php line 49 -
$comments should be zen_db_prepare_input($comments).
Without this you'll get a log (and a db update failure) if you put a single quoted string or an apostrophe in the comments.

can you do me a solid and submit a PR with the right fix.. :smile: I planned to submit this and IH4 this week.. If there's a bug, would be nice to get it fixed up.. :smile:

27 Apr 2015, 9:19 PM
#494
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

All Done.

28 Apr 2015, 6:06 AM
#495
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

swguy:

All Done.

You are AWESOME!!! :smile:

30 Apr 2015, 4:25 AM
#496
explorer1979 avatar

explorer1979

Inactive

Join Date:
Jan 2007
Posts:
377
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

Attachment #15238

Hi,

I am using the Super Order 4.0.9 with Edit Order 4.1.4 on ZC 1.5.1

But ... On the Batch From Printing ...
I am not sure why on the bottom of the Invoice it not show up the Customers Comments and Status Text.

If click "Edit" I can see them text on the invoice, so mean the MySQL inside have date in it ...

Which files that I need look for to fix this?

Thank you very much and the value time to help.

Best Regards,
Jimmy Chan
http://www.jimmychan.tk

8 May 2015, 7:45 PM
#497
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

Bug in admin??

I never noticed it before so don't know if this is new or not. When entering a multi-line comment the line breaks aren't happening correctly.

When I enter:
one
two
three

it displays as:
one\r\ntwo\r\nthree

This is with version 4.0.10 on a 1.5.4 Zen Cart (two actually)

The customer email displays correctly.

12 May 2015, 10:57 PM
#498
jpietrowiak avatar

jpietrowiak

Zen Follower

Join Date:
May 2009
Posts:
122
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

Hi All, I am not sure but I believe this is a bug with the purchase order mod at checkout. I have searched around and cannot find anyone with similar questions. What I have found is that the state sometimes displays as WI or Wisconsin. Not anything that it seems to mess up other than exported state reports, but wanted to mention it. My cart has recently been upgraded to 1.5.4 however this has been a long problem at least since 1.5.1 maybe even 1.3.9. The way I can notice this is two ways. When printing a packing slip or from viewing an order on orders.php page. For example

Checking out with purchase order address is displayed like this

Company Name
James Brown
5555 zencart way
City, Wisconsin 53098

When a normal credit card order goes through it is displayed like this.

Company Name
James Brown
5555 zencart way
City, WI 53098

Anybody else have this issue?
Thanks

Jamey

13 May 2015, 5:20 AM
#499
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

jpietrowiak:

Hi All, I am not sure but I believe this is a bug with the purchase order mod at checkout. I have searched around and cannot find anyone with similar questions. What I have found is that the state sometimes displays as WI or Wisconsin. Not anything that it seems to mess up other than exported state reports, but wanted to mention it. My cart has recently been upgraded to 1.5.4 however this has been a long problem at least since 1.5.1 maybe even 1.3.9. The way I can notice this is two ways. When printing a packing slip or from viewing an order on orders.php page. For example

Checking out with purchase order address is displayed like this

Company Name
James Brown
5555 zencart way
City, Wisconsin 53098

When a normal credit card order goes through it is displayed like this.

Company Name
James Brown
5555 zencart way
City, WI 53098

Anybody else have this issue?
Thanks

Jamey

I believe this is an issue with how the customer record was created not the PO module that comes with Super Orders.. PO module that comes with Super Orders is a static payment module that collects nor modifies any customer data.. It hasn't changed in YEARS and could not cause the issue you report.. Any chance you are using one of the "Add Customers from Admin" modules???

13 May 2015, 5:24 AM
#500
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

jeking:

Bug in admin??

I never noticed it before so don't know if this is new or not. When entering a multi-line comment the line breaks aren't happening correctly.

When I enter:
one
two
three

it displays as:
one\r\ntwo\r\nthree

This is with version 4.0.10 on a 1.5.4 Zen Cart (two actually)

The customer email displays correctly.

I haven't seen this.. Sounds new..