<div class="clearfix stm-boats-single-top">
	<div class="pull-right">
		<!--Prices-->
		<div class="stm-boats-single-price">
			<?php get_template_part('partials/single-car-boats/boat', 'price'); ?>
		</div>
	</div>
	<h1 class="title h2"><?php echo stm_generate_title_from_slugs(get_the_id()); ?></h1>
</div>

<?php
$show_stock = stm_me_get_wpcfto_mod('show_stock', false);
$stock_number = get_post_meta(get_the_id(),'stock_number',true);
if($show_stock and !empty($stock_number)):
?>
	<div class="boats-stock">
		<?php esc_html_e('Stock#', 'motors'); ?>
		<strong><?php echo esc_attr($stock_number); ?></strong>
	</div>
<?php endif; ?>