woocommerce/includes/admin/views/html-notice-no-shipping-met...

38 lines
1.3 KiB
PHP
Raw Normal View History

2016-03-31 17:54:33 +00:00
<?php
/**
* Admin View: Notice - No Shipping methods.
2019-04-25 17:12:45 +00:00
*
* @package WooCommerce\Admin\Notices
2016-03-31 17:54:33 +00:00
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div id="message" class="updated woocommerce-message">
2019-04-25 17:12:45 +00:00
<a class="woocommerce-message-close notice-dismiss" href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'wc-hide-notice', 'no_shipping_methods' ), 'woocommerce_hide_notices_nonce', '_wc_notice_nonce' ) ); ?>">
<?php esc_html_e( 'Dismiss', 'woocommerce' ); ?>
</a>
2016-03-31 17:54:33 +00:00
2019-04-25 17:12:45 +00:00
<p class="main">
<strong>
<?php esc_html_e( 'Add shipping methods &amp; zones', 'woocommerce' ); ?>
</strong>
</p>
<p>
<?php esc_html_e( 'Shipping is currently enabled, but you have not added any shipping methods to your shipping zones.', 'woocommerce' ); ?>
</p>
<p>
<?php esc_html_e( 'Customers will not be able to purchase physical goods from your store until a shipping method is available.', 'woocommerce' ); ?>
</p>
2016-03-31 17:54:33 +00:00
<p class="submit">
2019-04-25 17:12:45 +00:00
<a class="button-primary" href="<?php echo esc_url( admin_url( 'admin.php?page=wc-settings&tab=shipping' ) ); ?>">
<?php esc_html_e( 'Setup shipping zones', 'woocommerce' ); ?>
</a>
<a class="button-secondary" href="https://docs.woocommerce.com/document/setting-up-shipping-zones/">
<?php esc_html_e( 'Learn more about shipping zones', 'woocommerce' ); ?>
</a>
2016-03-31 17:54:33 +00:00
</p>
</div>