Hello everyone!
I have a problem with this contribution, I have been asked to gather all orders that were created using a discount coupon but I have realised that discount_coupons_to_orders table is empty.
I am trying to solve this but I don't know where the function is that saves the data to this table when an order is made.
Any help to resolve this problem would be much appreciated as it's a top priority!