WooCommerce Services is a feature plugin that integrates hosted services into WooCommerce (3.0+), and currently includes automated tax rates and the ability to purchase and print USPS shipping labels.
GNU General Public License v2.0
108
stars
20
forks
source link
Hide migration nudges for legacy WCS&T merchants #2808
Although new users of the feature has been disabled for about 6 years, then we still have some WCS&T merchants that user our live rate Shipping Method. Migrating them to WC Shipping will cause them to lose their shipping methods and thereby, potentially, not charge any shipping fees in checkout (read: they might not have other alternative shipping methods in place).
This PR aims to hide the migration banner so we can reach out to them via email and share custom path forward to reach feature parity.
Related issue(s)
pevPIe-PB-p2
Steps to reproduce
Checkout trunk locally
Delete the wcshipping_migration_state option
Make sure WC Shipping isn't activated
Follow the instructions in the WCS PR no. 2590 to enable legacy shipping methods on your site
Go to "WooCommerce > Settings > Shipping > Shipping Zones" (/wp-admin/admin.php?page=wc-settings&tab=shipping)
Edit (or add) a shipping zone
Add a WCS&T shipping method to any zone (the settings doesn't matter)
Refresh the page
Verify you see the migration banner from the screenshot section
Checkout this branch locally
Refresh the page
Verify the banner is no longer showing
Go to "WooCommerce > Settings > Shipping > Shipping Zones" (/wp-admin/admin.php?page=wc-settings&tab=shipping)
Delete all WCS&T shipping methods
Refresh the page
Verify you're seeing the banner again
Bonus: if you repeat the steps above but with the feature announcement instead (read: the announcement we show when opening the "Purchase shipping labels" modal).
Description
Although new users of the feature has been disabled for about 6 years, then we still have some WCS&T merchants that user our live rate Shipping Method. Migrating them to WC Shipping will cause them to lose their shipping methods and thereby, potentially, not charge any shipping fees in checkout (read: they might not have other alternative shipping methods in place).
This PR aims to hide the migration banner so we can reach out to them via email and share custom path forward to reach feature parity.
Related issue(s)
Steps to reproduce
wcshipping_migration_state
option/wp-admin/admin.php?page=wc-settings&tab=shipping
)Bonus: if you repeat the steps above but with the feature announcement instead (read: the announcement we show when opening the "Purchase shipping labels" modal).
Screenshots/GIFs
Checklist
changelog.txt
entry addedreadme.txt
entry added