WC 8.5.0 – Provide ways to remove unwanted scripts
-
Dear Support,
Please provide a way to remove unwanted block files (CSS / JS).When I remove the wc-blocks-registry.js than it starts to fill up my debug and console.log with warnings
wp_dequeue_script('wc-blocks-registry'); wp_deregister_script('wc-blocks-registry');
[10-Jan-2024 15:07:02 UTC] Payment gateway with handle 'wc-payment-method-bacs' has been deactivated in Cart and Checkout blocks because its dependency 'wc-blocks-registry' is not registered. Read the docs about registering assets for payment methods: https://github.com/woocommerce/woocommerce-blocks/blob/060f63c04f0f34f645200b5d4da9212125c49177/docs/third-party-developers/extensibility/checkout-payment-methods/payment-method-integration.md#registering-assets [10-Jan-2024 15:07:02 UTC] Payment gateway with handle 'wc-stripe-block-credit-card' has been deactivated in Cart and Checkout blocks because its dependency 'wc-blocks-registry' is not registered. Read the docs about registering assets for payment methods: https://github.com/woocommerce/woocommerce-blocks/blob/060f63c04f0f34f645200b5d4da9212125c49177/docs/third-party-developers/extensibility/checkout-payment-methods/payment-method-integration.md#registering-assets
Kind regards,
Krisztian
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘WC 8.5.0 – Provide ways to remove unwanted scripts’ is closed to new replies.