Page 1 of 1

Contact Page, Hide Contact Form

Posted: Tue Apr 09, 2019 8:53 pm
by Valerina
Hey All

I am running oc 3.0.3.1 using the default theme.
How do I hide the Contact Form located at the bottom of Contact page?

Re: Contact Page, Hide Contact Form

Posted: Tue Apr 09, 2019 9:31 pm
by rjcalifornia
Valerina wrote:
Tue Apr 09, 2019 8:53 pm
Hey All

I am running oc 3.0.3.1 using the default theme.
How do I hide the Contact Form located at the bottom of Contact page?
May be this plugin can help:

https://www.opencart.com/index.php?rout ... n_id=17172

Re: Contact Page, Hide Contact Form

Posted: Tue Apr 09, 2019 11:12 pm
by DigitCart
Hi
Add this to your stylesheet.css:

Code: Select all

#information-contact form {
    display: none;
}
or remove the form from this file:
catalog\view\theme\default\template\information\contact.twig
from:

Code: Select all

<form action="{{ action }}" method="post" enctype="multipart/form-data" class="form-horizontal">
to:

Code: Select all

</form>

Re: Contact Page, Hide Contact Form

Posted: Wed Apr 10, 2019 4:52 pm
by letxobnav
at least do not try the mentioned extension as it does not support V3 (sigh...)

Re: Contact Page, Hide Contact Form

Posted: Thu Jun 13, 2019 9:57 pm
by PatrickR
Why not creating an information page called contact instead of using the opencart page ?

Re: Contact Page, Hide Contact Form

Posted: Sun Nov 19, 2023 4:51 am
by elizabeth2023
Hi,

Sorry for the probably dumb question.
But where do I find/how do I access catalog\view\theme\default\template\information\contact.twig?

Thanks in advance!

Re: Contact Page, Hide Contact Form

Posted: Mon Nov 20, 2023 1:45 am
by softmonke
elizabeth2023 wrote:
Sun Nov 19, 2023 4:51 am
Hi,

Sorry for the probably dumb question.
But where do I find/how do I access catalog\view\theme\default\template\information\contact.twig?

Thanks in advance!
If your website is already hosted on a server, you can access your OpenCart files via FTP (you will need an FTP client to do so). Alternatively, if your web hosting provider has some sort of server admin panel, like cPanel, Plesk, etc., you can probably access the files through the server admin panel as well.

Re: Contact Page, Hide Contact Form

Posted: Mon Nov 20, 2023 7:26 pm
by paulfeakins
elizabeth2023 wrote:
Sun Nov 19, 2023 4:51 am
Sorry for the probably dumb question.
But where do I find/how do I access catalog\view\theme\default\template\information\contact.twig?
If you have to ask this you'd be better off paying a developer to do this for you.

Re: Contact Page, Hide Contact Form

Posted: Sat Apr 27, 2024 12:24 am
by EvolveWebHosting
elizabeth2023 wrote:
Sun Nov 19, 2023 4:51 am
Hi,

Sorry for the probably dumb question.
But where do I find/how do I access catalog\view\theme\default\template\information\contact.twig?

Thanks in advance!
Either by opening File Manager through your web hosting control panel or by connecting to your files using an FTP program such as Filezilla

Re: Contact Page, Hide Contact Form

Posted: Mon Apr 29, 2024 7:59 pm
by paulfeakins
Valerina wrote:
Tue Apr 09, 2019 8:53 pm
How do I hide the Contact Form located at the bottom of Contact page?
Also, can I ask why?