Home › Forums › WoodMart support forum › Change Placeholder of checkout fileds
Change Placeholder of checkout fileds
- This topic has 6 replies, 2 voices, and was last updated 1 month ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
December 7, 2024 at 8:28 pm #620467
av_admin_1984ParticipantHi
Is it possible to add text for checkout fields or add placeholder for some reason?
for example, the postal code must be an English and it is not support Persian or RTL language, and when users try to write there, they faced with and error and it must change from code or we must add Text there to notify user that must use an English keyboard and number for postal code.
ThanksDecember 9, 2024 at 11:54 am #620709
Aizaz Imtiaz AwanKeymasterHello,
You can change the text by using the Loco translation plugin on the site.
For more information please read the theme documentation here:
https://xtemos.com/docs-topic/translate-woodmart-theme-with-loco-translate/If the issue still exists then please send me the WP admin login details of your site so I will check and solve the issue for you. Also, share the text which you want to change.
Best Regards.
December 9, 2024 at 7:06 pm #620981
av_admin_1984ParticipantThere is no problem in text!
I want add text in Placeholder…
HTML <input> placeholder AttributeDecember 10, 2024 at 10:56 am #621084
Aizaz Imtiaz AwanKeymasterHello,
Please try to add the below code in the child theme’s Function.php file:
add_filter('woocommerce_checkout_fields', 'custom_override_checkout_fields'); function custom_override_checkout_fields($fields) { // Change placeholder for the billing postcode field $fields['billing']['billing_postcode']['placeholder'] = 'Enter your postcode'; return $fields; }
Note: Change the text as per your requirement instead of “Enter your postcode”
Best Regards.
- This reply was modified 1 month ago by Aizaz Imtiaz Awan.
- This reply was modified 1 month ago by Aizaz Imtiaz Awan.
December 10, 2024 at 2:05 pm #621202
av_admin_1984ParticipantFine, in the future, are you going to release an update for this issue? This is related to the payment field support on your system, and it’s necessary to add support for RTL languages in this section. Currently, your system doesn’t accept Persian numbers. Previously, I reported a similar bug where links in the slider section were removed if they were in RTL, and you managed to fix it. This issue seems to be similar in structure.
December 10, 2024 at 4:12 pm #621269
av_admin_1984ParticipantDear Aizaz Imtiaz Awan :
I hope you’re doing well.
You introduced a company for customization and displayed their banner in the sidebar of this website, I mean your company webiste: blackpearlspro.
However, neither WhatsApp messages nor emails are being responded to. If you’re not interested in collaboration, please be transparent about it. I’ve been waiting for your response for almost two months. This is not an acceptable way to provide support.
Unfortunately, since I haven’t received any response from you and you left me no other option, I had to message you here in the hope of getting a resolution.December 10, 2024 at 6:26 pm #621332
Aizaz Imtiaz AwanKeymasterHello,
For the placeholder text, we will not add in the future update. If you want to add this feature in the theme you can post your suggestions/requests related to the Theme on the following Feature Request thread:
https://xtemos.com/forums/topic/features-requests-2/So, if the Development Department finds it fits with the Theme environment then surely they will look through it.
2. Sorry, but I missed your last email notification. I will check and reply to you today.
Best Regards.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register