How to override One Step Checkout discount.js

Viewed 18

I want after entering a discount code that the page reloads. For this, I tried in my module "app\code\Max\Mustermann\", this file

"app/code/Mageplaza/Osc/view/frontend/web/js/view/payment/discount.js" to overwrite. Unfortunately, I did not succeed. Can someone please help me and explain step by step how to overwrite this file?

Systeminfo: Magento: 2.4.3-p1 and Mageplaza - One Step Checkout: 4.0.10

0 Answers
Related