<?php
/**
 * Custom Order Item Columns admin
 *
 * @package WooCommerce\Admin\Settings
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

?>

<p class="submit">
    <button
            type="button"
            id="download-preview-button"
            name="download_preview"
            class="button-primary"
		<?php echo empty($view_data['templates']) ? esc_attr( 'disabled' ) : ''; ?>
    >
		<?php esc_html_e('Download preview', 'orderbridge-for-woocommerce'); ?>
    </button>
</p>