Jump to content

[SOLVED] Contact Page: remove dropdown or preselect default subject


Recommended Posts

folks, not sure whether this forum is right but I searched and found only references to how to change the subject fields or how to make radio buttons instead of dropdown.

but my reqeuest is different: since I only want to use 1 generic email for 1 sort of inquiry ("support request / general inquiry") I would like to either get rid of the dropdown completely or at least make my only option the default subject. looks too stupid if you click on the dropdown and there is only 1 item on the list.

any idea?
Phil

Link to comment
Share on other sites

I think the best solution is to use CSS to hide the dropdown. Change line 17 of contact-form.tpl (in PrestaShop v1.3.1) from:





to:





Rocky, you rock. Wake up in the morning and problem fixed. Wow. I owe you a beer.
Phil

EDIT. too early. When I send a test message then I get an error message that I need to select first a contact from the list. So it is hidden but still required... any further idea?
Link to comment
Share on other sites

  • 3 weeks later...
  • 6 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...