1

I want to make changes in some magento-2 javascript files, but the result does not change on the storefront.

For example I change the text "Are you sure you want to remove this item from your Compare Products list?" in file \vendor\magento\module-catalog\view\frontend\web\js\view\compare-products.js.

Then I delete all files in the folders: /pub/static/ and /var/view_preprocessed/

Run the commands: service varnish restart and magento setup: static-content: deploy

But there is no result!

Please tell me what I'm doing wrong?

2

1 Answer 1

1

In Chrome:

  1. Push F12
  2. Network Tab - Click to Disable cache
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.