The website I am working on requires new customers to enter a license number on the check out page. Once they pay for a course, they will be logged in and their license number needs to reflect on their Account page. Furthermore, I need to have a field set up in the wp-admin back end that will allow admins to edit this license number on behalf of users if need be. Lastly, when users complete their courses, the license # must appear on their certificate of completion. I created a field in ACF for this function but despite these rules being in place (see below) I cannot get the license number entered on the check out page reflecting on the account page, the certificate, or the admin side (when a user enters a license # at check out, admin should be able to see what they entered via the “users” area of WordPress). The field on the check out page for the license number was set up through the WooCommerce check out fields area. Am I missing something here with these rules? I’ve tried the rules shown below, plus many other variations yet I’m not getting the desired results. Any feedback is much appreciated, thank you.
Field type is “Text area”.
Settings > Location Rules, set up is as follows:
Rules
Show this field group if
Current user role is equal to administrator AND
Current user is equal to Viewing back end
OR
Current user is equal to Logged in
OR
Page is equal to My Courses AND
Current user role is equal to Customer
OR
Page is equal to Checkout