Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function adjust_deal_prices( $deal, $order_id ) {
- $order = wc_get_order( $order_id );
- $deal['value'] = $order->get_subtotal();
- return $deal;
- }
- add_filter( 'wpf_ecommerce_activecampaign_add_deal', 'adjust_deal_prices', 10, 2 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement