- Tried on the default theme?
- What indicates the error logs based on the success page?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Follow this post: viewtopic.php?f=201&t=199112#p701724
This should resolved the misinformation.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
The standard contact form is functioning, I receive the emails, but after submitting the form it does not display the sent successful notification and it shows default page (with URL .../index.php?route=information/contact/success)
Does anyone have any idea what is causing this and how to fix that?
I have OC 3, default theme.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Let`s try something ... in the catalog/controller/information/contact.php file,
find:
Code: Select all
$data['store'] = $this->config->get('config_name');
Code: Select all
$data['text_success'] = false;
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
find:
Code: Select all
$this->response->redirect($this->url->link('information/contact/success'));
Code: Select all
$this->session->data['success'] = true;
Code: Select all
$data['continue'] = $this->url->link('common/home');
Code: Select all
if (!empty($this->session->data['success'])) {
$data['text_success'] = $this->language->get('text_success');
unset ($this->session->data['success']);
}
find:
Code: Select all
</ul>
Code: Select all
{% if text_success %}
<div class="alert alert-success alert-dismissible"><i class="fa fa-check-circle"></i> {{ text_success }}</div>
{% endif %}
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I have just tried your latest suggestion straightlight, (to add the code to the contact.php and success.twig files), but it still doesn't show the success message to me. I cleared the cache before a retry too.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 36 guests