Skip to content

Commit

Permalink
Remove setting demo store option on ecommerce sites by default (#1518)
Browse files Browse the repository at this point in the history
* Remove setting demo store option on ecommerce sites by default

* Changelog

* Update readme.txt
  • Loading branch information
ilyasfoo authored Sep 25, 2024
1 parent 1d86a3b commit ce8e0e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion includes/class-wc-calypso-bridge-themes-setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ public function set_theme_default_values() {
set_theme_mod( 'sp_homepage_top_rated', false ); // Removes Top Rated Products area from starter content.
set_theme_mod( 'sp_homepage_on_sale', false ); // Removes On Sale Products area from starter content.
set_theme_mod( 'sp_homepage_best_sellers', false ); // Removes Best Sellers Products area from starter content.
update_option( 'woocommerce_demo_store', 'yes' ); // enables demo store notice.
// Force Fresh Site.
update_option( 'fresh_site', true );
// Save option that says the setup has been run already.
Expand Down
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ This section describes how to install the plugin and get it working.

= Unreleased =
* Re-enable Site visibility settings tab for free trial plans #1512
* Remove setting demo store option on ecommerce sites by default #1518

= 2.6.0 =
* Hide WPCOM's coming soon page when the launch-your-store feature flag is enabled #1500
Expand Down

0 comments on commit ce8e0e2

Please sign in to comment.