• Resolved shalke04

    (@shalke04)


    Hi,
    I’d like change something in a “customer notes” space… but I can’t find .php file… where is this? I searched in woocommerce/templates/checkout but I didn’t find it.
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Stef

    (@serafinnyc)

    There’s a hook for that. Add this to your child theme’s function file. If I misunderstood my apologies.

    //==============================================================================
    // Replace "send a little love with whatever you wanted there.
    //==============================================================================
    
    add_filter( 'woocommerce_checkout_fields', 'ssd_woocommerce_checkout_fields' );
    
    function ssd_woocommerce_checkout_fields( $fields ) {
    
        $fields['order']['order_comments']['placeholder'] = 'send a little love, say hi, or let us know what\'s for dinner';
        return $fields;
    }
    Plugin Support EtienneP a11n

    (@etiennep)

    Hi @shalke04

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘template checkout page’ is closed to new replies.