Hi,
Before start, I dont know if this was posted before. So, Im sorry if it was. I'm going to share a hack that I did on my store. As i mentioned in the title, its simply allowing users to save HTML data into their order status descriptions. Here is the code:
In ps_order_status.php in line 117 and 151, change the field array which includes order_status_description, for both "add" and "update" functions.
Original:
$fields = array('order_status_code' => vmGet($d, 'order_status_code' ),
'order_status_name' => vmGet($d, 'order_status_name' ),
'order_status_description' => vmGet($d, 'order_status_description'),
'list_order' => vmRequest::getInt('list_order' )
);
Change to this:
$fields = array('order_status_code' => vmGet($d, 'order_status_code' ),
'order_status_name' => vmGet($d, 'order_status_name' ),
'order_status_description' => vmGet($d, 'order_status_description' ,'',VMREQUEST_ALLOWRAW),
'list_order' => vmRequest::getInt('list_order' )
);
Hope this helps.
Ps: I'm using J! 1.5.14 + VM 1.1.3
Sorry for my English.
Khan..