ayoko555 Posted February 23, 2012 Share Posted February 23, 2012 I would like to add links (resellerratings.com) on the final order confirmation page where customer can click and add reviews there. Which file should I edit this? Link to comment Share on other sites More sharing options...
tomerg3 Posted February 23, 2012 Share Posted February 23, 2012 order-confirmation.tpl in your theme folder. Don't forget to clear the smarty cache... 1 Link to comment Share on other sites More sharing options...
ayoko555 Posted February 23, 2012 Author Share Posted February 23, 2012 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 More sharing options...
tomerg3 Posted February 23, 2012 Share Posted February 23, 2012 Wherever you want the to show up..... Try, and see where they appear on the page {$HOOK_ORDER_CONFIRMATION} and {$HOOK_PAYMENT_RETURN} Will have the confirmation message from the actual payment module Link to comment Share on other sites More sharing options...
ninjaduck Posted September 25, 2012 Share Posted September 25, 2012 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> 1 Link to comment Share on other sites More sharing options...
magpole Posted April 16, 2013 Share Posted April 16, 2013 I am Curious how's this project going? Link to comment Share on other sites More sharing options...
katya.vettorello Posted March 11, 2014 Share Posted March 11, 2014 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 More sharing options...
dioniz Posted March 11, 2014 Share Posted March 11, 2014 In BO go to Localization>Translation, choose FO translations , template and click on language flag. Then find Order confirmation and translate text Link to comment Share on other sites More sharing options...
katya.vettorello Posted March 16, 2014 Share Posted March 16, 2014 Many thanks dioniz. Katya Link to comment Share on other sites More sharing options...
niketri Posted March 6, 2020 Share Posted March 6, 2020 (edited) 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. Edited March 6, 2020 by niketri (see edit history) Link to comment Share on other sites More sharing options...
GS VISION Posted April 5, 2020 Share Posted April 5, 2020 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now