There are no pre-requisites in order for you to be able to implement this solution.
Simply copy the pre-coded solution to your active theme’s functions.php or preferably the Code Snippets Plugin.
Need support with the snippet? We’re Here to Help You, Contact Us!
This snippet looks at if there are any coupon codes used in the order.
If there are, it fetches the coupon coupon type, name and the amount.
If the coupon code type is a percentage based discount, a percentage symbol is appended to the amount.
If the coupon code type is a fixed based discount, the currency symbol prefixes the amount.
Any codes are then shown in a formatted table which has had CSS applied to make it match the rest of the tables shown in the email.
Both the discount name and amount is shown beneath the main order details table.
Join forces with UnlimitedWP for an outsourced white label web development service you can truly rely on.