change product to service in email
-
My request sounds easy, but I’m not able to configure it. I want to change the word “product” in the new order email the customers received to “service”.. as we are offering services, not products.
I searched for such request, I found that I have to edit this file “email-order-details.php ”
instead, I have this “customer-appointment-confirmed.php” and I changed<th class="td" scope="col" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php esc_html_e( 'Product', 'woocommerce-appointments' ); ?></th>
to
<th class="td" scope="col" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php esc_html_e( 'Serivce', 'woocommerce-appointments' ); ?></th>
I can find this file:
customer-invoice.php
it contains these lines about the order details:/** * Hook for the woocommerce_email_order_details. * * @hooked WC_Emails::order_details() Shows the order details table. * @hooked WC_Structured_Data::generate_order_data() Generates structured data. * @hooked WC_Structured_Data::output_structured_data() Outputs structured data. * @since 2.5.0 */ do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
where to find such method or file ??!
but nothing changed
anyone knows the solution for this?The page I need help with: [log in to see the link]
- The topic ‘change product to service in email’ is closed to new replies.