Created
July 29, 2022 06:36
-
-
Save mrkdevelopment/7b64e3638c911a4b15f8ec8d5ebcbf9e to your computer and use it in GitHub Desktop.
Display WooCommerce data for Attributes in the meta area of template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action('woocommerce_product_meta_start',function(){ | |
global $product; | |
echo wc_display_product_attributes( $product ); | |
}); |
All my WooCommerce tips can be found here - https://www.mrkwp.com/category/tutorials/woocommerce-tips/
Im adding to it all the time. My youtube channel may also be a good resource for you.
Thanks for the feedback - glad it all worked for you.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
let me know if you have more functions for woocommerce which can be helpful to me