karthikamal
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
I am facing same issue
Forum: Plugins
In reply to: [WooCommerce] How to display billing phone on my account page?you should’t edit in my-address.php should edit in “class-wc-shortcode-my-account.php” page.
where you can fine a code
if ( ! $value ) { switch( $key ) { case 'billing_phone' : case 'shipping_phone' : $value = $current_user->phone_4; break; case 'billing_email' : case 'shipping_email' : $value = $current_user->user_email; break; case 'billing_country' : case 'shipping_country' : $value = WC()->countries->get_base_country(); break; case 'billing_state' : case 'shipping_state' : $value = WC()->countries->get_base_state(); break; } }instead of this ‘$current_user->phone_4;”
use your phone field name.I got the answer.
hi,
I used Autoptimize plugin ..iam getting this error.
Fatal error: Unknown: Cannot use output buffering in output buffering display handlers.anyone please help me?
Viewing 3 replies - 1 through 3 (of 3 total)