If you are offering multiple coupons it can be useful to know which of them was used in an order. This code adds the coupon code to the order details and displays them in a separate row in the emails sent to the customer and admin.
The code snippet below allows you to: Show a notice on the cart and checkout page, reminding customers that they get a discount if spending more than a minimum amount. Automatically apply a discount and show a notice that the discount was applied when the cart total is more than a minimum amount. First make sure you … Read moreApply a coupon discount for minimum cart total