Title: Coupon Codes
Last modified: August 4, 2026

---

# Coupon Codes

 *  [emmaswl](https://wordpress.org/support/users/emmaswl/)
 * (@emmaswl)
 * [6 days, 16 hours ago](https://wordpress.org/support/topic/coupon-codes-17/)
 * Hi there,
 * Is there a way to show the coupon code somewhere on the Delivery Note?
 * Thanks,
   Emma

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [anjitha21](https://wordpress.org/support/users/anjitha21/)
 * (@anjitha21)
 * [4 days, 22 hours ago](https://wordpress.org/support/topic/coupon-codes-17/#post-18985573)
 * Hi [@emmaswl](https://wordpress.org/support/users/emmaswl/)
 * We will check if it is possible to do via customization.
 * Could you please let us know whether you’re using the default WooCommerce coupon
   functionality or a third-party plugin to generate the coupon codes?
 * Looking forward for your reply.
 *  Thread Starter [emmaswl](https://wordpress.org/support/users/emmaswl/)
 * (@emmaswl)
 * [4 days, 21 hours ago](https://wordpress.org/support/topic/coupon-codes-17/#post-18985643)
 * Hi there, I am using both but primarily I need it to show the default WooCommerce
   coupons
 * Thanks,
   Emma
 *  Plugin Support [anjitha21](https://wordpress.org/support/users/anjitha21/)
 * (@anjitha21)
 * [3 days, 23 hours ago](https://wordpress.org/support/topic/coupon-codes-17/#post-18986718)
 * Hi [@emmaswl](https://wordpress.org/support/users/emmaswl/)
 * Thank you for the information.
 * You can use the below filter to show the coupon code in delivery notes:
 *     ```wp-block-code
       add_filter( 'wcdn_order_info_fields', function( $fields, $order ) {    $coupons = $order->get_coupon_codes();    if ( ! empty( $coupons ) ) {        $fields['coupon_code'] = array(            'label' => __( 'Coupon', 'woocommerce-delivery-notes' ),            'value' => implode( ', ', $coupons ),        );    }    return $fields;}, 10, 2 );
       ```
   
 * Please add this filter in your theme’s function.php file or via Code Snippets
   plugin.
 * Let us know if there are any further issues.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcoupon-codes-17%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/woocommerce-delivery-notes/assets/icon-256x256.jpg?rev=2829362)
 * [Print Invoice & Delivery Notes for WooCommerce](https://wordpress.org/plugins/woocommerce-delivery-notes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-delivery-notes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-delivery-notes/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-delivery-notes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-delivery-notes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-delivery-notes/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [anjitha21](https://wordpress.org/support/users/anjitha21/)
 * Last activity: [3 days, 23 hours ago](https://wordpress.org/support/topic/coupon-codes-17/#post-18986718)
 * Status: not resolved