Home Forums Themes Support Gecko Placeholder Problem Checkout Page

Viewing 2 reply threads
  • Author
    Posts
    • #3452

      hello,

      i am changing placeholders on woocommerce checkout page form using child theme functions.php using “woocomerece_chcekout_fields” hook, when i refresh the page placeholders change for 2,3 second while page is loading and then again changes to defaults.

      visit checkout form placeholder behavior FASHION HIVE
      child theme php functions file attached.

      CODE: (Placeholder which is not working)

      function leo_custom_checkout_form_fields( $fields ) {

      $fields[‘billing’][‘billing_address_1’][‘label’] = “Address”;
      $fields[‘billing’][‘billing_address_1’][‘required’] = true;

      $fields[‘billing’][‘billing_address_1’][‘placeholder’] = “FULL ADDRESS ( House# , Street# , Block , City )”;

      return $fields;

      }
      add_filter( ‘woocommerce_checkout_fields’, ‘leo_custom_checkout_form_fields’);

    • #3453

      functions.php as functions.php.txt

      Attachments:
      You must be logged in to view attached files.
    • #3459

      Hi,

      Can you update theme to latest version and Woocommerce to latest version

      I try on my local the Address field still load placeholder text well https://monosnap.com/file/s7KQA8eQhSKf89qk1bDif0yw9FIL1t#

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 2 reply threads

You must be logged in to reply to this topic.