<?php
/**
 * @var Price $price
 * @var bool $checked
 * @var bool $hidden
 */

use StoreEngine\Classes\Price;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound

$id_attr = 'product-price-' . $price->get_product_id() . '-' . $price->get_id();

?>
<div class="storeengine-single-product-simple-price">
	<input type="hidden" name="price_id" value="<?php echo esc_attr( $price->get_id() ); ?>"/>
	<?php $price->print_price_html(); ?>
	<span class="storeengine-single-product-price-details"><?php $price->print_formatted_price_meta_html(); ?></span>
</div>
