• Resolved avgrafica

    (@avgrafica)


    Hello

    I notice a problem with the checkout of woocommerce: i can’t apply an ovverride on the fields and the lable.
    Try WooCommerce Checkout Manager and later the file funciton modify:

    // Hook in
    add_filter( ‘woocommerce_checkout_fields’ , ‘custom_override_checkout_fields’ );

    // Our hooked in function – $fields is passed via the filter!
    function custom_override_checkout_fields( $fields ) {
    $fields[‘billing’][‘billing_address_1’][‘placeholder’] = ‘My new placeholder’;
    $fields[‘billing’][‘billing_address_1’][‘label’] = ‘My new label’;
    return $fields;
    }

    But none of them help to solve the problem
    Everytime i enter in the page the custom value overthrow the override

    • This topic was modified 7 years, 3 months ago by avgrafica.
    • This topic was modified 7 years, 3 months ago by avgrafica.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Impossible to override checkout fields and label’ is closed to new replies.