I want to point out the vender handle on checkout web page, the farest i’ve obtained is to point out it on single product web page, however not even on the product that’s on checkout web page, ideally is to print it someplace on the checkout however nothing what i attempted works.
<?php
add_action( 'woocommerce_before_single_product_summary','sold_by' );
operate sold_by(){
?>
<?php
international $product;
$vendor = get_post_field( 'post_author', $product->get_id());
$writer = get_user_by( 'id', $vendor );
$store_info = dokan_get_store_info( $author->ID );
if ( !empty( $store_info['store_name'] ) ) { ?>
<span class="particulars">
<?php printf( $store_info['address']['street_1']); ?>
</span>
<?php
}
}
?>