nicolas wrote:
By default, HikaShop only display the "pay now" button for orders with the status set in the option "Default order status" of the configuration.
If you want to display it for another status, you will have to edit the file listing of the view order of the front end for your template via the menu Display->Views and add the line:
if($row->order_status=='MY_STATUS') $row->show_payment_button true;
after the line:
$row =& $this->rows[$i];
You of course have to change the MY_STATUS text by your status name.
I added the line if($row->order_status=='pending_payment') $row->show_payment_button true;
then i doubled checked that my order status is in fact named pending payment. I did a test order to see if the button would show up and I got this error when trying to visit the order listing page. "
Parse error: syntax error, unexpected T_STRING in com_hikashop/order/listing.php on line 83"