I'm trying to get the "Apply Discount" block to auto-expand on the payment page in checkout.
I've got it working in the cart by overriding coupon.phtml but the checkout payment version is:
I think it's layout is being generated by
<!-- ko foreach: getRegion('messages') --> <!-- ko template: getTemplate() --><!-- /ko --> <!--/ko-->
but I don't know how to modify that to get it to stay expanded.
As I've said, it's specifically the payment page in checkout that I'm trying to change, not the cart.
Would really appreciate your help.