Post by mrkingcbe@gmail.com » Sat Apr 03, 2021 2:07 am

Hi,
I am new to opencart and using 3.0.3.7 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 3.0.3.7 default theme
Thanks in advance

Raymond


Posts

Joined
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

Posts

Joined
Sat Apr 28, 2012 2:32 pm

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

As above, that won't help.

What you need is this: https://www.opencart.com/index.php?rout ... n_id=36312

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: AdsBot [Google], Shiftcom, SohBH and 419 guests