Created
April 5, 2019 21:06
-
-
Save dangoodman/80065ff2adbf07697d83df4c29a56ed6 to your computer and use it in GitHub Desktop.
WooCommerce, Tree Table Rate Shipping: include non-shippable (virtual, etc) items.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Paste everything below this line to your child-theme's functions.php file. | |
// Tree Table Rate Shipping: pass non-shippable (virtual, etc) items as well to shipping rules. | |
add_filter('trs_include_non_shippable_items', '__return_true'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment