0

I'm trying to override this template:

vendor/stripe/module-payments/view/frontend/web/template/payment/form.html

with

app/design/frontend/Vendor/Theme/Magento_Checkout/web/template/payment/form.html

But it doesn't work. What might be a problem?

0

I am not sure but try this way :-

app/design/frontend/VendorName/themename/YourModule_Name/web/template/payment/form.html

After this run command:

php bin/magento setup:upgrade

THANKS.

1
  • No thats my exact path, sorry I mistyped it the first time, I just edited my question
    – Maroun
    Jun 14 at 7:41
0

Override file on below path

/design/frontend/Vendor/Theme/YourModule_Name/frontend/web/template/payment/form.html

And run below command:

php bin/magento setup:upgrade

Hope this help you.

2
  • This is incorrect path
    – Maroun
    Jun 14 at 16:55
  • I wrote your moduname. It means stripe module not checkout. I Wasn't said checkout module.but happy to hear you fixed it Jun 14 at 18:16
-1

After a few hours I realized that editing it in Magento_Checkout wasn't correct. The correct path was:

app/design/frontend/Vendor/Theme/StripeIntegration_Payments/web/template/payment/form.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.