Archived topic
How to display WooCommerce meta items created via CF?
1 reply · Started by Sascha on July 6, 2022
Hey there,
please, allow me to handle this request here, since I use both GPP & GBP and would like to keep all my support tickets here and also, I'm not sure if this issue is rather related to GPP or GBP ;-)
I've created a WooCommerce product, which has some custom fields (CF), which should be filled during the order process, and later the CF should be displayed within each order in "My Account" area.
CF:
- location
- date
- hairdresser
The CF are added and assigned to the products-post-type via the MetaBox-Plugin.
Now I wonder about how to accomplish the following requirements:
1. How to include these CF within the order/purchase process?
2. How to display these CF in my-account > Orders > single Order? Or will they be automatically rendered already?
Thank you in advance and kind regards,
Sascha
Hi there,
the Theme doesn't have any control over this, its 100% Woocommerces responsibility. I did find this Stack Exchange which provides a couple of methods to do this kind of thing:
https://stackoverflow.com/questions/41981493/adding-user-custom-field-value-to-order-items-details