Created
February 22, 2023 10:06
-
-
Save sarancartrabbit/3d5f983980639004ba3bd9bb8829af4e to your computer and use it in GitHub Desktop.
Discount rules v2: To show the custom price for dynamically change quantity
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
add_filter('advanced_woo_discount_rules_custom_target_for_simple_product_on_qty_update', function ($target){ | |
$target = 'div.btn-price'; | |
return $target; | |
}, 10); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment