Remove PHP Extension from URL Using Htaccess URL Rewrite Rule

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php [NC,L]

In this above code we have used the Rewrite Rule and removed the .php extension from all the URL which fulfill the rule.

Change the "Proceed to PayPal" button text in the WooCommerce checkout screen

/* Change the "Proceed to PayPal" button text in the WooCommerce checkout screen
 * Add this to your theme's functions.php file
 */

add_filter( 'gettext', 'custom_paypal_button_text', 20, 3 );
function custom_paypal_button_text( $translated_text, $text, $domain ) {
switch ( $translated_text ) {
case 'Proceed to PayPal' :
$translated_text = __( 'Proceed to Payment', 'woocommerce' );
break;
}
return $translated_text;
}

Customizing WooCommerce Order Emails

Conditional Customization with Actions/Filters 


add_action( 'woocommerce_email_before_order_table', 'add_order_email_instructions', 10, 2 );
 
function add_order_email_instructions( $order, $sent_to_admin ) {
  
  if ( ! $sent_to_admin ) {
 
    if ( 'cod' == $order->payment_method ) {
      // cash on delivery method
      echo 'Instructions: Full payment is due immediately upon delivery: cash only, no exceptions.
'
;
    } else {
      // other methods (ie credit card)
      echo 'Instructions: Please look for "Madrigal Electromotive GmbH" on your next credit card statement.
'
;
    }
  }
}

Link
http://www.remicorson.com/woocommerce-display-coupons-used-in-an-order-in-the-confirmation-email/
https://www.sellwithwp.com/customizing-woocommerce-order-emails/