I don’t have a great answer for this. How are you attaching it to the woocommerce post type? Via the “Attach to Post Type” section when editing the taxonomy? Is it possible the metabox is getting registered properly, but it’s not showing up in the UI due to being unchecked in the “Screen Options” tab?
Ahh, I see. Everything is working like expected, except the details around the templates. The WooCommerce template files have no idea about your new taxonomy, and you will need to edit those appropriately. They’re not going to automatically pick up on the details.
Looks like you’d either want to override/customize templates/single-product/meta.php from WooCommerce or at minimum, use the hook at the end of that file to add your own output.
Markup for the bulk of the file:
<div class="product_meta">
<?php do_action( 'woocommerce_product_meta_start' ); ?>
<?php if ( wc_product_sku_enabled() && ( $product->get_sku() || $product->is_type( 'variable' ) ) ) : ?>
<span class="sku_wrapper"><?php esc_html_e( 'SKU:', 'woocommerce' ); ?> <span class="sku"><?php echo ( $sku = $product->get_sku() ) ? $sku : esc_html__( 'N/A', 'woocommerce' ); ?></span></span>
<?php endif; ?>
<?php echo wc_get_product_category_list( $product->get_id(), ', ', '<span class="posted_in">' . _n( 'Category:', 'Categories:', count( $product->get_category_ids() ), 'woocommerce' ) . ' ', '</span>' ); ?>
<?php echo wc_get_product_tag_list( $product->get_id(), ', ', '<span class="tagged_as">' . _n( 'Tag:', 'Tags:', count( $product->get_tag_ids() ), 'woocommerce' ) . ' ', '</span>' ); ?>
<?php do_action( 'woocommerce_product_meta_end' ); ?>
</div>
Note the “woocommerce_product_meta_end” action hook.
I’d recommend reading over https://docs.woocommerce.com/documentation/plugins/woocommerce/woocommerce-codex/theming/ as well, as necessary.
This is exactly what I found in meta. But have no idea how to put there new taxonomy. Seems like I need to order this to developer for my needs.
You’d need to use something like https://developer.wordpress.org/reference/functions/get_the_terms/ or https://developer.wordpress.org/reference/functions/get_the_term_list/. The $product->get_id() portion from above will fetch the product/post ID for the appropriate parameters. Then all that’s left is providing the taxonomy slug you set up.