Hi there,
I used the X Theme mainly for WooCommerce. But i don’t provide any physical items to customers. How do i change the Billing Details to Subscriber Details in the Checkout page?
Hi There,
Please add the following code under functions.php file locates in your child theme:
add_filter( 'gettext', 'x_edit_texts' );
function x_edit_texts($translation){
$translation = str_ireplace('Billing details', 'Subscriber Details', $translation);
return $translation;
}
I tried adding the code. and now my page is blank? can you help me?
Hi There,
The above provided code is functioning correctly. It seems that either your existing code in the functions.php file has any issues or you haven’t copied the full code from the above post.
If you can post the full code of your functions.php file, we can look into your issue.
Thanks!