<?php/** * Admin View: Notice - Legacy Shipping. */if(!defined('ABSPATH')){exit;}?><divid="message"class="updated woocommerce-message woocommerce-legacy-shipping-notice"><aclass="woocommerce-message-close notice-dismiss"href="<?phpechoesc_url(wp_nonce_url(add_query_arg('wc-hide-notice','legacy_shipping'),'woocommerce_hide_notices_nonce','_wc_notice_nonce'));?>"><?php_e('Dismiss','woocommerce');?></a><pclass="main"><strong><?php_e('New:','woocommerce');?><?php_e('Shipping zones','woocommerce');?></strong>–<?php_e('a group of regions that can be assigned different shipping methods and rates.','woocommerce');?></p><p><?php_e('Legacy shipping methods (flat rate, international flat rate, local pickup and delivery, and free shipping) are deprecated but will continue to work as normal for now. <b><em>They will be removed in future versions of WooCommerce</em></b>. We recommend disabling these and setting up new rates within shipping zones as soon as possible.','woocommerce');?></p><pclass="submit"><?phpif(empty($_GET['page'])||empty($_GET['tab'])||'wc-settings'!==$_GET['page']||'shipping'!==$_GET['tab']):?><aclass="button-primary"href="<?phpechoesc_url(admin_url('admin.php?page=wc-settings&tab=shipping'));?>"><?php_e('Setup shipping zones','woocommerce');?></a><?phpendif;?><aclass="button-secondary"href="https://docs.woocommerce.com/document/setting-up-shipping-zones/"><?php_e('Learn more about shipping zones','woocommerce');?></a></p></div>