Home › Forums › Themes Support › Gecko › Placeholder Problem Checkout Page
- This topic has 2 replies, 2 voices, and was last updated 7 years ago by Harry.
-
AuthorPosts
-
-
April 25, 2017 at 9:02 pm #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’); -
April 25, 2017 at 9:03 pm #3453
functions.php as functions.php.txt
Attachments:
You must be logged in to view attached files. -
April 25, 2017 at 11:56 pm #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
-
-
AuthorPosts
You must be logged in to reply to this topic.