Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Plugin Name: WooCommerce - no variation info
- Plugin URI: https://www.damiencarbery.com
- Description: Do not display variation information in Checkout page or order emails because the variation name is appended to the product name.
- Author: Damien Carbery
- Version: 0.1
- */
- // From: woocommerce/includes/wc-template-functions.php
- //apply_filters( 'woocommerce_display_item_meta', $html, $item, $args );
- add_filter( 'woocommerce_display_item_meta', '__return_null' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement