• Resolved georgeotp

    (@georgeotp)


    Hello,

    I would like to change just the label of “Pickup Date:” to “Delivery Date:” on the Admin’s Order’s page.

    A quick easy fix would be greatly appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,
    we hope you’re doing well!

    In order to achieve what you need, please add the following code in the functions.php file of your active child theme:

    if (!function_exists('yith_ywot_enqueue_scripts_custom')) {
    function yith_ywot_enqueue_scripts_custom()
    {
    $jquery = 'jQuery( document ).ready( function($) {
    jQuery( ".yith-ywot-order-pickup-date-label" ).text( "Delivery Date:" );
    });';
    wp_add_inline_script('ywot_script', $jquery);
    }

    add_action( 'admin_enqueue_scripts', 'yith_ywot_enqueue_scripts_custom', 999 );
    }

    Check it out and tell us if it works well for you, please.

    Best regards.

    Thread Starter georgeotp

    (@georgeotp)

    Worked perfectly. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change Pickup date to Delivery Date’ is closed to new replies.