In blog

<?php global $product;

		$author     = get_user_by( 'id', $product->post->post_author );
    	$store_info = dokan_get_store_info( $author->ID );
		if ( !empty( $store_info['store_name'] ) ) { ?>
                <span class="details">
                	<?php echo $store_info['price']; ?>
                    <?php printf( '<a href="%s">%s</a>', dokan_get_store_url($author->ID), $author->display_name ); ?>
                </span>
 		<?php } ?>

Recent Posts

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0

Start typing and press Enter to search