Created
August 10, 2023 09:36
-
-
Save plugin-republic/8e73b060281934810cbd5086fca5dab3 to your computer and use it in GitHub Desktop.
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 | |
/** | |
* Prevent products with add-ons that don't add cost from updating the product price in the cart | |
* Fixes a compatibility issue with Aelia Currency Switcher with products with set prices in alt currencies | |
*/ | |
add_filter( 'pewc_ignore_price_with_extras', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment