Thanks, John. I was able to figure out how to pull from the user level using the following function:
function my_get_customernumber( $uid ) {
return get_field( ‘CustomerNo’, ‘user_’ . $uid );
But now I’m struggling to figure out how to pull another field from the product level. Below is what I tried but it’s not working.
function my_get_brand( $uid ) {
return get_field( ‘brand’, ‘product_’ . $product_id );
I’m assuming what I have in bold above may need to be changed to something else. Any idea what I’m doing wrong?