Alligiftor Posted April 13, 2011 Share Posted April 13, 2011 HiWhen a customer presses submit on the contact us page it just reloads the same contact us page, it doesn't display the message " your message has been successfully sent to our team"How do i fix this, i've attached a copy of my contact-form.tpl Link to comment Share on other sites More sharing options...
Alligiftor Posted April 13, 2011 Author Share Posted April 13, 2011 it won't let me attach file so i've copied and pasted it below:{capture name=path}{l s='Contact'}{/capture}{include file=$tpl_dir./breadcrumb.tpl} {l s='Contact us'} {if isset($confirmation)}{l s='Your message has been successfully sent to our team.'} {l s='Home'} {else}{l s='For questions about an order or for information about our products you can contact us via one of the metods below'}. {include file=$tpl_dir./errors.tpl} <form action="{$request_uri|escape:'htmlall':'UTF-8'}" method="post" class="std">{l s='Send a message'} {l s='Subject'}{l s='-- Choose --'} {foreach from=$contacts item=contact}{$contact.name|escape:'htmlall':'UTF-8'} {/foreach} {foreach from=$contacts item=contact} {$contact.description|escape:'htmlall':'UTF-8'} {/foreach}{l s='E-mail address'} <input type="text" id="email" name="from" value="{$email}" /> {l s='Message'} <textarea id="message" name="message" rows="7" cols="35">{if isset($smarty.post.message)}{$smarty.post.message|escape:'htmlall':'UTF-8'|stripslashes}{/if}</textarea> <input type="submit" name="submitMessage" id="submitMessage" value="{l s='Send'}" class="button_large"> Visit us instore: 135 Front Street Chester le Street County Durham DH3 3BL Store Opening Times Monday - Friday 9:00am until 5:00pm Saturday 9:00am until 4:00pm Sunday CLOSED Call free* us on: 08082889874 * calls are free from a BT lanline, calls from mobiles/other networks may cost. Please note we DO NOT share your details with any third party nor do we use them to contact you other than to answer your question submitted above. </form>{/if} Link to comment Share on other sites More sharing options...
shacker Posted April 14, 2011 Share Posted April 14, 2011 what version is it? is is a custom theme, maybe replace the contact-form.tpl with the default contact tpl of prestashop template Link to comment Share on other sites More sharing options...
forw Posted April 20, 2011 Share Posted April 20, 2011 did find a solution? I have the same problem here...thanks in advance Link to comment Share on other sites More sharing options...
Alligiftor Posted April 20, 2011 Author Share Posted April 20, 2011 did find a solution? I have the same problem here...thanks in advance HiI just ended up uploading original Contactus.tpl fileI think it must of been my template file that was causing it not to work Link to comment Share on other sites More sharing options...
Recommended Posts