Post by ChinmayBhatta » Sun Dec 24, 2017 3:11 pm

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.

Newbie

Posts

Joined
Wed Mar 08, 2017 7:16 pm

Post by kestas » Sun Dec 24, 2017 5:13 pm

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

Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here


Active Member

Posts

Joined
Tue Oct 12, 2010 2:23 am

Post by straightlight » Sun Dec 24, 2017 11:07 pm

In addition, you need to clear out the admin - > extensions - > modifications - > refresh button since the topic subject is about TWIG files.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ChinmayBhatta » Tue Dec 26, 2017 1:10 pm

:( 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.

Newbie

Posts

Joined
Wed Mar 08, 2017 7:16 pm

Post by straightlight » Tue Dec 26, 2017 9:16 pm

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).

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by sarthakinfotech » Tue Dec 26, 2017 10:01 pm

hi
better option is to change the template file from admin panel .
No need to clear cache. :)

Good Day,
Jagruti
opencart tips and tricks ,
opencart blogs , opencart extensions/themes , custom development.


User avatar
Active Member

Posts

Joined
Tue Aug 05, 2014 1:12 am
Location - india
Who is online

Users browsing this forum: Semrush [Bot] and 420 guests