I've just tried to create a new custom order field to capture the customer's IP address, and it looks like there's a bug in the query that drives the Utility Settings | Custom Fields screen in the admin interface.
I'm able to add and save a new custom order field, but when the admin screen attempts to redraw after the field is saved, I get an error message pop up that says:
Code:
Miva Merchant returned an invalid response. Module: customfields Function: CustomFieldList_Load_Query Response: { "success": 1, "data": { "total_count": 28, "start_offset": 0, "data": [ { "id": 29, "code": "0", "name": "ip_address", "type": "order", "formatted_type": "Order", "fieldtype": "textfield", "formatted_fieldtype": "Text Field", "info": "", "group_id": IP Address, "formatted_group": "", "additional_options": [ ] } ,{ "id": 28, "code": "alsobought", "name": "Also Bought", "type": "product", "formatted_type": "Product", "fieldtype": "textfield", "formatted_fieldtype": "Text Field", "info": "", "group_id": 0, "formatted_group": "\u003cDefault\u003e", "additional_options": [ ]
id | group_id | code | name | fieldtype | info |
29 | 0 | ip_address | IP Address | textfield |
When I delete that record from the database table, the admin screen draws correctly again.
Leave a comment: