Post by » Sat Apr 03, 2021 2:07 am

I am new to opencart and using due to lot of span messages i need to hide the submit button in contact us page either permanently or hide if customer not logedin.
Please guide me how to hide the submit button in contact us page opencart default theme
Thanks in advance



Fri Mar 12, 2021 1:47 pm

Post by sw!tch » Sat Apr 03, 2021 3:44 pm

Unlikely hiding the submit button will do anything as the form can still be sent via post. If you were to do this, you would be better off putting the customer check in the validate method not hiding a button.

Just use one of the anti spam plugins on the marketplace, honeypot stuff is effective.

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!

Active Member


Sat Apr 28, 2012 2:32 pm
Location - USA

Post by paulfeakins » Tue Apr 06, 2021 6:52 pm

As above, that won't help.

What you need is this: ... n_id=36312

For quick, professional OpenCart support please email

User avatar
Guru Member


Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom
Who is online

Users browsing this forum: No registered users and 28 guests