You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the latest opencart-master the customer custom fields do not populate on admin/view/template/customer_form.twig
Root cause:
In admin/controller/customer/customer.php line: 601 $data['account_custom_field'] = $customer_info['custom_field'];
Solution:
Change line 601 to $data['account_custom_field'] = json_decode($customer_info['custom_field'],true);
This was working in 4.0.2.3 which is listed as the most recent release, downloading the latest master shows version 4.1.0.0, not sure if I'm doing something wrong here!
The text was updated successfully, but these errors were encountered:
In the latest opencart-master the customer custom fields do not populate on admin/view/template/customer_form.twig
Root cause:
In admin/controller/customer/customer.php line: 601
$data['account_custom_field'] = $customer_info['custom_field'];
Solution:
Change line 601 to
$data['account_custom_field'] = json_decode($customer_info['custom_field'],true);
This was working in 4.0.2.3 which is listed as the most recent release, downloading the latest master shows version 4.1.0.0, not sure if I'm doing something wrong here!
The text was updated successfully, but these errors were encountered: