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
NUX: Fix banner display on Edit Orders pages when using HPOS #2692
When HPOS is enabled (which has been the default for new sites since WC 8.2 release on Oct 10th, 2023), the admin screen IDs for "Edit Order" pages are different. This causes WCS&T's NUX banner to not show up. This applies to both the order listing and single order edit pages.
Steps to reproduce & screenshots/GIFs
Set up a fresh site. Install WCS&T and WC. Don't connect with Jetpack.
Go to the Edit Order page (listing or single order page).
If you're on HPOS, the banner won't show up without this PR.
You can toggle HPOS usage in WC > Settings > Advanced > Features. You have to have order sync enabled on that page to be able to toggle this setting.
Description
When HPOS is enabled (which has been the default for new sites since WC 8.2 release on Oct 10th, 2023), the admin screen IDs for "Edit Order" pages are different. This causes WCS&T's NUX banner to not show up. This applies to both the order listing and single order edit pages.
Steps to reproduce & screenshots/GIFs
Checklist
changelog.txt
entry addedreadme.txt
entry added