Advance custom field user details auto populate in woocommerce product
-
I have built a site for appartment owners in a resort complex. I have created a selection field with advanced custom fields with a list a key number codes. Each user has a unique key code that is saved in the profile of the user. Once a user is logged in and they purchase a key from the store i want the ‘key code’ to auto populate in a field on the product page when they go to add the key to cart.
i have created the field with rules:
rule 1: post equal to product
rule 2: post equal to ‘key’ categoryI can see the drop down list in the product page on the back end but its not showing when you view the product on the website as the logged in user.
Can someone please tell me what other steps i need to do to have the ‘key code’ show on the product page for the user
- The topic ‘Advance custom field user details auto populate in woocommerce product’ is closed to new replies.