{"id":834,"date":"2021-04-13T10:43:55","date_gmt":"2021-04-13T10:43:55","guid":{"rendered":"https:\/\/randomadult.local\/?p=834"},"modified":"2023-01-16T07:49:19","modified_gmt":"2023-01-16T07:49:19","slug":"disable-woocommerce-setup-wizard","status":"publish","type":"post","link":"https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/","title":{"rendered":"Disable WooCommerce Setup Wizard"},"content":{"rendered":"\n

Need to Disable WooCommerce Setup Wizard? Keep reading. WooCommerce<\/a> introduced a new ‘setup’ wizard which is really just a front for them to upsell you a bunch of their services and plugins. It doesn’t actually set up your store at all. After you go through five pages of marketing crud, you then get dropped back to the WooCommerce Home Screen. Then you get prompted to actually setup the real settings to get your store going. <\/p>\n\n\n\n

This might be all well and good for new users and people who don’t know what WooCommerce is, but as a developer I need to setup installs quickly and as automated as possible. This new setup wizard stopped that. I have a WP-CLI based shell script I use to setup a development install in a matter of minutes including all the required plugins, theme, pages, users, roles and even products. <\/p>\n\n\n\n

\"\"
Marketing Crud<\/figcaption><\/figure>\n\n\n\n

Update an array option in WP-CLI<\/h3>\n\n\n\n

Updated: 16th January 2023<\/strong><\/p>\n\n\n\n

A helpful reader (Thanks Christophe) pointed out that there is a far simpler way to update an array option with WP CLI, and that is with the use of the wp option patch command. <\/a><\/p>\n\n\n\n

To check the value of an item in an array, you can use the pluck command.<\/a> <\/p>\n\n\n

\nwp option pluck woocommerce_onboarding_profile skipped\n\n<\/pre><\/div>\n\n\n

Disable WooCommerce setup wizard with WP-CLI<\/h3>\n\n\n\n

Update: 16th January 2023<\/strong><\/p>\n\n\n

\nwp option patch insert woocommerce_onboarding_profile skipped 1\n\n<\/pre><\/div>\n\n\n

Some other options I update to disable things within WooCommerce include the following<\/p>\n\n\n

\nwp option update woocommerce_show_marketplace_suggestions 'no' \nwp option update woocommerce_allow_tracking 'no'\nwp option update woocommerce_task_list_hidden 'yes'\nwp option update woocommerce_task_list_complete 'yes'\nwp option update woocommerce_task_list_welcome_modal_dismissed 'yes' \n<\/pre><\/div>\n\n\n

The end<\/h2>\n\n\n\n

These few things will allow me to quickly and completely automatically setup development installs. I need for testing various parts of our products and configurations with 3rd party plugins. If you want to check out my scripts, I did a talk about WP-CLI quite a number of years ago at WordCamp Brisbane. <\/p>\n\n\n\n

You can find my demo code here,<\/a> which is what my current dev scripts are built on. <\/p>\n","protected":false},"excerpt":{"rendered":"

Need to Disable WooCommerce Setup Wizard? Keep reading. WooCommerce introduced a new ‘setup’ wizard which is really just a front for them to upsell you a bunch of their services and plugins. It doesn’t actually set up your store at all. After you go through five pages of marketing crud, …<\/p>\n

Disable WooCommerce Setup Wizard<\/span> Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":838,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"categories":[5],"tags":[277,222,226],"yoast_head":"\nDisable WooCommerce Setup Wizard - Random Adult<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Disable WooCommerce Setup Wizard\" \/>\n<meta property=\"og:description\" content=\"Need to Disable WooCommerce Setup Wizard? Keep reading. WooCommerce introduced a new ‘setup’ wizard which is really just a front for them to upsell you a bunch of their services and plugins. It doesn’t actually set up your store at all. After you go through five pages of marketing crud, … Disable WooCommerce Setup Wizard Read More \u00bb\" \/>\n<meta property=\"og:url\" content=\"https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/\" \/>\n<meta property=\"og:site_name\" content=\"Random Adult\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-13T10:43:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-16T07:49:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/randomadult.local\/wp-content\/uploads\/2021\/04\/lkshwgzyk7c.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1600\" \/>\n\t<meta property=\"og:image:height\" content=\"1067\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"digitalchild\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dcwhatwhat\" \/>\n<meta name=\"twitter:site\" content=\"@dcwhatwhat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"digitalchild\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/\"},\"author\":{\"name\":\"digitalchild\",\"@id\":\"https:\/\/randomadult.local\/#\/schema\/person\/b0b954202434291ace51b4e7a0a81c04\"},\"headline\":\"Disable WooCommerce Setup Wizard\",\"datePublished\":\"2021-04-13T10:43:55+00:00\",\"dateModified\":\"2023-01-16T07:49:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/\"},\"wordCount\":305,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/randomadult.local\/#organization\"},\"keywords\":[\"automation\",\"woocommerce\",\"wp-cli\"],\"articleSection\":[\"Geek\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/\",\"url\":\"https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/\",\"name\":\"Disable WooCommerce Setup Wizard - Random Adult\",\"isPartOf\":{\"@id\":\"https:\/\/randomadult.local\/#website\"},\"datePublished\":\"2021-04-13T10:43:55+00:00\",\"dateModified\":\"2023-01-16T07:49:19+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/randomadult.local\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Disable WooCommerce Setup Wizard\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/randomadult.local\/#website\",\"url\":\"https:\/\/randomadult.local\/\",\"name\":\"Random Adult\",\"description\":\"Ramblings of a random adult\",\"publisher\":{\"@id\":\"https:\/\/randomadult.local\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/randomadult.local\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/randomadult.local\/#organization\",\"name\":\"Random Adult\",\"url\":\"https:\/\/randomadult.local\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/randomadult.local\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/randomadult.local\/wp-content\/uploads\/2020\/01\/logo.png\",\"contentUrl\":\"https:\/\/randomadult.local\/wp-content\/uploads\/2020\/01\/logo.png\",\"width\":320,\"height\":134,\"caption\":\"Random Adult\"},\"image\":{\"@id\":\"https:\/\/randomadult.local\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/twitter.com\/dcwhatwhat\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/randomadult.local\/#\/schema\/person\/b0b954202434291ace51b4e7a0a81c04\",\"name\":\"digitalchild\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/randomadult.local\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e0331079f6730910bc7760cb8f781237?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e0331079f6730910bc7760cb8f781237?s=96&d=mm&r=g\",\"caption\":\"digitalchild\"},\"url\":\"https:\/\/randomadult.local\/author\/digitalchild\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Disable WooCommerce Setup Wizard - Random Adult","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/","og_locale":"en_US","og_type":"article","og_title":"Disable WooCommerce Setup Wizard","og_description":"Need to Disable WooCommerce Setup Wizard? Keep reading. WooCommerce introduced a new ‘setup’ wizard which is really just a front for them to upsell you a bunch of their services and plugins. It doesn’t actually set up your store at all. After you go through five pages of marketing crud, … Disable WooCommerce Setup Wizard Read More \u00bb","og_url":"https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/","og_site_name":"Random Adult","article_published_time":"2021-04-13T10:43:55+00:00","article_modified_time":"2023-01-16T07:49:19+00:00","og_image":[{"width":1600,"height":1067,"url":"https:\/\/randomadult.local\/wp-content\/uploads\/2021\/04\/lkshwgzyk7c.jpg","type":"image\/jpeg"}],"author":"digitalchild","twitter_card":"summary_large_image","twitter_creator":"@dcwhatwhat","twitter_site":"@dcwhatwhat","twitter_misc":{"Written by":"digitalchild","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/#article","isPartOf":{"@id":"https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/"},"author":{"name":"digitalchild","@id":"https:\/\/randomadult.local\/#\/schema\/person\/b0b954202434291ace51b4e7a0a81c04"},"headline":"Disable WooCommerce Setup Wizard","datePublished":"2021-04-13T10:43:55+00:00","dateModified":"2023-01-16T07:49:19+00:00","mainEntityOfPage":{"@id":"https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/"},"wordCount":305,"commentCount":0,"publisher":{"@id":"https:\/\/randomadult.local\/#organization"},"keywords":["automation","woocommerce","wp-cli"],"articleSection":["Geek"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/","url":"https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/","name":"Disable WooCommerce Setup Wizard - Random Adult","isPartOf":{"@id":"https:\/\/randomadult.local\/#website"},"datePublished":"2021-04-13T10:43:55+00:00","dateModified":"2023-01-16T07:49:19+00:00","breadcrumb":{"@id":"https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/randomadult.local\/disable-woocommerce-setup-wizard\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/randomadult.local\/"},{"@type":"ListItem","position":2,"name":"Disable WooCommerce Setup Wizard"}]},{"@type":"WebSite","@id":"https:\/\/randomadult.local\/#website","url":"https:\/\/randomadult.local\/","name":"Random Adult","description":"Ramblings of a random adult","publisher":{"@id":"https:\/\/randomadult.local\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/randomadult.local\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/randomadult.local\/#organization","name":"Random Adult","url":"https:\/\/randomadult.local\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/randomadult.local\/#\/schema\/logo\/image\/","url":"https:\/\/randomadult.local\/wp-content\/uploads\/2020\/01\/logo.png","contentUrl":"https:\/\/randomadult.local\/wp-content\/uploads\/2020\/01\/logo.png","width":320,"height":134,"caption":"Random Adult"},"image":{"@id":"https:\/\/randomadult.local\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/twitter.com\/dcwhatwhat"]},{"@type":"Person","@id":"https:\/\/randomadult.local\/#\/schema\/person\/b0b954202434291ace51b4e7a0a81c04","name":"digitalchild","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/randomadult.local\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e0331079f6730910bc7760cb8f781237?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e0331079f6730910bc7760cb8f781237?s=96&d=mm&r=g","caption":"digitalchild"},"url":"https:\/\/randomadult.local\/author\/digitalchild\/"}]}},"_links":{"self":[{"href":"https:\/\/randomadult.local\/wp-json\/wp\/v2\/posts\/834"}],"collection":[{"href":"https:\/\/randomadult.local\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomadult.local\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomadult.local\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/randomadult.local\/wp-json\/wp\/v2\/comments?post=834"}],"version-history":[{"count":5,"href":"https:\/\/randomadult.local\/wp-json\/wp\/v2\/posts\/834\/revisions"}],"predecessor-version":[{"id":900,"href":"https:\/\/randomadult.local\/wp-json\/wp\/v2\/posts\/834\/revisions\/900"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/randomadult.local\/wp-json\/wp\/v2\/media\/838"}],"wp:attachment":[{"href":"https:\/\/randomadult.local\/wp-json\/wp\/v2\/media?parent=834"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomadult.local\/wp-json\/wp\/v2\/categories?post=834"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomadult.local\/wp-json\/wp\/v2\/tags?post=834"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}