explodedk Posted May 11, 2014 Share Posted May 11, 2014 (edited) Hi is it possible to remove the Subject dropdown field of the contact form page. For my business i want only 1 thing, so no reason for people to have to use the dropdown before they can write me. it is for prestashop 1.6 running Leo Mobile theme but the contact-us is stock it seems... the page is: http://billigedufte.dk/mob/contact-us thanks in advance! Edited May 12, 2014 by explodedk (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted May 12, 2014 Share Posted May 12, 2014 You might want to try out this: open contact.form.tpl (theme's folder) Look for <select id="id_contact" class="form-control" name="id_contact"> <option value="0">{l s='-- Choose --'}</option> {foreach from=$contacts item=contact} <option value="{$contact.id_contact|intval}" {if isset($smarty.request.id_contact) && $smarty.request.id_contact == $contact.id_contact}selected="selected"{/if}>{$contact.name|escape:'html':'UTF-8'}</option> {/foreach} </select> And change it to, for example <input type="hidden" name="id_contact" value="1"> Please notice the value must be a valid contact id Link to comment Share on other sites More sharing options...
explodedk Posted May 12, 2014 Author Share Posted May 12, 2014 thanks worked like a charm !! great support in this forum !! Link to comment Share on other sites More sharing options...
aliaspt Posted June 5, 2015 Share Posted June 5, 2015 This works but there is also "Select department" line left that looks out of place. When I remove the entire form-group selector, it sends a confirmation email to the customer but we don't receive the email from the contact us form. Link to comment Share on other sites More sharing options...
gabiferbe Posted June 18, 2019 Share Posted June 18, 2019 On 5/12/2014 at 3:28 AM, NemoPS said: "hidden" name="id_contact" value="1"> I need the same for prestashop 1.7 please HELP! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now