1. Home
  2. Knowledge Base
  3. WooCommerce Product Table
  4. Advanced Usage

Hide the variation description from the add to cart column

If you are using variation dropdowns, then WooCommerce Product Table will display the individual variation description below the add to cart button when a customer selects a variation.

The information that appears here is controlled by the template files provided by WooCommerce. To remove this information, you would need to modify the following template: /single-product/add-to-cart/variation.php.

How to hide the variation description in WooCommerce

  1. In your theme or child theme, copy the variation.php file in WooCommerce to this location: /wp-content/themes/<your theme>/woocommerce/single-product/add-to-cart/variation.php​
  2. You can then edit this file to remove the elements you don't need.

Please note that this is advanced usage and does not come under our standard plugin support. We have provided this article to point you in the right direction, but we can't provide support with customizing the WooCommerce template files. If you need any help with this then we recommend posting a job on Codeable, where their pre-approved WordPress experts will send you a price. We have partnered with them to provide plugin customizations for our customers.

Related Articles

If searching the knowledge base hasn't answered your question, please contact support.