3d ago
Dynamic Discounts Cart View Toggle
This would go a long way instead of manually editing things each update as I need to do this for MAP compliance with vendors that prohibit showing a dynamic discount in cart.
In class-main.php after
"public function calculate_discounts( $cart ) {"
I use this to disable it in cart and only show it at checkout
"if ( ! is_checkout() && ! defined( 'WC_AJAX' ) ) {
return; }"
Pending