Liquidus Posted August 29, 2013 Share Posted August 29, 2013 Hello, Having a problem removing Subject Heading and Product in the prestashop 1.5.1 version. I've tried various methods over the internet but i get errors when i test it, sometimes it works, sometimes it says: Please select a subject heading (or something similar). Please tell me how to completly remove those two fields so my customers wont need to select them Thank you! Link to comment Share on other sites More sharing options...
vekia Posted August 29, 2013 Share Posted August 29, 2013 what you exactly mean by "Subject heading and Product" can you shed some light on this? thanks in advance Link to comment Share on other sites More sharing options...
Liquidus Posted August 29, 2013 Author Share Posted August 29, 2013 Hey, My site http://www.multemargele.ro/contacteaza-ne <---- I want to remove the part where it says: Subiect Mesaj, and Produs. I dont need those two lines. In english its Subject Heading, where you can choose either Customer Service or Webmaster. Link to comment Share on other sites More sharing options...
vekia Posted August 29, 2013 Share Posted August 29, 2013 customers > contacts tab in back office, you can define there available "contacts" mails Link to comment Share on other sites More sharing options...
Liquidus Posted August 29, 2013 Author Share Posted August 29, 2013 Ok, seeing how this module works, then, how can i make a default Subject Heading, so they dont have to choose one. And still, how to i remove the tab where they can choose a product in the contact form? Link to comment Share on other sites More sharing options...
vekia Posted August 29, 2013 Share Posted August 29, 2013 i don't see there field to define the product Link to comment Share on other sites More sharing options...
Liquidus Posted August 29, 2013 Author Share Posted August 29, 2013 I have uploaded a screenshot here http://www.multemargele.ro/problem.png maybe now you will understand, i dont know how to express myself :-s Link to comment Share on other sites More sharing options...
vekia Posted August 29, 2013 Share Posted August 29, 2013 i suppose that "produs" appear only for logged customers, can you verify it? Link to comment Share on other sites More sharing options...
Liquidus Posted August 29, 2013 Author Share Posted August 29, 2013 I see now your confusion, yes, it appears only for logged in users Link to comment Share on other sites More sharing options...
vekia Posted August 29, 2013 Share Posted August 29, 2013 contact-form.tpl file located in your theme directory, open it and search for: {if isset($isLogged) && $isLogged} <p class="text select"> <label for="id_product">{l s='Product'}</label> {if !isset($customerThread.id_product)} {foreach from=$orderedProductList key=id_order item=products name=products} <select name="id_product" id="{$id_order}_order_products" class="product_select" style="width:300px;{if !$smarty.foreach.products.first} display:none; {/if}" {if !$smarty.foreach.products.first}disabled="disabled" {/if}> <option value="0">{l s='-- Choose --'}</option> {foreach from=$products item=product} <option value="{$product.value|intval}">{$product.label|escape:'htmlall':'UTF-8'}</option> {/foreach} </select> {/foreach} {elseif $customerThread.id_product > 0} <input type="text" name="id_product" id="id_product" value="{$customerThread.id_product|intval}" readonly="readonly" /> {/if} </p> {/if} you can: remove it comment it (with {* COMMENT *} this method) Link to comment Share on other sites More sharing options...
Liquidus Posted September 1, 2013 Author Share Posted September 1, 2013 Ok, works fine for products, thank you Link to comment Share on other sites More sharing options...
vekia Posted September 1, 2013 Share Posted September 1, 2013 you can do the same for select with emails, you can comment them and then - create input type="hidden" with email address that you want to use Link to comment Share on other sites More sharing options...
Recommended Posts