0

I'm trying to override a file in my theme, but its not showing. The file is located in

vendor/mollie/magento2/view/frontend/web/template/payment/creditcard-with-components.html.

location of my file is

Vendor/Theme/Mollie_Magento2/web/template/payment/creditcard-with-components.html.

Is this path wrong?

3
  • please check your theme name in app/design/frontend/ Aug 17 '20 at 8:50
  • I think payment is html file, right? Aug 17 '20 at 12:24
  • yes, i updated the question @DhirenVasoya Aug 17 '20 at 13:48
0

copy the file from :

vendor/mollie/magento2/view/frontend/web/template/payment/creditcard-with-components.html

to

app/design/frontend/Vendor/YourTheme/Mollie_Magento2/web/template/payment/creditcard-with-components.html

And then run below commands :

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento cache:clean
2
  • that's what i did, doesn't show my changes. Aug 17 '20 at 14:19
  • Have you check, you are created proper path, like extension name is proper not any mistake there? Aug 17 '20 at 14:20

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.