Thread: Order Error
View Single Post
  #4 (permalink)  
Old 14-04-2008, 05:29 PM
Lawrence Lawrence is offline
Forum Admin
 
Join Date: Aug 2007
Location: Kenley, Surrey, UK
Posts: 1,347
Thanks: 3
Thanked 87 Times in 87 Posts
Default

That code is very wrong. This bit

PHP Code:
$messageStack->add(sprintf(ERROR_ORDER_DOES_NOT_EXIST$oID), 'error');
case 
'doRefund'
should be something like

PHP Code:
$messageStack->add(sprintf(ERROR_ORDER_DOES_NOT_EXIST$oID), 'error');
}
break;
case 
'doRefund'
I don't know which version of Zen you're running and your code snippet is quite different from the order.php file I checked against so I can't say 100% what has and hasn't been changed in your file. What I suggest you do is overwrite your admin/orders.php file with an original copy, though make sure you get it from the same version of Zen that is already installed in case the file has been changed between versions.
__________________
Lawrence
Reply With Quote