
<?php

// Prevent direct access
if ( ! defined( 'ABSPATH' ) ) {
    exit;
}
?>

<button type="submit" name="add-to-cart" value="<?php echo esc_html($product->get_id()) ?>" class="single_add_to_cart_button button alt" id="buy_now_button">Buy Now</button><input type="hidden" name="is_buy_now" id="is_buy_now" value="0" />
<?php wp_nonce_field('unify_buy_now_nonce'); ?>
