Error in admin/controllers/orders.php 3.12.1???

07.12.2012 14:58
#1
federa
Joomshopping forum user no avatar
Name: federa
31.12.2011
Posts: 6
Quote
Error in admin/controllers/orders.php 3.12.1???

I've found a little difference between the 3.12.0 and the 3.12.1 versions of the orders.php file.

In the last one you have placed this
foreach($jshopConfig->user_field_client_type as $key=>$value){

In the first
foreach($jshopConfig->user_field_client_type as $key =>$value){

--- with a space between $key and => ---

I've noted that with the last version of the file, in the order list, if there is a "notfinished" order the link "complete order" under the column "update order" it's not visible.

I think is that the solution ..... I ask if it's a bug or a desired change?

Tx


Joomla: Joomla! 2.5.7
JoomShopping: 3.12.1
 
07.12.2012 15:07
#2
federa
Joomshopping forum user no avatar
Name: federa
31.12.2011
Posts: 6
Quote
Aw: Error in admin/controllers/orders.php 3.12.1???

To get a better service from the shop ... I suggest to have an administrator notification by mail when an order is not finished.

Waiting this I've changed the code

$notfinished = $mainframe->getUserStateFromRequest( $context.'notfinished', 'notfinished', 0 );

to

$notfinished = $mainframe->getUserStateFromRequest( $context.'notfinished', 'notfinished', 1 );

.... so now I have the "view not-finished order" always on ...

 
Copyrights MAXXmarketing GmbH. All Rights Reserved