daily pastebin goal
32%
SHARE
TWEET

WooCommerce - Always show variation price

lorro Oct 29th, 2015 74 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
Top