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

3 REPLIES 3

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 ! Smiley Happy

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

Re: HTML changes do not reflect in front-end

Are you sure this file is being used to overwrite that block with your new block because if its not being output then it is most likley that the standard checkout block is being used 

 

 

 

 

MyAARPMedicare