Home Forums WoodMart support forum Change Placeholder of checkout fileds

Change Placeholder of checkout fileds

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #620467

    av_admin_1984
    Participant

    Hi
    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.
    Thanks

    #620709

    Hello,

    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.

    #620981

    av_admin_1984
    Participant

    There is no problem in text!
    I want add text in Placeholder…
    HTML <input> placeholder Attribute

    #621084

    Hello,

    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.

    #621202

    av_admin_1984
    Participant

    Fine, 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.

    #621269

    av_admin_1984
    Participant

    Dear 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.

    #621332

    Hello,

    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.

Viewing 7 posts - 1 through 7 (of 7 total)