Conflict with “add_fee” function – unable to add discount
-
Hello,
I was using
$cart->add_fee
to add discount (based on custom logic). After enabling plugin it stopped working.
Adding discount is hooked withadd_action('woocommerce_before_calculate_totals', 'discount_based_on_trade_account');
.Any tip how to get it working back is appreciated
The page I need help with: [log in to see the link]
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Conflict with “add_fee” function – unable to add discount’ is closed to new replies.