From 88513dafda15ad0fe5615f3b97e9929091d70a0d Mon Sep 17 00:00:00 2001 From: lat9 Date: Tue, 19 Mar 2024 13:09:08 -0400 Subject: [PATCH] #237: Include 'full' order-object in notification 1st parameter --- .../includes/modules/order_total/ot_group_pricing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optional-core-overwrites/includes/modules/order_total/ot_group_pricing.php b/optional-core-overwrites/includes/modules/order_total/ot_group_pricing.php index ed560da..3010377 100644 --- a/optional-core-overwrites/includes/modules/order_total/ot_group_pricing.php +++ b/optional-core-overwrites/includes/modules/order_total/ot_group_pricing.php @@ -188,7 +188,7 @@ protected function calculate_deductions() ]; $this->notify('NOTIFY_OT_GROUP_PRICING_DEDUCTIONS', [ - 'order_info' => $order->info, + 'order' => $order, 'discount_percentage' => $discount_percentage, 'include_shipping' => $this->include_shipping, 'include_taxes' => $this->include_tax,