Hi all,
I am a newbie with ACF.
I have an online store and I would like to use ACF to extract the product dimensions (Length, Height, Wide, Weight) that I previously entered for each product (Under the Shipping section)
Is there a way to create a field named Height for example and ACF will extract the value from the product data?
I hope I managed to explain correctly..
Thanks!
Alon
Why do you want to use ACF to duplicate this info? WooCommerce stores that data in meta key/value pairs already. For instance, you can access length with something like:
<?php echo get_post_meta($post->ID, '_length', true); ?>
Your approach is great!
Thank you for your reply!