Changed some text in the added FedEx Shipping field
authorChuck Scott <cscott@gaslightmedia.com>
Tue, 9 Jun 2015 18:50:34 +0000 (14:50 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Tue, 9 Jun 2015 18:50:34 +0000 (14:50 -0400)
functions.php

index b828436..8a90fd6 100755 (executable)
@@ -135,6 +135,7 @@ add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 48;' ), 20 )
 
 // Add custom fields to checkout
 
+//add_filter( 'woocommerce_checkout_fields' , 'tm_added_checkout_fields' );
 add_filter( 'woocommerce_after_order_notes' , 'tm_added_checkout_fields' );
 
 function tm_added_checkout_fields( $checkout ) {
@@ -156,7 +157,7 @@ function tm_added_checkout_fields( $checkout ) {
         'type'          => 'textarea',
         'class'         => array('my-field-class form-row-wide'),
         'label'         => __(''),
-        'placeholder'   => __('If you wish to charge shipping to your FedEx account, please provide the information here.'),
+        'placeholder'   => __('If you wish to charge shipping to your FedEx account, please provide account and phone number here.'),
         ), $checkout->get_value( 'tm_fedex_shipping' ));
  
     echo '</div>';