Jump to content

How to edit order confirmation page


Recommended Posts

Thanks for your reply. Where in the file should I add the lines (links)?

 



<script type="text/javascript">
<!--
var baseDir = '{$base_dir_ssl}';
-->
</script>

{capture name=path}{l s='Order confirmation'}{/capture}
{include file="$tpl_dir./breadcrumb.tpl"}
{assign var='current_step' value='payment'}
{include file="$tpl_dir./order-steps.tpl"}
<div class="table_block">
<h2>{l s='Order confirmation'}</h2>

{include file="$tpl_dir./errors.tpl"}

{$HOOK_ORDER_CONFIRMATION}
{$HOOK_PAYMENT_RETURN}
<br />
{if $is_guest}
<p>{l s='Your order ID is:'} <span class="bold">{$id_order_formatted}</span> . {l s='Your order ID has been sent to your e-mail.'}</p>
<a href="{$link->getPageLink('guest-tracking.php', true)}?id_order={$id_order}" title="{l s='Follow my order'}"><img src="{$img_dir}icon/order.gif" alt="{l s='Follow my order'}" class="icon" /></a>
<a href="{$link->getPageLink('guest-tracking.php', true)}?id_order={$id_order}" title="{l s='Follow my order'}">{l s='Follow my order'}</a>
{else}
<a href="{$link->getPageLink('history.php', true)}" title="{l s='Back to orders'}"><img src="{$img_dir}icon/order.gif" alt="{l s='Back to orders'}" class="icon" /></a>
<a href="{$link->getPageLink('history.php', true)}" title="{l s='Back to orders'}">{l s='Back to orders'}</a>
{/if}
</div>

Link to comment
Share on other sites

  • 7 months later...

Hello, did you ever get this to work? I can't get the window to pop up...this is my code:

 

<script type="text/javascript">

//<![CDATA[

var baseDir = '{$base_dir_ssl}';

//]]>

</script>

{capture name=path}{l s='Order confirmation'}{/capture}

{include file="$tpl_dir./breadcrumb.tpl"}

<h1>{l s='Order confirmation'}</h1>

{assign var='current_step' value='payment'}

{include file="$tpl_dir./order-steps.tpl"}

{include file="$tpl_dir./errors.tpl"}

{$HOOK_ORDER_CONFIRMATION}

{$HOOK_PAYMENT_RETURN}

{if $is_guest}

<p>{l s='Your order ID is:'} <span class="bold">{$id_order_formatted}</span> . {l s='Your order ID has been sent to your e-mail.'}</p>

 

<ul class="footer_links">

<li><a href="{$link->getPageLink('guest-tracking.php', true)}?id_order={$id_order}" title="{l s='Follow my order'}"><img src="{$img_dir}icon/order.png" alt="{l s='Follow my order'}" class="icon" /></a><a href="{$link->getPageLink('guest-tracking.php', true)}?id_order={$id_order}" title="{l s='Follow my order'}">{l s='Follow my order'}</a></li>

</ul>

{else}

<ul class="footer_links">

<li><a href="{$link->getPageLink('history.php', true)}" title="{l s='Back to orders'}"><img src="{$img_dir}icon/order.png" alt="{l s='Back to orders'}" class="icon" /></a><a href="{$link->getPageLink('history.php', true)}" title="{l s='Back to orders'}">{l s='Back to orders'}</a></li>

</ul>

{/if}

<link rel="stylesheet" href="https://www.resellerratings.com/images/js/dhtml_survey.css" type="text/css" />

<script type="text/javascript">

seller_id = 50266;

document.write('<'+ 'script type="text/javascript" src="https://www.resellerratings.com/images/js/popup_include.js"><\/script>');

</script>

  • Like 1
Link to comment
Share on other sites

  • 6 months later...
  • 10 months later...

Hi to all.

 

I need to edit the same page mentioned above: "order confirmation" page.

Really I need to TRANSLATE it, since I have a multilanguages shop and I need to set italian text (and FR and DE).

 

Could you please suggest me which page (or modul) I have to edit to change dynamically the text inside the page?

If I edit order-confirmation.tpl replacing italian text, I will have the same problem for other languages.

 

Thank you very much.

 

Katya

Link to comment
Share on other sites

  • 5 years later...
  • 5 weeks later...
On 3/6/2020 at 8:35 AM, niketri said:

Hi everyone,

Can you tell me the path of the $HOOK_ORDER_CONFIRMATION hook or I want to replace the reference to order id so.

There is no real path of a hook. It implements the templates of the hooked modules inside it.

Imagine you put few jackets hanged on the same HOOK on the wall. You need to alter the jackets, the hook just holds them on place you have chosen. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...