WooCommerce - Always show variation price

lorro Oct 29th, 2015 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.   // show variation price even if all variations are the same price
  3.   // code goes in function.php for your child theme
  4.   add_filter('woocommerce_show_variation_price', function() {
  5.     return true;
  6.   } );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand