Chi-Hsuan Huang
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] File naming mismatch causing fatal error after update to 10.5.0Hi there,
It’s actually the other way around. WooCommerce 10.5.0 correctly ships with the
-v1-files, so that part is working as expected.What’s happening is that during the update, your
class-wp-rest-abilities-init.phpfile wasn’t fully updated.You can double-check this by looking at line 25 of your
class-wp-rest-abilities-init.phpIf you see arequire_oncestatement there, it means the file is still the old version.The fix is to remove and reinstall WooCommerce fresh and ensure the
class-wp-rest-abilities-init.phpmatches the new version. https://plugins.svn.wordpress.org/woocommerce/tags/10.5.0/vendor/wordpress/abilities-api/includes/rest-api/class-wp-rest-abilities-init.phpHope that helps clarify things!
I’ve created a fix PR: https://github.com/woocommerce/woocommerce/pull/57216
Hi @bburgay, @doublezed2,
Thanks for confirming!
I’ve re-checked the behavior in WooCommerce 9.8.1. I can confirm that the issue persists: Coming Soon mode is incorrectly affecting non-WooCommerce pages with the
/checkoutslug, even when the actual WooCommerce checkout page has been reassigned in settings.This shouldn’t happen, and I’ll work on a proper fix that applies only to the actual WooCommerce store pages.
Thanks for reporting this! @bburgay
Could you please confirm if you are still encountering this issue in version 9.8? The issue was addressed in WooCommerce 9.8. If the problem persists, we would appreciate your feedback!
In the meantime, if you’re looking for a workaround, WooCommerce also includes a filter to exclude specific requests from Coming Soon mode:
woocommerce_coming_soon_exclude. If needed, You can bypass Coming Soon mode for your custom /checkout page.add_filter( 'woocommerce_coming_soon_exclude', function( $excluded ) {
// Get the current request URI, e.g. /checkout/
$request_uri = trim( $_SERVER['REQUEST_URI'], '/' );
// If the request is for the custom checkout page, exclude it from Coming Soon mode
if ( $request_uri === 'checkout' ) {
return true;
}
return $excluded;
} );Let us know what version you’re using and if the issue persists after updating!
Forum: Plugins
In reply to: [WooCommerce] How to disabel setup wizard???Hi @rbonatto,
You can disablesetup wizard by using
woocommerce_enable_setup_wizardfilter as shown in this screencast.There is a related topic here https://wordpress.org/support/topic/how-to-disable-woocommerce-setup-wizard/.
Forum: Plugins
In reply to: [WooCommerce] language issueHey @freddyeee
Did you download the WooCommerce language pack for Spanish?
i.e.
1. Go to Dashboard → Updates.
2. Scroll down to the Translations section.
3. Click the Update Translations button.Forum: Plugins
In reply to: [WooCommerce] Missing CSS on Analytics pageIf you need a workaround, you can try this code snippet:
https://github.com/woocommerce/woocommerce/issues/35470#issuecomment-1330163908Forum: Plugins
In reply to: [WooCommerce] Missing CSS on Analytics pageHi @kajahal
Thanks for reporting this! The issue has been fixed in core here https://github.com/woocommerce/woocommerce/issues/35470.
It will be released in version 7.2 on December 13th.
Thanks!
Forum: Plugins
In reply to: [WooCommerce] How to test new Product Management Experience?Hi @datverse,
> In latest version I see “Products > Add New (MVP)”. How to enable it for test?
You can enable it by using the plugin woocommerce-admin-test-helper (https://github.com/woocommerce/woocommerce-admin-test-helper).
1. Install and activate woocommerce-admin-test-helper
2. Go to Tools > WCA Test Helper > FeaturesYou will see the option new-product-management-experience. After you turn on the feature flag, you will see the “Products > Add New (MVP)” page.
Thank you!