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
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.
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.
Who is online
Users browsing this forum: No registered users and 27 guests