0

I'm trying to modify content in Thank you page, and the file I'm modifying is on the path: Theme/Magento_Checkout/web/template/success.phtml. But it seems I'm missing something, because after many attempts and clearing cache several times, NO change reflects on the front end.

Please help how can I override and change the structure/content for thankyou/success page.

Thanks.

2
4

If you are trying to override PHTML file then you should use below path.

Theme/Magento_Checkout/templates/success.phtml

Don't forget to flush the cache.

2
  • Thanks, it worked! I have a question tho, my content.html (cart slider) file is in magento_checkout >web > template > minicart folder, so is this means that phtml files won't go under WEB folder but .html files goes there? Also, my success page changes are now showing on front end, but after generating the content, I'm unable to find the success.phtml in my pub>static generated content whereas the content.html (cart slider) file is present there.
    – user54226
    Oct 20 '18 at 6:56
  • PHTMl files wont generate in pub>static folders.. only JS, CSS and Html files will go there. Oct 22 '18 at 13:45

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.