HTML for shipping and tax options

This commit is contained in:
Mike Jolley 2015-04-22 15:30:50 +01:00
parent 9f792244b4
commit 030ac9c50e
6 changed files with 243 additions and 36 deletions

View File

@ -1 +1 @@
.wc-install-content p,.wc-install-content table{font-size:1em;line-height:1.75em;color:#666}body{margin:100px auto 24px;box-shadow:none;background:#f1f1f1;padding:0}#wc-logo{border:0;margin:0 0 24px;padding:0;text-align:center}#wc-logo img{max-width:50%}.wc-install-content{box-shadow:0 1px 3px rgba(0,0,0,.13);padding:24px 24px 0;background:#fff;overflow:hidden;zoom:1}.wc-install-content h1,.wc-install-content h2,.wc-install-content h3,.wc-install-content table{margin:0 0 24px;border:0;padding:0;color:#666}.wc-install-content p{margin:0 0 24px}.wc-install-content a{color:#A16696}.wc-install-content a:focus,.wc-install-content a:hover{color:#111}.wc-install-content .form-table tbody th{width:40%;vertical-align:top;font-weight:400}.wc-install-content .form-table tbody td{vertical-align:top}.wc-install-content .form-table tbody td input,.wc-install-content .form-table tbody td select{width:100%;box-sizing:border-box}.wc-install-content .form-table tbody td input[size]{width:auto}.wc-install-content .form-table tbody td .description{line-height:1.5em;display:block;margin-top:.25em;color:#999;font-style:italic}.wc-install-content .form-table tbody td,.wc-install-content .form-table tbody th{padding:12px 0;margin:0;border:0}.wc-install-content .form-table tbody td:first-child,.wc-install-content .form-table tbody th:first-child{padding-right:1em}.wc-install-content .wc-install-pages{width:100%;border-top:1px solid #eee}.wc-install-content .wc-install-pages thead th{display:none}.wc-install-content .wc-install-pages .page-name{width:30%;font-weight:700}.wc-install-content .wc-install-pages td,.wc-install-content .wc-install-pages th{padding:14px 0;border-bottom:1px solid #eee}.wc-install-content .wc-install-pages td:first-child,.wc-install-content .wc-install-pages th:first-child{padding-right:9px}.wc-install-content .wc-install-pages th{padding-top:0}.wc-install-content .wc-install-pages .page-options p{margin:6px 0 0 24px}@media screen and (max-width:782px){.wc-install-content .form-table tbody th{width:auto}}.wc-install-steps{padding:0 0 24px;margin:0;list-style:none;overflow:hidden;color:#ccc}.wc-install-steps li{width:20%;float:left;padding:0 0 1em;margin:0;text-align:center;position:relative;border-bottom:4px solid #ccc;line-height:1}.wc-install-steps li:before{content:"";border:4px solid #ccc;border-radius:100%;width:4px;height:4px;position:absolute;bottom:0;left:50%;margin-left:-6px;margin-bottom:-8px;background:#fff}.wc-install-steps li.active{border-color:#A16696;color:#A16696}.wc-install-steps li.active:before{border-color:#A16696}.wc-install-steps li.done{border-color:#A16696;color:#A16696}.wc-install-steps li.done:before{border-color:#A16696;background:#A16696}.wc-setup .wc-install-actions{overflow:hidden}.wc-setup .wc-install-actions .button{float:left;font-size:1.5em;padding:.5em 1em;line-height:1em;height:auto}.wc-setup .wc-install-actions .button-primary{float:right;opacity:1;background-color:#A16696;border-color:#A16696;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 0 rgba(0,0,0,.15)}
body{margin:100px auto 24px;box-shadow:none;background:#f1f1f1;padding:0}#wc-logo{border:0;margin:0 0 24px;padding:0;text-align:center}#wc-logo img{max-width:50%}.wc-install-content{box-shadow:0 1px 3px rgba(0,0,0,.13);padding:24px 24px 0;background:#fff;overflow:hidden;zoom:1}.wc-install-content h1,.wc-install-content h2,.wc-install-content h3,.wc-install-content table{margin:0 0 24px;border:0;padding:0;color:#666}.wc-install-content p{margin:0 0 24px;font-size:1em;line-height:1.75em;color:#666}.wc-install-content table{font-size:1em;line-height:1.75em;color:#666}.wc-install-content a{color:#A16696}.wc-install-content a:focus,.wc-install-content a:hover{color:#111}.wc-install-content .form-table th{width:35%;vertical-align:top;font-weight:400}.wc-install-content .form-table td{vertical-align:top}.wc-install-content .form-table td input,.wc-install-content .form-table td select{width:100%;box-sizing:border-box}.wc-install-content .form-table td input[size]{width:auto}.wc-install-content .form-table td .description{line-height:1.5em;display:block;margin-top:.25em;color:#999;font-style:italic}.wc-install-content .form-table td .input-checkbox,.wc-install-content .form-table td .input-radio{width:auto;box-sizing:inherit;padding:inherit;margin:0 .5em 0 0;box-shadow:none}.wc-install-content .form-table .section_title td{padding:0}.wc-install-content .form-table .section_title td h2,.wc-install-content .form-table .section_title td p{margin:12px 0 0}.wc-install-content .form-table td,.wc-install-content .form-table th{padding:12px 0;margin:0;border:0}.wc-install-content .form-table td:first-child,.wc-install-content .form-table th:first-child{padding-right:1em}.wc-install-content .form-table table.tax-rates{width:100%;margin:12px 0}.wc-install-content .form-table table.tax-rates th{padding:0 6px;text-align:center;width:auto;vertical-align:middle}.wc-install-content .form-table table.tax-rates td{border:1px solid #eee;padding:6px;text-align:center;vertical-align:middle}.wc-install-content .form-table table.tax-rates td input{outline:0;border:0;padding:0;box-shadow:none;text-align:center}.wc-install-content .form-table table.tax-rates td.sort{cursor:move;color:#ccc}.wc-install-content .form-table table.tax-rates td.sort:before{content:"\f333";font-family:dashicons}.wc-install-content .form-table table.tax-rates .add{padding:1em 0 0 1em;line-height:1em;font-size:1em;width:0;margin:6px 0 0;height:0;overflow:hidden;position:relative;display:inline-block}.wc-install-content .form-table table.tax-rates .add:before{content:"\f502";font-family:dashicons;position:absolute;left:0;top:0}.wc-install-content .form-table table.tax-rates .remove{padding:1em 0 0 1em;line-height:1em;font-size:1em;width:0;margin:0;height:0;overflow:hidden;position:relative;display:inline-block}.wc-install-content .form-table table.tax-rates .remove:before{content:"\f182";font-family:dashicons;position:absolute;left:0;top:0}.wc-install-content .wc-install-pages{width:100%;border-top:1px solid #eee}.wc-install-content .wc-install-pages thead th{display:none}.wc-install-content .wc-install-pages .page-name{width:30%;font-weight:700}.wc-install-content .wc-install-pages td,.wc-install-content .wc-install-pages th{padding:14px 0;border-bottom:1px solid #eee}.wc-install-content .wc-install-pages td:first-child,.wc-install-content .wc-install-pages th:first-child{padding-right:9px}.wc-install-content .wc-install-pages th{padding-top:0}.wc-install-content .wc-install-pages .page-options p{color:#777;margin:6px 0 0 24px;line-height:1.75em}.wc-install-content .wc-install-pages .page-options p input{vertical-align:middle;margin:1px 0 0;height:1.75em;width:1.75em;line-height:1.75em}.wc-install-content .wc-install-pages .page-options p label{line-height:1}@media screen and (max-width:782px){.wc-install-content .form-table tbody th{width:auto}}.wc-install-steps{padding:0 0 24px;margin:0;list-style:none;overflow:hidden;color:#ccc}.wc-install-steps li{width:20%;float:left;padding:0 0 1em;margin:0;text-align:center;position:relative;border-bottom:4px solid #ccc;line-height:1}.wc-install-steps li:before{content:"";border:4px solid #ccc;border-radius:100%;width:4px;height:4px;position:absolute;bottom:0;left:50%;margin-left:-6px;margin-bottom:-8px;background:#fff}.wc-install-steps li.active{border-color:#A16696;color:#A16696}.wc-install-steps li.active:before{border-color:#A16696}.wc-install-steps li.done{border-color:#A16696;color:#A16696}.wc-install-steps li.done:before{border-color:#A16696;background:#A16696}.wc-setup .wc-install-actions{overflow:hidden}.wc-setup .wc-install-actions .button{float:right;font-size:1.25em;padding:.5em 1em;line-height:1em;margin-right:.5em;height:auto}.wc-setup .wc-install-actions .button-primary{margin:0;float:right;opacity:1;background-color:#A16696;border-color:#A16696;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 0 rgba(0,0,0,.15)}

View File

@ -44,35 +44,115 @@ body {
}
}
.form-table {
tbody {
th {
width: 35%;
vertical-align: top;
font-weight: normal;
}
td {
vertical-align: top;
select, input {
width: 100%;
box-sizing: border-box;
}
input[size] {
width: auto;
}
.description {
line-height: 1.5em;
display: block;
margin-top: .25em;
color: #999;
font-style: italic;
}
.input-checkbox, .input-radio {
width: auto;
box-sizing: inherit;
padding: inherit;
margin: 0 .5em 0 0;
box-shadow: none;
}
}
.section_title {
td {
padding: 0;
h2, p {
margin: 12px 0 0;
}
}
}
th, td {
padding: 12px 0;
margin: 0;
border: 0;
&:first-child {
padding-right: 1em;
}
}
table.tax-rates {
width: 100%;
margin: 12px 0;
th {
width: 40%;
vertical-align: top;
font-weight: normal;
padding: 0 6px;
text-align: center;
width: auto;
vertical-align: middle;
}
td {
vertical-align: top;
select, input {
width: 100%;
box-sizing: border-box;
border: 1px solid #eee;
padding: 6px 6px;
text-align: center;
vertical-align: middle;
input {
outline: 0;
border: 0;
padding: 0;
box-shadow: none;
text-align: center;
}
input[size] {
width: auto;
}
.description {
line-height: 1.5em;
display: block;
margin-top: .25em;
color: #999;
font-style: italic;
&.sort {
cursor: move;
color: #ccc;
&:before {
content: "\f333";
font-family: 'dashicons';
}
}
}
th, td {
padding: 12px 0;
.add {
padding: 1em 0 0 1em;
line-height: 1em;
font-size: 1em;
width: 0;
margin: 6px 0 0;
height: 0;
overflow: hidden;
position: relative;
display: inline-block;
&:before {
content: "\f502";
font-family: 'dashicons';
position: absolute;
left: 0;
top: 0;
}
}
.remove {
padding: 1em 0 0 1em;
line-height: 1em;
font-size: 1em;
width: 0;
margin: 0;
border: 0;
&:first-child {
padding-right: 1em;
height: 0;
overflow: hidden;
position: relative;
display: inline-block;
&:before {
content: "\f182";
font-family: 'dashicons';
position: absolute;
left: 0;
top: 0;
}
}
}
@ -99,7 +179,19 @@ body {
}
.page-options {
p {
color: #777;
margin: 6px 0 0 24px;
line-height: 1.75em;
input {
vertical-align: middle;
margin: 1px 0 0 0;
height: 1.75em;
width: 1.75em;
line-height: 1.75em;
}
label {
line-height: 1;
}
}
}
}
@ -161,13 +253,15 @@ body {
.wc-setup .wc-install-actions {
overflow: hidden;
.button {
float: left;
font-size: 1.5em;
float: right;
font-size: 1.25em;
padding: .5em 1em;
line-height: 1em;
margin-right: .5em;
height: auto;
}
.button-primary {
margin: 0;
float: right;
opacity: 1;
background-color: #A16696;

View File

@ -25,4 +25,24 @@ jQuery(function( $ ) {
}
}).change();
$('input[name="enable_shipping"]').change(function(){
if ( $(this).is( ':checked' ) ) {
$(':input[name="shipping_cost_domestic"]').closest('tr').show();
$(':input[name="shipping_cost_international"]').closest('tr').show();
} else {
$(':input[name="shipping_cost_domestic"]').closest('tr').hide();
$(':input[name="shipping_cost_international"]').closest('tr').hide();
}
}).change();
$('input[name="woocommerce_calc_taxes"]').change(function(){
if ( $(this).is( ':checked' ) ) {
$(':input[name="woocommerce_prices_include_tax"]').closest('tr').show();
$('tr.tax-rates').show();
} else {
$(':input[name="woocommerce_prices_include_tax"]').closest('tr').hide();
$('tr.tax-rates').hide();
}
}).change();
});

View File

@ -1 +1 @@
jQuery(function(a){var b=a.parseJSON(wc_setup_params.locale_info);a('select[name="store_location"]').change(function(){var c=a(this).val(),d=c.split(":")[0],e=b[d],f=["thousand_sep","decimal_sep","num_decimals","currency_pos"];e?a.each(e,function(b,c){a(':input[name="'+b+'"]').val(c).change(),-1!=a.inArray(b,f)&&a(':input[name="'+b+'"]').closest("tr").hide()}):(a(':input[name="currency_code"]').val("").change(),a(':input[name="currency_pos"]').val("left").change().closest("tr").show(),a(':input[name="thousand_sep"]').val(",").change().closest("tr").show(),a(':input[name="decimal_sep"]').val(".").change().closest("tr").show(),a(':input[name="num_decimals"]').val("2").change().closest("tr").show())}).change()});
jQuery(function(a){var b=a.parseJSON(wc_setup_params.locale_info);a('select[name="store_location"]').change(function(){var c=a(this).val(),d=c.split(":")[0],e=b[d],f=["thousand_sep","decimal_sep","num_decimals","currency_pos"];e?a.each(e,function(b,c){a(':input[name="'+b+'"]').val(c).change(),-1!=a.inArray(b,f)&&a(':input[name="'+b+'"]').closest("tr").hide()}):(a(':input[name="currency_code"]').val("").change(),a(':input[name="currency_pos"]').val("left").change().closest("tr").show(),a(':input[name="thousand_sep"]').val(",").change().closest("tr").show(),a(':input[name="decimal_sep"]').val(".").change().closest("tr").show(),a(':input[name="num_decimals"]').val("2").change().closest("tr").show())}).change(),a('input[name="enable_shipping"]').change(function(){a(this).is(":checked")?(a(':input[name="shipping_cost_domestic"]').closest("tr").show(),a(':input[name="shipping_cost_international"]').closest("tr").show()):(a(':input[name="shipping_cost_domestic"]').closest("tr").hide(),a(':input[name="shipping_cost_international"]').closest("tr").hide())}).change(),a('input[name="woocommerce_calc_taxes"]').change(function(){a(this).is(":checked")?(a(':input[name="woocommerce_prices_include_tax"]').closest("tr").show(),a("tr.tax-rates").show()):(a(':input[name="woocommerce_prices_include_tax"]').closest("tr").hide(),a("tr.tax-rates").hide())}).change()});

View File

@ -8,7 +8,15 @@ return array(
'decimal_sep' => '.',
'num_decimals' => 2,
'weight_unit' => 'kg',
'dimension_unit' => 'cm'
'dimension_unit' => 'cm',
'tax_rates' => array(
'GB' => array(
'' => array(
'rate' => '20.0000',
'name' => 'VAT'
)
)
)
),
'NL' => array(
'currency_code' => 'EUR',

View File

@ -97,6 +97,8 @@ class WC_Admin_Welcome {
'locale_info' => json_encode( include( WC()->plugin_path() . '/i18n/locale-info.php' ) )
) );
wp_enqueue_style( 'dashicons' );
if ( ! empty( $_POST['save_step'] ) && isset( $this->steps[ $this->step ]['handler'] ) ) {
call_user_func( $this->steps[ $this->step ]['handler'] );
}
@ -128,7 +130,7 @@ class WC_Admin_Welcome {
<?php wp_admin_css( 'wc-setup', true ); ?>
<?php wp_admin_css( 'woocommerce_admin_styles', true ); ?>
<?php wp_print_scripts( 'wc-enhanced-select' ); ?>
<?php wp_print_scripts( 'wc-setup' ); ?>
<?php wp_print_scripts( 'wc-setup' ); do_action( 'admin_print_styles' ); ?>
</head>
<body class="wc-setup wp-core-ui">
<h1 id="wc-logo"><a href="http://woothemes.com/woocommerce"><img src="<?php echo WC()->plugin_url(); ?>/assets/images/woocommerce_logo.png" alt="WooCommerce" /></a></h1>
@ -201,7 +203,7 @@ class WC_Admin_Welcome {
<form method="post">
<table class="form-table">
<tr>
<th scope="row"><label for="store_location"><?php _e( 'Where is your store based?' ); ?></label></th>
<th scope="row"><label for="store_location"><?php _e( 'Where is your store based?', 'woocommerce' ); ?></label></th>
<td>
<select id="store_location" name="store_location" style="width:100%;" required data-placeholder="<?php _e( 'Choose a country&hellip;', 'woocommerce' ); ?>" class="wc-enhanced-select">
<?php WC()->countries->country_dropdown_options( $country, $state ); ?>
@ -223,7 +225,7 @@ class WC_Admin_Welcome {
</td>
</tr>
<tr>
<th scope="row"><label for="currency_pos"><?php _e( 'Currency Position' ); ?></label></th>
<th scope="row"><label for="currency_pos"><?php _e( 'Currency Position', 'woocommerce' ); ?></label></th>
<td>
<select id="currency_pos" name="currency_pos" class="wc-enhanced-select">
<option value="left"><?php echo __( 'Left', 'woocommerce' ); ?></option>
@ -234,19 +236,19 @@ class WC_Admin_Welcome {
</td>
</tr>
<tr>
<th scope="row"><label for="thousand_sep"><?php _e( 'Thousand Separator' ); ?></label></th>
<th scope="row"><label for="thousand_sep"><?php _e( 'Thousand Separator', 'woocommerce' ); ?></label></th>
<td>
<input type="text" id="thousand_sep" name="thousand_sep" size="2" value="" />
</td>
</tr>
<tr>
<th scope="row"><label for="decimal_sep"><?php _e( 'Decimal Separator' ); ?></label></th>
<th scope="row"><label for="decimal_sep"><?php _e( 'Decimal Separator', 'woocommerce' ); ?></label></th>
<td>
<input type="text" id="decimal_sep" name="decimal_sep" size="2" value="" />
</td>
</tr>
<tr>
<th scope="row"><label for="weight_unit"><?php _e( 'Which unit should be used for product weights?' ); ?></label></th>
<th scope="row"><label for="weight_unit"><?php _e( 'Which unit should be used for product weights?', 'woocommerce' ); ?></label></th>
<td>
<select id="weight_unit" name="weight_unit" class="wc-enhanced-select">
<option value="kg"><?php echo __( 'kg', 'woocommerce' ); ?></option>
@ -257,7 +259,7 @@ class WC_Admin_Welcome {
</td>
</tr>
<tr>
<th scope="row"><label for="dimension_unit"><?php _e( 'Which unit should be used for product dimensions?' ); ?></label></th>
<th scope="row"><label for="dimension_unit"><?php _e( 'Which unit should be used for product dimensions?', 'woocommerce' ); ?></label></th>
<td>
<select id="dimension_unit" name="dimension_unit" class="wc-enhanced-select">
<option value="m"><?php echo __( 'm', 'woocommerce' ); ?></option>
@ -330,7 +332,7 @@ class WC_Admin_Welcome {
<div class="page-options">
<p><input type="checkbox" checked="checked" name="woocommerce_enable_guest_checkout" id="woocommerce_enable_guest_checkout" /> <label for="woocommerce_enable_guest_checkout"><?php _e( 'Enable guest checkout', 'woocommerce' ); ?></label></p>
<p><input type="checkbox" checked="checked" name="woocommerce_enable_signup_and_login_from_checkout" id="woocommerce_enable_signup_and_login_from_checkout" /> <label for="woocommerce_enable_signup_and_login_from_checkout"><?php _e( 'Enable registration on the "Checkout" page', 'woocommerce' ); ?></label></p>
<p><input type="checkbox" checked="checked" name="woocommerce_enable_signup_and_login_from_checkout" id="woocommerce_enable_signup_and_login_from_checkout" /> <label for="woocommerce_enable_signup_and_login_from_checkout"><?php _e( 'Enable registration form', 'woocommerce' ); ?></label></p>
</div>
</td>
</tr>
@ -339,7 +341,7 @@ class WC_Admin_Welcome {
<td>
<?php _e( 'Registered customers will be able to go to this page to manage their account details and view past orders.', 'woocommerce' ); ?>
<div class="page-options">
<p><input type="checkbox" checked="checked" name="woocommerce_enable_myaccount_registration" id="woocommerce_enable_myaccount_registration" /> <label for="woocommerce_enable_myaccount_registration"><?php _e( 'Enable registration on the "My Account" page', 'woocommerce' ); ?></label></p>
<p><input type="checkbox" checked="checked" name="woocommerce_enable_myaccount_registration" id="woocommerce_enable_myaccount_registration" /> <label for="woocommerce_enable_myaccount_registration"><?php _e( 'Enable registration form', 'woocommerce' ); ?></label></p>
</div>
</td>
</tr>
@ -376,7 +378,90 @@ class WC_Admin_Welcome {
* Shipping and taxes
*/
public function wc_setup_shipping_taxes() {
?>
<h1><?php _e( 'Shipping &amp; Tax Setup', 'woocommerce' ); ?></h1>
<form method="post">
<p><?php printf( __( 'If you will be charging sales tax, or shipping physical goods to customers, you can configure the basic options below. This is optional and can be changed later from the %1$stax settings%3$s and %2$sshipping settings%3$s screens.', 'woocommerce' ), '<a href="' . admin_url( 'admin.php?page=wc-settings&tab=tax' ) . '" target="_blank">', '<a href="' . admin_url( 'admin.php?page=wc-settings&tab=shipping' ) . '" target="_blank">', '</a>' ); ?></p>
<table class="form-table">
<tr class="section_title">
<td colspan="2">
<h2><?php _e( 'Basic Shipping Setup', 'woocommerce' ); ?></h2>
</td>
</tr>
<tr>
<th scope="row"><label for="enable_shipping"><?php _e( 'Will you be shipping products?', 'woocommerce' ); ?></label></th>
<td>
<input type="checkbox" id="enable_shipping" name="enable_shipping" class="input-checkbox" value="1" />
<label for="enable_shipping"><?php _e( 'Yes, I will be shipping physical goods to customers', 'woocommerce' ); ?></label>
</td>
</tr>
<tr>
<th scope="row"><label for="shipping_cost_domestic"><?php _e( 'How much do you charge to ship products <strong>domestically</strong>?', 'woocommerce' ); ?></label></th>
<td>
<?php echo get_woocommerce_currency_symbol(); ?> <input type="text" id="shipping_cost_domestic" name="shipping_cost_domestic" size="5" value="" />
</td>
</tr>
<tr>
<th scope="row"><label for="shipping_cost_international"><?php _e( 'How much do you charge to ship products <strong>internationally</strong>?', 'woocommerce' ); ?></label></th>
<td>
<?php echo get_woocommerce_currency_symbol(); ?> <input type="text" id="shipping_cost_international" name="shipping_cost_international" size="5" value="" />
</td>
</tr>
<tr class="section_title">
<td colspan="2">
<h2><?php _e( 'Basic Tax Setup', 'woocommerce' ); ?></h2>
</td>
</tr>
<tr>
<th scope="row"><label for="woocommerce_calc_taxes"><?php _e( 'Will you be charging sales tax?', 'woocommerce' ); ?></label></th>
<td>
<input type="checkbox" id="woocommerce_calc_taxes" name="woocommerce_calc_taxes" class="input-checkbox" value="1" />
<label for="woocommerce_calc_taxes"><?php _e( 'Yes, I will be charging sales tax', 'woocommerce' ); ?></label>
</td>
</tr>
<tr>
<th scope="row"><label for="woocommerce_prices_include_tax"><?php _e( 'Will you enter product prices including taxes?', 'woocommerce' ); ?></label></th>
<td>
<label><input type="radio" checked id="woocommerce_prices_include_tax" name="woocommerce_prices_include_tax" class="input-radio" value="yes" /> <?php _e( 'Yes, I will enter prices inclusive of tax', 'woocommerce' ); ?></label><br/>
<label><input type="radio" id="woocommerce_prices_include_tax" name="woocommerce_prices_include_tax" class="input-radio" value="yes" /> <?php _e( 'No, I will enter prices exclusive of tax', 'woocommerce' ); ?></label>
</td>
</tr>
<tr class="section_title tax-rates">
<td colspan="2">
<h2><?php _e( 'Standard Tax Rates', 'woocommerce' ); ?></h2>
<table class="tax-rates">
<thead>
<tr>
<th>&nbsp;</th>
<th><?php _e( 'Country Code', 'woocommerce' ); ?></th>
<th><?php _e( 'State Code', 'woocommerce' ); ?></th>
<th><?php _e( 'Rate (%)', 'woocommerce' ); ?></th>
<th><?php _e( 'Name', 'woocommerce' ); ?></th>
<th><a href="#" class="add">+</a></th>
</tr>
</thead>
<tbody>
<tr>
<td class="sort"></td>
<td><input type="text" value="GB" /></td>
<td><input type="text" value="*" /></td>
<td><input type="text" value="20.0000" /></td>
<td><input type="text" value="VAT" /></td>
<td><a href="#" class="remove">X</a></td>
</tr>
</tbody>
</table>
<p class="description"><?php printf( __( 'You can edit and add more tax rates later from the %1$stax settings%3$s screen and read more about taxes in %2$sour documentation%3$s.', 'woocommerce' ), '<a href="' . admin_url( 'admin.php?page=wc-settings&tab=tax' ) . '" target="_blank">', '<a href="http://docs.woothemes.com/document/setting-up-taxes-in-woocommerce/" target="_blank">', '</a>' ); ?></p>
</td>
</tr>
</table>
<p class="wc-install-actions step">
<input type="submit" class="button-primary button button-large" value="<?php esc_attr_e( 'Continue', 'woocommerce' ); ?>" name="save_step" />
<a href="<?php echo esc_url( $this->get_next_step_link() ); ?>" class="button button-large"><?php _e( 'Skip this step', 'woocommerce' ); ?></a>
</p>
</form>
<?php
}
/**