Pulling and Displaying Data
-
Hey guys,
I’m creating an e-learning course that will award the student with a certificate when they finish the course. This certificate will have a dynamic field.
When the User purchases this course at the checkout page, I put an additional field using the Checkout Fields Manager plugin by QuadLayers where the User will have to input a five digit number. The certificate will have a dynamic field that will display this info.
What I think the strategy would be to accomplish this is to: create additional code that will be added to the theme’s php file. This code will have to pull this information from each order and display it on each certificate through shortcode.
How would I be able to call this data from a WooCommerce Additional Field (each User enters different values when they purchase the course) and display it through shortcode? I appreciate any help.
Here’s the info for the additional field:
Field id: 0
Field key: #additional_wooccm0ForwardPatrol
- The topic ‘Pulling and Displaying Data’ is closed to new replies.