How to Remove Price Column From Woocommerce Email?

7 minutes read

To remove the price column from WooCommerce email, you need to edit the email templates. You can do this by accessing the WooCommerce template files in your WordPress theme directory. Look for the email template files that correspond to the email you want to edit, such as order confirmation or customer receipt.


Open the template file in a text editor and find the section that displays the price column. This may be labeled with HTML tags or WooCommerce template tags. Delete or comment out this section to remove the price column from the email.


Save the changes to the template file and test the email by placing a new order in your WooCommerce store. The price column should no longer be displayed in the email notifications sent to customers. Remember to make a backup of the template file before making any changes to avoid any issues.

Best WooCommerce Cloud Hosting Providers of October 2024

1
Vultr

Rating is 5 out of 5

Vultr

  • Ultra-fast Intel Core
  • High Performance and Cheap Cloud Dedicated Servers
  • 1 click install Wordpress
  • Low Price and High Quality
2
Digital Ocean

Rating is 5 out of 5

Digital Ocean

  • Active Digital Community
  • Simple Control Panel
  • Starting from 5$ per month
3
AWS

Rating is 5 out of 5

AWS

4
Cloudways

Rating is 5 out of 5

Cloudways


What is the best way to format woocommerce email without price column?

To format WooCommerce email without the price column, you can follow these steps:

  1. Log in to your WordPress dashboard and go to WooCommerce > Settings.
  2. Click on the "Emails" tab.
  3. Scroll down to the section where you can customize the email template for the specific email you want to modify (such as Order Confirmation, Customer Invoice, etc.).
  4. In the email template editor, locate the section that includes the price column.
  5. Remove or comment out the code for the price column, so it will no longer display in the email.
  6. Save your changes.


Alternatively, you can use a plugin or custom CSS to remove the price column from the WooCommerce emails. Just make sure to test the changes to ensure that the email layout still looks good and all necessary information is included.


How to customize woocommerce email to remove price column?

To customize the WooCommerce email to remove the price column, you can follow these steps:

  1. Access your WordPress dashboard and go to WooCommerce -> Settings.
  2. Click on the Emails tab.
  3. Find the email template that you want to customize (such as New Order or Order Processing).
  4. Click on the Manage button next to the email template.
  5. Scroll down to the email template content and locate the table that displays the order items.
  6. Look for the column that contains the price information and delete it.
  7. Save your changes.


If you are not comfortable with editing code, you may want to use a plugin like WooCommerce Email Customizer to easily customize your email templates without touching any code.


How to modify the woocommerce email template to remove price column?

To modify the WooCommerce email template to remove the price column, you will need to edit the template file in your WordPress theme. Here's how you can do it:

  1. Access the template file: Go to your WordPress dashboard and navigate to Appearance > Theme Editor. Look for the email template file that you want to modify. This can usually be found in the WooCommerce folder within your theme files. The file you are looking for is typically named email-order-details.php.
  2. Remove the price column: Open the email-order-details.php file and look for the part of the code that generates the price column. It will usually be within a loop that loops through the items in the order. Find the code that displays the price and delete it. This code will look something like .
  3. Save changes: Once you have removed the price column code, save the changes to the template file.
  4. Test the email: To make sure the price column has been successfully removed, place a test order on your site and check the email notification that is sent out. The price column should no longer be displayed in the email.


By following these steps, you should be able to modify the WooCommerce email template to remove the price column.


How to override woocommerce email template to remove price column?

To override the WooCommerce email template to remove the price column, you will need to create a custom email template in your theme or child theme. Here is a step-by-step guide:

  1. Locate the WooCommerce email template file that you want to customize. This file is usually located in the "woocommerce/templates/emails" folder within the WooCommerce plugin directory.
  2. Copy the email template file that you want to customize to your theme or child theme directory. You can find a list of available email template files in the WooCommerce plugin documentation.
  3. Open the copied email template file in a code editor.
  4. Look for the code that displays the price column in the email template. This code will vary depending on the specific email template you are customizing. Remove the relevant code that outputs the price column.
  5. Save the changes to the email template file.
  6. Test the email template by placing an order on your website and confirming that the price column has been removed from the email notification.


By following these steps, you can successfully override the WooCommerce email template to remove the price column. Remember to keep your custom email template updated with any changes or updates made to the WooCommerce plugin in the future.


What is the process to eliminate price column from woocommerce email?

To eliminate the price column from WooCommerce email, you will need to make changes to the code in your WordPress theme's functions.php file.


Here's the step-by-step process:

  1. Access your WordPress admin dashboard.
  2. Go to Appearance > Theme Editor.
  3. Locate the functions.php file in the list of theme files on the right-hand side.
  4. Click on the functions.php file to open it for editing.
  5. Scroll down to the end of the file and add the following code snippet:
1
2
3
4
5
add_filter( 'woocommerce_email_order_items_args', 'remove_price_column_from_woocommerce_emails', 10, 1 );
function remove_price_column_from_woocommerce_emails( $args ) {
    $args['show_prices'] = false;
    return $args;
}


  1. Click on Update File to save the changes.


After following these steps, the price column should no longer appear in WooCommerce emails. Please note that modifying the functions.php file can affect the functioning of your website, so it's recommended to back up your site before making any changes.

Facebook Twitter LinkedIn Telegram Whatsapp Pocket

Related Posts:

To add custom email notifications in WooCommerce, you can create a custom email template using the built-in email editor or by using a plugin.To create a custom email template using the built-in email editor, go to WooCommerce > Settings > Emails. From t...
To add a logo to a WooCommerce email template, you will need to follow these steps:Locate the WooCommerce email templates: First, navigate to your WordPress dashboard and go to WooCommerce > Settings. Then, click on the "Emails" tab. Choose the emai...
To add HTML elements into email templates in WooCommerce, you can customize the email templates within the WooCommerce settings. You can access the email templates by going to WooCommerce > Settings > Emails. From there, you can choose the specific email...