Order confirmation TPL file name ?

My Adwords conversions are not showing up at all since one month. I am using the Version 3.0.2 and just wondering what the file name should be for the Order confirmation thank you page .tpl file.



order_confirmation.post.tpl or order_confirmation.override.tpl ? Cs-cart KB says order_confirmation.override.tpl but the top experts here say we must use order_confirmation.post.tpl



Just confused if the file name really matters? Also should we enclose the code in the {literal} tag ?



Will appreciate any help on this. Tearing my hair apart to get the code working.

Anyone who can help me on the above?

Suggest you always use 'post'. Override will flush any other addons that have pre or post definitions when it does the override. Hence it is kinder, and best practice, to use post for this.



You need use {literal} tags when your javascript contains '{' or '}' characters. If not, no need to use {literal}.

Just wondering if you solved you problem?

My conversion tracking via Hook is not working all of a sudden. No mater what I put in de file nothing is showing in my checkout complete page. My changes addon is active.

I have no idea what I'm doing wrong here.

Hope someone can help.



version 3,02

What is the filename you are using for the template hook and what is the content of the file?

Do you have any 3rd party addons installed that might be using an override rather than a post? This will override your changes and is why one should not use overrides if at all possible.

filename: order_confirmation.post.tpl



I checked for other overrides. There are none.

The content of the file is a tracking code. See below.

Witch is not working on the way it shoud by the way. I tested it in a block and for some reason it's not sending the order info.

This code has been in this hook for a long time and it has always worked fine as far as I know.



{}

{
TradeTracker Code }

{
}







{}

{
TradeTracker Code }

{
}

All looks correct. What is the path to the filename?

How did you verify no other addons using an override?

/home/gromonli/public_html/skins/basic/customer/addons/my_changes/hooks/checkout/order_confirmation.post.tpl



I did a seach for “order_confirmation” and found only my hook file

And you are using the 'basic' skin? I.e. you haven't set your system to use another skin for the customer view?



Beyond that, I don't have any suggestions. It would then require some detailed debugging/diagnostic to find out why that template is not being used.



Suggest you put the following at the top of your template:

```php


```

Then when you're on the checkout.complete page, do a view source and look for the comment.

I do this on most hook templates as a matter of course. Makes diagnostics much easier over time.

Thanks for you help and advice!

I did what you suggested but I cant find the the text in the checkout.complete page after placing it :-((



IS there a way to find out more?

@krola,



What permissions does your file have?

@ecom



0755

@krola,



OK. Do you use PRO version?

@ecom

I'm not sure. I think so. Def not ultimate.

@krola,



Please check through the following URL:



http://your_domain.com/?version

[color=#000000]CS-Cart: version [/color]3.0.2 PROFESSIONAL

@krola,



Hm. In this case we have no idea. Try to put the code directly to the “skins/basic/customer/views/checkout/complete.tpl” file and check if it works.

@ecom

That is really weird. That doesn't work either!

How is that possible.



I placed the code in a block in the order landingpage. Not the wa I wanted but ok. But now the code is not working.

Its sending {$order_info.order_id} as text and not the order ID.

I tried removing the {} as suggested bij tradetracker but that makes no differece then it sends $order_info.order_id

Any ideas??





{}

{
TradeTracker Code }

{
}







{}

{
TradeTracker Code }

{
}

If you used a html block then the template variables will not e interpreted. You need to use an html block with smarty support.



Did you clear the template cache (&ctpl) before you looked at it when putting it directly in complete.tpl?

Yes cleared the ctpl. makes no difference.



Is there another way to clear the cache? Maybe I should remove the cash file??

Never did that before



I really don't understand why this all worked before and now all of a sudden not any more.



I did recently have my hoster move my site to a dutch server to lessen upload time. Could that have something to do with it?