Displaying Order ID on checkout success page [closed] - opencart

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I'll like the order id to be echoed on checkout success page of an opencart store. How do I do this? There are similar threads to this but I've tried the suggestions offered, didn't work for me. So I'm including links to the relevant codes here:
My catalog/controller/checkout/success.php is at http://pastebin.com/wPWau0Kv
My /template/common/success.tpl is at http://pastebin.com/5Jfpkur0
Thanks.

I think in your $this->session->data['order_id']
there is ordrer_id stored so in controller you could passed with $data['order_id'] you have to just echo in tpl so code maybe something like this:
In controller:
$data['activity_data']=$activity_data;
And In Template above <div class="buttons">:
echo $activity_data['order_id'];

Related

Not able to fetch the image from database in django application [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 months ago.
Improve this question
In my application, I am able to fetch all the other contents like name description but instead of using the all code correctly and all things may be clear the images are not loading.. please help click to see image
try this:
<img src="/media/{{ dest.img.url }}">

I can't build gatsby on netlify. What could be the problem? working locally [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I tried many ways but it didn't work. Please help me :(
repo url : https://github.com/Kentico/gatsby-starter-kontent-lumen
image
It looks like you don't have the proper environment variables set.
Could you double-check if the KONTENT_PROJECT_ID and KONTENT_LANGUAGE_CODENAMES is set according to the netlify.toml in the repository on your Netlify site project?
https://docs.netlify.com/configure-builds/environment-variables/#declare-variables

Enabling flood protection for correct calculation of hotness score [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I have a flask app that calculates the hotness score for blog posts. However the app is susceptible to calculating wrong scores in case someone continuously refreshes a page through a script. How do I prevent this?
P.S.-New to everything. So please keep the lingo a bit basic. Thanks.
Try using cookies they store client data or introduce logins then use decorators.

Google Chart API QR Code don't work [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I try to generate a QR code with the Chart API. This works but when I try to read the QR code it doesn't recognize the text. When I try to read other QR codes it works fine. Here is the test URL: https://chart.googleapis.com/chart?cht=qr&chs=150x150&ch1=Test
The final parameter name is chl not ch1.

how to avoid links to http://static.ak.facebook.com/connect/xd_arbiter.php hanging indefinitely [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
We use Facebook comments and Facebook Like Buttons on our site. These somehow generate a call to http://static.ak.facebook.com/connect/xd_arbiter.php which never loads, leaving the impression that the page isn't loading. Is there a way to avoid having this script called?
Two ways,
write to Facebook and report the problem and suggest them to fix their Javascript
download their Javascript code that add button to the page, fix it and directly link to it from your server page.
Disadvantage of the last suggestion is that Facebook hosted Javascript code or back-end can be changed at any time and your old version of the script will not work.