Jump to content

Edit History

avgear

avgear

I use the mypresta extra product tab module.
I add the contact form as a tab using the code

<form action="__url contact page___" method="post" class="contact-form-box" enctype="multipart/form-data"><input type="hidden" name="id_contact" value="2" /><fieldset><strong>wyślij wiadomość</strong>
<div class="clearfix">
<div class="col-xs-12 col-md-3">
<div class="form-group selector1"><label for="email">adres e-mail</label> <input class="form-control grey validate" type="text" id="email" name="from" data-validate="isEmail" value="" /></div>
<div class="submit"><style>
input[name=url] {
display: none !important;
}
</style>
<input type="text" name="url" value="" class="hidden"> 
<input type="hidden" name="token" value="{$token}"><button type="submit" name="submitMessage" id="submitMessage" class="button btn btn-default button-medium"><span>Wyślij<i class="icon-chevron-right right"></i></span></button></div>
</div>
<div class="col-xs-12 col-md-9">
<div class="form-group"><label for="message">Wiadomość</label> <textarea style="min-height: 100px;" class="form-control" id="message" name="message">Wiadomość dotycząca: {name}</textarea></div>
</div>
</div>
</fieldset></form>

__url contact page__ - I change to a link to the shop's contact page

An error appears when trying to send "An error occurred while sending the message, please try again."

On the contact page, the contact form works and emails arrive and get sent. What could this be due to?

avgear

avgear

I use the mypresta extra product tab module.
I add the contact form as a tab using the code

<form action="__url contact page___" method="post" class="contact-form-box" enctype="multipart/form-data"><input type="hidden" name="id_contact" value="2" /><fieldset><strong>wyślij wiadomość</strong>
<div class="clearfix">
<div class="col-xs-12 col-md-3">
<div class="form-group selector1"><label for="email">adres e-mail</label> <input class="form-control grey validate" type="text" id="email" name="from" data-validate="isEmail" value="" /></div>
<div class="submit"><style>
input[name=url] {
display: none !important;
}
</style>
<input type="text" name="url" value="" class="hidden"> 
<input type="hidden" name="token" value="{$token}"><button type="submit" name="submitMessage" id="submitMessage" class="button btn btn-default button-medium"><span>Wyślij<i class="icon-chevron-right right"></i></span></button></div>
</div>
<div class="col-xs-12 col-md-9">
<div class="form-group"><label for="message">Wiadomość</label> <textarea style="min-height: 100px;" class="form-control" id="message" name="message">Wiadomość dotycząca: {name}</textarea></div>
</div>
</div>
</fieldset></form>

An error appears when trying to send "An error occurred while sending the message, please try again."

On the contact page, the contact form works and emails arrive and get sent. What could this be due to?

×
×
  • Create New...