Post by PatrickR » Thu Jun 13, 2019 10:14 pm

Hi everybody, I'm using the opencart contact page but I want to remove the "our location" details ( I don't want to show a phone number ).
I'm trying now to remove <h1>{{ heading_title }}</h1> <h3>{{ text_location }}</h3> from contact.twig with the theme editor but they come back after saving.

I also want to have an text introduction before the form. How can I do that ?
Thank you



Sun Feb 10, 2019 5:39 am

Post by Johnathan » Fri Jun 14, 2019 12:59 am

The Theme Editor won't let you use any ocMod files on the template files you edit in there, so I recommend not using it. If you want to edit the template file directly, that should work as well, just make the same edit you described. You should also be able to then add some introduction text at the top of the form, somewhere before the <form> tag.

Also, after editing, don't forget to refresh your Twig cache (by using the gear icon in the upper-right of the main admin Dashboard). You can also turn off Twig caching in there, which is useful when developing a site.

Image Image Image Image

User avatar
Global Moderator


Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: No registered users and 18 guests