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.

2 Answers 2

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.

1
  • 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. Commented Jun 6, 2016 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 and acknowledge you have read our privacy policy.

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