Fix missing product tutorial and activity panels (https://github.com/woocommerce/woocommerce-admin/pull/3117)
This commit is contained in:
parent
2271ff1db9
commit
c70143ccf8
|
@ -23,7 +23,9 @@ const subTasks = [
|
|||
before: <i className="material-icons-outlined">add_box</i>,
|
||||
after: <i className="material-icons-outlined">chevron_right</i>,
|
||||
onClick: () => recordEvent( 'tasklist_add_product', { method: 'manually' } ),
|
||||
href: getAdminLink( 'post-new.php?post_type=product&wc_onboarding_active_task=products' ),
|
||||
href: getAdminLink(
|
||||
'post-new.php?post_type=product&wc_onboarding_active_task=products&tutorial=true'
|
||||
),
|
||||
},
|
||||
{
|
||||
title: __( 'Import', 'woocommerce-admin' ),
|
||||
|
|
|
@ -61,6 +61,25 @@ wc_admin_connect_page(
|
|||
)
|
||||
);
|
||||
|
||||
// WooCommerce > Settings > Tax
|
||||
wc_admin_connect_page(
|
||||
array(
|
||||
'id' => 'woocommerce-settings-tax',
|
||||
'parent' => 'woocommerce-settings',
|
||||
'screen_id' => 'woocommerce_page_wc-settings-tax',
|
||||
'title' => array(
|
||||
__( 'Tax', 'woocommerce-admin' ),
|
||||
),
|
||||
'path' => add_query_arg(
|
||||
array(
|
||||
'page' => 'wc-settings',
|
||||
'tab' => 'tax',
|
||||
),
|
||||
$admin_page_base
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
// WooCommerce > Settings > Shipping > Shipping zones (default tab).
|
||||
wc_admin_connect_page(
|
||||
array(
|
||||
|
@ -220,6 +239,25 @@ foreach ( $wc_email_ids as $email_id ) {
|
|||
);
|
||||
}
|
||||
|
||||
// WooCommerce > Settings > Integration
|
||||
wc_admin_connect_page(
|
||||
array(
|
||||
'id' => 'woocommerce-settings-integration',
|
||||
'parent' => 'woocommerce-settings',
|
||||
'screen_id' => 'woocommerce_page_wc-settings-integration',
|
||||
'title' => array(
|
||||
__( 'Integration', 'woocommerce-admin' ),
|
||||
),
|
||||
'path' => add_query_arg(
|
||||
array(
|
||||
'page' => 'wc-settings',
|
||||
'tab' => 'integration',
|
||||
),
|
||||
$admin_page_base
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
// WooCommerce > Settings > Advanced > Page setup (default tab).
|
||||
wc_admin_connect_page(
|
||||
array(
|
||||
|
|
Loading…
Reference in New Issue