• Resolved zande

    (@zande)


    hi, i set up wc one page checkout and layouts, i customized as i wanted but there was problem i faced. There are no placeholder text in first name input, last name input, phone and zıp input. I couldn’t find the code in which files. (i have searched by notepad++ and phpstorm to find where was it.) Anyone has information or suggestion to help me?
    Thank you in advance..
    Zande

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Rupinder Kaur

    (@coolcoders)

    Hi @zande,

    Thanks for using my plugin. As per your link what I can see there are some predefined values(for example:- First name is not empty onload ).
    Well, these billing fields are mostly affected by two filters “woocommerce_checkout_fields” and “woocommerce_billing_fields”. These filters are used to change checkout form behaviours like required fields or placeholder. This filters can be anywhere like in any other plugin or theme’s function.php file.
    If your checkout form is affected by these filters the possible line you will find is
    $fields[‘billing_first_name’][‘placeholder’] = “”;
    commenting this line will sort your issue.

    Hope it will work for you. Do let me know if I can help you further.

    Thanks

    Plugin Author Rupinder Kaur

    (@coolcoders)

    Closed Due to inactivity.

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

The topic ‘Placeholder’ is closed to new replies.