Page 1 of 1

Changes in Twig Files in 3.0.2.0

Posted: Sun Dec 24, 2017 3:11 pm
by ChinmayBhatta
How does changes in twig files taken in the frontend ?
I can't see my changes. Removed Cache folder in the modification folder.

I have even renamed the "product" folder to catalog\view\theme\default\template\product11, the site still works like before with old code.

Re: Changes in Twig Files in 3.0.2.0

Posted: Sun Dec 24, 2017 5:13 pm
by kestas
Hi,

you need clean your store cash in admin main dashboard in the right left upper blue gear. There you need to clean cash. And clean browser cash.

Cheers

Re: Changes in Twig Files in 3.0.2.0

Posted: Sun Dec 24, 2017 11:07 pm
by straightlight
In addition, you need to clear out the admin - > extensions - > modifications - > refresh button since the topic subject is about TWIG files.

Re: Changes in Twig Files in 3.0.2.0

Posted: Tue Dec 26, 2017 1:10 pm
by ChinmayBhatta
:( Sorry, it didn't work. Clearing Cache from Admin had no effect on the front end piece.

I didn't create any extension. I was directly making a small change in the twig file.

Re: Changes in Twig Files in 3.0.2.0

Posted: Tue Dec 26, 2017 9:16 pm
by straightlight
Ensure your system/storage folder is outside your public_html folder and that the moved path is adjusted in your config.php and admin/config.php files, also in your .htaccess (if also included in your .htaccess file).

Re: Changes in Twig Files in 3.0.2.0

Posted: Tue Dec 26, 2017 10:01 pm
by sarthakinfotech
hi
better option is to change the template file from admin panel .
No need to clear cache. :)