cyberpunk Posted January 9, 2016 Share Posted January 9, 2016 Hello I'm using PS 1.5.x.x and I'm having problem getting the order reference to show on confirmation page. I have a custom theme where I have altered the confirmation.tpl file heavily and I can't get {$order_name} to show now when I put it back. I've looked at the default order-confirmation.tpl file and I'm not sure what is missing for that variable to show? Do I need to include any other .tpl fil to be able to access order values? Link to comment Share on other sites More sharing options...
bellini13 Posted January 10, 2016 Share Posted January 10, 2016 What are you expecting {$order_name} to be? The default theme in PS v1.5 does not include any such variable. Link to comment Share on other sites More sharing options...
cyberpunk Posted January 10, 2016 Author Share Posted January 10, 2016 I find this line in the default order-confirmation.tpl file: <p>{l s='Your order ID is:'}<span class="bold">Order Id: {$order_name}</span> . {l s='Your order ID has been sent via email.'}</p> or is it: {$reference_order} I'm looking for? Link to comment Share on other sites More sharing options...
bellini13 Posted January 10, 2016 Share Posted January 10, 2016 Well you don't specify the exact version of Prestshop, so things could have changed. This is from PS 1.5.6.3, however it is the same all the way back to PS v1.5.1, so I suspect you have customized even the default theme. {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 via email.'}</p> <a href="{$link->getPageLink('guest-tracking', true, NULL, "id_order={$reference_order}&email={$email}")|escape:'html'}" 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', true, NULL, "id_order={$reference_order}&email={$email}")|escape:'html'}" title="{l s='Follow my order'}">{l s='Follow my order'}</a> {else} <a href="{$link->getPageLink('history', true)|escape:'html'}" 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', true)|escape:'html'}" title="{l s='Back to orders'}">{l s='Back to orders'}</a> {/if} Again, if you can simply say WHAT you are expecting to appear, I can probably help you 1 Link to comment Share on other sites More sharing options...
mrarnaud Posted January 26, 2016 Share Posted January 26, 2016 Hello, I saw some of your posts and I wanted to ask if you could help me out,I was testing an order and final phase after clicking "CONFIRM MY ORDER", I get a white page with a message "File Not Found" ...I copied the link:http://www.oakom-shop.com/it/index.php?controller=order-confirmation?id_cart=1172&id_module=1&id_order=129&key=8159217a9375f49d425b4bb833a02c39 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