d
Topic
Posts:
1
May 13, 2009

"Thank You" page template? This post is outdated

I'm looking to install some conversation tracking software on my store. The software I'm currently looking into needs access to order variables to dynamically generate the following javascript:
<script type="text/javascript">
var DOCUMENTGROUP='Shopping Cart';
var DOCUMENTNAME='Sale Thankyou Page';
var ACTION='01';
var AMOUNT='XXXXXX';
var ORDERID='XXXXXX';
var S_DISCOUNT='XXXXXX';
var S_TAX='XXXXXX';
var S_SHIPPING='XXXXXX';
var S_SKU='XXXXXX';
var S_UNITS='XXXXXX';
var S_AMOUNTS='XXXXXX';
</script>
Is it possible, on the final "thank you" page, to do something like the following with Liquid: var AMOUNT='{order.total_amount}'; for each of the XXXXX values listed above? Do we even have access to a the template that gets displayed on the last page? Is there even an "order" variable? If so, the information at http://wiki.shopify.com/VariableReference is lacking. Thanks! James
i
Replies
Posts:
2056
May 13, 2009
Tobias Lütke - Shopify CEO // http://twitter.com/tobi

Log in or sign up for an account to reply.

This thread has been closed! You will not be able to reply.