Page 2 of 3

Re: Blank contact success page

Posted: Wed Nov 22, 2017 7:53 pm
by greenmountain802
I have used the code above (second post not first) and I'm still not seeing any Success Message whether logged in or not. I'm a new user to OC so please forgive ignorance If I'm missing something... I did double check and ensure all was inserted as directed, cleared cache and retried this sever times before resorting to posting here;)

Thanks in advance for any help you can provide me!!!

Re: Blank contact success page

Posted: Thu Nov 23, 2017 3:50 am
by straightlight
What were the steps applied for clearing the cache?

Re: Blank contact success page

Posted: Fri Jan 26, 2018 9:40 am
by ckeilitz
Fix
Post by straightlight ยป Sat Nov 04, 2017 10:38 am
worked for me after applying and clearing the caches!

Thank you guys, very helpful!

Re: Blank contact success page

Posted: Fri Mar 02, 2018 9:03 pm
by Livakee
straightlight, I tried 100 times, and no result. could you please help me?
OC Version 3.0.2.0
Cleared browser cache and cache from admin (modifications menu)

anything else? :(

Re: Blank contact success page

Posted: Sat Mar 10, 2018 6:06 am
by AllenFreeman
In 3.0.2.0, the fix to restore the success message does not require the changes outlined above. It's easier.

In success.twig :

Find:
{{ text_message }}

Replace with:
{{ text_success }}

Now if someone could tell me why I'm getting the "From" line with our admin email address instead of the submitter's email address (and no 'reply to' line either), that would be great. Right now the completed form comes in and we don't have any address to reply to...

Re: Blank contact success page

Posted: Sat Mar 10, 2018 7:08 am
by straightlight
In 3.0.2.0, the fix to restore the success message does not require the changes outlined above. It's easier.
Incorrect. The success page is accessible directly from the browser which means it does not track the success message during the contact us event but only when loading the page. Replacing the code on the above would still show the success message but not from the current event - in this case the contact us page. Please confirm before posting the assumption that my necessary posted code is, according to you, unnecessary. These codes have been posted for a purpose and this purpose to resolve the issue during the event before refreshing the page as it should be since the OP did reported an issue when submitting the form from the contact us page. These corrections have also been confirmed by previous users they are working accordingly on the topic.

As for the reply to address, the method is already instantiated from the catalog/controller/information/contact.php file. If the reply to address is not specified on your end from the email message after submitting the form, and since this issue is not about a major report by the forum users, then it is not an issue originating from Opencart in this case.

Re: Blank contact success page

Posted: Sat Mar 10, 2018 8:09 am
by AllenFreeman
Straightlight, I tried to solve the described issue following the instructions you posted, but it didn't work after multiple attempts.

Same for the person who posted his request above mine just a few days ago.

Trust me, I wanted your solution to work for me, but it didn't.

So I reverted to the original files, saw the difference that I pointed out, tested it, and it worked -- the success message appeared on the page after contact submission when it had not before.

If the only time the "route=information/contact/success" page appears is when a person submits the contact form (is that correct?), then it is a solution. And it's easy to implement.

As to your reply about the 'from' email address not showing for me: where might the reply-to address be specified on my end?

I didn't alter the setup of the contact form system for 3.0.2.0, it's simply an issue I'm finding...

Re: Blank contact success page

Posted: Sat Mar 10, 2018 8:38 am
by straightlight
Same for the person who posted his request above mine just a few days ago.

Trust me, I wanted your solution to work for me, but it didn't.
How can such analysis be trusted at this point when two other users are mentioning that the modifications do work?

viewtopic.php?f=201&t=199112#p701892
viewtopic.php?f=201&t=199112#p701902

A process could be tried over 1000 times and above but if other users indicates that it works, it is kind of obvious that for these users, it didn't took multiple times to try to implement it with the same OC release version.
If the only time the "route=information/contact/success" page appears is when a person submits the contact form (is that correct?)
Yes, that is correct.
As to your reply about the 'from' email address not showing for me: where might the reply-to address be specified on my end?
As indicated on my previous reply, if you cannot see the reply to email address while Opencart already instantiates it, then it is not an actual issue with Opencart.

Re: Blank contact success page

Posted: Sat Mar 10, 2018 9:30 pm
by AllenFreeman
Perhaps the previous users weren't using v 3.0.2.0 as I am?

There is nothing wrong with showing alternate solutions to the same problem. What I posted is a simple edit that works to address the initial question: how to get the contact success message to appear on the contact success page. And it does so without affecting any other page.

Occom's razor.

Re: Blank contact success page

Posted: Sun Apr 29, 2018 4:58 am
by moovolution
hello all,

I'm on version 3.0.2.0

I've done the steps provided by my success page is still empty.

I've attached my codes, please let me know if theres something that I've missed.

Thanks!

Re: Blank contact success page

Posted: Sun Apr 29, 2018 6:10 am
by moovolution
this is what i have for success.twig... cant upload the file...

{{ header }}
<div id="common-success" class="container">
<ul class="breadcrumb">
{% for breadcrumb in breadcrumbs %}
<li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
{% endfor %}
</ul>
{% if text_success %}
<div class="alert alert-success alert-dismissible"><i class="fa fa-check-circle"></i> {{ text_success }}</div>
{% endif %}
<div class="row">{{ column_left }}
{% if column_left and column_right %}
{% set class = 'col-sm-6' %}
{% elseif column_left or column_right %}
{% set class = 'col-sm-9' %}
{% else %}
{% set class = 'col-sm-12' %}
{% endif %}
<div id="content" class="{{ class }}">{{ content_top }}
<h1>{{ heading_title }}</h1>
{{ text_success }}
<div class="buttons">
<div class="pull-right"><a href="{{ continue }}" class="btn btn-primary">{{ button_continue }}</a></div>
</div>
{{ content_bottom }}</div>
{{ column_right }}</div>
</div>
{{ footer }}

Re: Blank contact success page

Posted: Sat May 05, 2018 5:25 am
by alex31oct
Not working in version 3.0.2.0,
Something going wrong

Re: Blank contact success page

Posted: Sun May 06, 2018 6:40 pm
by xxvirusxx
Just add this line before $data['continue'] = $this->url->link('common/home'); in public function success() { from catalog/controller/information/contact.php

Code: Select all

$data['text_message'] = $this->language->get('text_success');
Work without problems.

LE. Or just replace file in controller...

Re: Blank contact success page

Posted: Mon May 07, 2018 1:14 am
by alex31oct
Thanks man, You are helpful. Finally it's work. Thanks again :good:

Re: Blank contact success page

Posted: Mon May 21, 2018 4:25 pm
by gkradam
xxvirusxx wrote: โ†‘
Sun May 06, 2018 6:40 pm
Just add this line before $data['continue'] = $this->url->link('common/home'); in public function success() { from catalog/controller/information/contact.php .....
Worked for me too. Thanks!

Re: Blank contact success page

Posted: Mon Jul 30, 2018 6:29 pm
by Moutas
xxvirusxx wrote: โ†‘
Sun May 06, 2018 6:40 pm
Just add this line before $data['continue'] = $this->url->link('common/home'); in public function success() { from catalog/controller/information/contact.php

Code: Select all

$data['text_message'] = $this->language->get('text_success');
Work without problems.

THANK YOU SO MUCH!!!!!!!!!!!!!!!!!!!!!

Re: Blank contact success page

Posted: Sun Aug 26, 2018 8:06 pm
by tingwing
this is a bug of opencart3.0

the better solution is the follow

1)/catalog/language/en-gb/information/contact.php
find
'text_success'
and change to
'text_message'

2)edit system/config/catalog.php
comment the following lines which is at the bottom

from
'controller/*/after' => array(
'event/debug/after'
)

to
//'controller/*/after' => array(
// 'event/debug/after'
//)



###

Re: Blank contact success page

Posted: Sun Aug 26, 2018 8:11 pm
by tingwing
this is a bug of opencart3.0

the better solution is the follow

1)/catalog/language/en-gb/information/contact.php
find
'text_success'
and change to
'text_message'

2)edit system/config/catalog.php
comment the following lines which is at the bottom

from
'controller/*/after' => array(
'event/debug/after'
)

to
//'controller/*/after' => array(
// 'event/debug/after'
//)



###

Re: Blank contact success page

Posted: Mon Sep 24, 2018 8:49 pm
by one2012
tingwing wrote: โ†‘
Sun Aug 26, 2018 8:11 pm
this is a bug of opencart3.0

the better solution is the follow

1)/catalog/language/en-gb/information/contact.php
find
'text_success'
and change to
'text_message'

2)edit system/config/catalog.php
comment the following lines which is at the bottom

from
'controller/*/after' => array(
'event/debug/after'
)

to
//'controller/*/after' => array(
// 'event/debug/after'
//)



###
Thank you! This solution work for me.

Re: Blank contact success page

Posted: Tue Feb 19, 2019 10:17 pm
by leatherboy
Hi.
I have build some opencart 3.0.2.0 eshops with Journal 2 template.
In one of them I have the problem that contact form after submitting dispays an empty pop up and nothing else happens. It doesnt send an email to admin.
I checked and I replaced the related files from the workable site to the other. I tried everything you wrote here, but unfortunatelly it cannot fix this problem.
Nothing is written in error logs.
Is there any idea. Could someone just see the page and tell me his opinion?
Thanks