The apply discount code is displayed after the shopping cart items list in default Magento 2 but Moving apply coupon code to order summary is an ideal solution to grab customers’ attention.
Attachment 15823
Checkout Steps How to Move Apply Coupon to Order Summary in Magento 2