cancel
Showing results for 
Search instead for 
Did you mean: 

HTML changes do not reflect in front-end

HTML changes do not reflect in front-end

I am new to Magento 2 so please bear with me. I am trying to update some labels in a couple of html files related to my checkout page specifically files in

/var/www/vhosts/ ... But the changes are not reflected in the front end even when I flush Magento cache and reindex.

Any pointers would be extremely appreciated.

Thanks

2 REPLIES 2

Re: HTML changes do not reflect in front-end

Follow below steps for view your changes

Delete var folder

Delete pub/static/

Run bellow commands for generate static content and clean cache.

php bin/magento setup:static-content:deploy

php bin/magento cache:clean

deleting browser cache

Now check your changes.

Problem Solved ? Click on 'Kudos' & Accept as Solution to encourage to write more answers !

Re: HTML changes do not reflect in front-end

Hi @frank95a ,

 

Html changes are not reflected directly even you flush the cache,you need to remove the pub/static/frontend folder and after that you need to run the deploy cmd to reflect the changes on the checkout pages.

 

Please run the below cmd-:

rm -rf pub/static/frontend var/cache var/page-cache generated/
php bin/magento s:s:d -f
php bin/magento c:f

after that check your changes.

 

Thanks