Just installed Wordpress with BeTheme and Woocommerce in it and faced the following problem: when enter single product page there is Next-Prev buttons showing some info about next-prev product - name, date of upload, picture. Now I want to add price also but nothing found in StackOverflow works for me.
Here is my code, want to add the price instead of the date.
If need can provide the code of theme-shortcodes.php file.
Thank you in advance.
if( is_object( $post ) ){
// move this DOM element with JS
$output .= '<a class="fixed-nav fixed-nav-'. $next_prev .' format-'. get_post_format( $post ) .'" href="'. get_permalink( $post ) .'">';
$output .= '<span class="arrow"><i class="'. $icon .'"></i></span>';
$output .= '<div class="photo">';
$output .= get_the_post_thumbnail( $post->ID, 'blog-navi' );
$output .= '</div>';
$output .= '<div class="desc">';
$output .= '<h6>'. get_the_title( $post ) .'</h6>';
$output .= '<span class="date"><i class="icon-clock"></i>'. get_the_date(get_option('date_format'), $post->ID) .'</span>';
$output .= '</div>';
$output .= '</a>';
}