2

When I edit the Order Summary block, I do not see my changes.

I even modified the vendor/magento/module-checkout/view/frontend/web/template/summary/item/details.phtml template directly for testing purposes.

I already tried:

  • flushing the Magento cache, by running bin/magento cache:flush
  • clearing var/generation, var/cache and var/page_cache
  • running bin/magento setup:static-content:deploy.
1

Are you using the Varnish FPC and/or production mode? You may have to re-deploy all of it again.

Try clearing pub/static, deploy static files again and re-do production mode if you are using it.

You can also use the magento commands (via bin/ of your Magento 2 install) to clean the caches.

  • Thanks for the answer. I have edited the question to make it clear that I flush the cache using bin/magento. I will try clearing pub/static. – Francis Turbide Jun 6 '16 at 16:49
1

I found the solution !

I turns out, the default locale for the project was set to fr_CA but the deploy command only deployed en_US static files when we do not provide the locale.

So, the solution is simply to call bin/magento setup:static-content:deploy fr_CA.

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.