Support » Plugin: RestroPress - Online Food Ordering System » Change Checkout text

  • Resolved lemonunicycle



    I want to change the checkout text to ask for the customers address replacing the additonal infomation.

    How do I do this? do I edit the shortcode

    here is an edited view I want to achieve.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Nirmal Kumar Ram


    You just want to change the text?

    Yes please, Where do I do that?

    Plugin Author Nirmal Kumar Ram


    Just add the following code to your child theme’s functions.php file

    add_filter( 'gettext', 'rpress_change_order_details_text', 20, 3 );
    function rpress_change_order_details_text( $translated_text, $text, $domain ) {
        if ( $domain == 'restropress' ) {
            switch ( $translated_text ) {
                case '%s Instructions' :
                    $translated_text = __( 'Please enter your address', 'restropress' );
                case 'Add %s instructions (optional)' :
                    $translated_text = __( 'Add Address', 'restropress' );
        return $translated_text;

    Thank you so much.


    @sagarseth9 I would like to remove email address field or change non-mandatory on email address field on checkout page. How can I do it bro?

    Plugin Support bibhuprakash123


    Hello @ilowoo,

    Sorry for the late response.
    The work as per your requirement will be possible by custom work.
    You can contact through our official website to do the custom work.


Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.