• Resolved pmi1234

    (@pmi1234)


    Hello,

    I am currently using Woocommerce Blocks for my checkout page, and I would like to change the CC placeholder language from English to Spanish.

    I have seen other support topics that have recommended using the snippet:

    add_filter( 'wc_stripe_elements_options', 'wc_update_locale_in_stripe_element_options' );
    function wc_update_locale_in_stripe_element_options( $options ) {
        return array_merge(
            $options,
            array(
                'locale' => 'es',
            )
        );
    };

    However, it doesn’t seem to work for me when using Woocommerce Blocks checkout.

    Is there any other filter/code available for changing the placeholder in Woocommerce Blocks?

    Thank you!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Changing CC Placeholder Language for Woocommerce Blocks’ is closed to new replies.