From c1d87f23508dbc4f4863e98b696b496e08eef0e2 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Thu, 30 Apr 2015 13:34:51 +0100 Subject: [PATCH] Pointer tweaks --- includes/admin/class-wc-admin-pointers.php | 32 ++++++---------------- 1 file changed, 8 insertions(+), 24 deletions(-) diff --git a/includes/admin/class-wc-admin-pointers.php b/includes/admin/class-wc-admin-pointers.php index 7ced207d2a0..54a508d8158 100644 --- a/includes/admin/class-wc-admin-pointers.php +++ b/includes/admin/class-wc-admin-pointers.php @@ -65,7 +65,7 @@ class WC_Admin_Pointers { ), 'content' => array( 'target' => "#content", - 'next' => 'product-data', + 'next' => 'product-type', 'next_trigger' => array( 'target' => '#content', 'event' => 'click change input' @@ -79,22 +79,6 @@ class WC_Admin_Pointers { ) ) ), - 'product-data' => array( - 'target' => "#woocommerce-product-data", - 'next' => 'product-type', - 'next_trigger' => array( - 'target' => "#woocommerce-product-data", - 'event' => 'hover' - ), - 'options' => array( - 'content' => '

' . esc_html__( 'Product Data', 'woocommerce' ) . '

' . - '

' . esc_html__( 'The product data panel is where you setup the various product options...', 'woocommerce' ) . '

', - 'position' => array( - 'edge' => 'bottom', - 'align' => 'middle' - ) - ) - ), 'product-type' => array( 'target' => "#product-type", 'next' => 'virtual', @@ -103,8 +87,8 @@ class WC_Admin_Pointers { 'event' => 'change blur click' ), 'options' => array( - 'content' => '

' . esc_html__( 'Product Type', 'woocommerce' ) . '

' . - '

' . esc_html__( 'First choose a type of product. Simple is suitable for most physical goods and services (we recommend setting up a simple product for now).', 'woocommerce' ) . '

' . + 'content' => '

' . esc_html__( 'Choose Product Type', 'woocommerce' ) . '

' . + '

' . esc_html__( 'Choose a type for this product. Simple is suitable for most physical goods and services (we recommend setting up a simple product for now).', 'woocommerce' ) . '

' . '

' . esc_html__( 'Variable is for more complex products such as t-shirts with multiple sizes', 'woocommerce' ) . '

' . '

' . esc_html__( 'Grouped products are for grouping several simple products into one.', 'woocommerce' ) . '

' . '

' . esc_html__( 'Finally, external products are for linking off-site.', 'woocommerce' ) . '

', @@ -185,7 +169,7 @@ class WC_Admin_Pointers { 'content' => '

' . esc_html__( 'Product Images', 'woocommerce' ) . '

' . '

' . esc_html__( 'Upload or assign an image to your product here. This image will be shown in your store\'s catalog.', 'woocommerce' ) . '

', 'position' => array( - 'edge' => 'bottom', + 'edge' => 'right', 'align' => 'middle' ) ) @@ -195,9 +179,9 @@ class WC_Admin_Pointers { 'next' => 'product_catdiv', 'options' => array( 'content' => '

' . esc_html__( 'Product Tags', 'woocommerce' ) . '

' . - '

' . esc_html__( 'You can optionally "tag" your products here. Tags as a method of labelling your products to make them easier for customers to find.', 'woocommerce' ) . '

', + '

' . esc_html__( 'You can optionally "tag" your products here. Tags as a method of labeling your products to make them easier for customers to find.', 'woocommerce' ) . '

', 'position' => array( - 'edge' => 'bottom', + 'edge' => 'right', 'align' => 'middle' ) ) @@ -209,7 +193,7 @@ class WC_Admin_Pointers { 'content' => '

' . esc_html__( 'Product Categories', 'woocommerce' ) . '

' . '

' . esc_html__( 'Optionally assign categories to your products to make them easier to browse through and find in your store.', 'woocommerce' ) . '

', 'position' => array( - 'edge' => 'bottom', + 'edge' => 'right', 'align' => 'middle' ) ) @@ -221,7 +205,7 @@ class WC_Admin_Pointers { 'content' => '

' . esc_html__( 'Publish Your Product!', 'woocommerce' ) . '

' . '

' . esc_html__( 'When you are finished editing your product, hit the "Publish" button to publish your product to your store.', 'woocommerce' ) . '

', 'position' => array( - 'edge' => 'top', + 'edge' => 'right', 'align' => 'middle' ) )