In WooCommerce, in my Storefront child theme, I edited the code in proceed-to-checkout-button.php to change the wording from "Proceed to checkout" to "Checkout":
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
?>
<a href="<?php echo esc_url( wc_get_checkout_url() ); ?>" class="checkout-button button wc-forward">
<?php esc_html_e( 'Checkout', 'woocommerce' ); ?>
</a>
But when the user changes product quantity in the cart page, then the button text goes back to default "Proceed to checkout".
Is there a filter or where to edit this updated text?
EDIT - Problem Solved
The issue was related to a specific cart option in WooCommerce Better Usability pro plugin where the option "Display text while updating cart automatically" requires to be disabled (unselected).