Home : OpenEdit SDK : Programming OpenEdit : ECommerce Setup : Thank You Page
Thank You Page
/store/thanks.html is presented to the user at the end of the checkout process:
Continue Shopping
thanks.html file contains:
<p><br><b><a href="$continueShoppingUrl">Continue shopping</a></b></p>
This provides a link back to the shopping page after an order is complete. You can set this to a custom page by adding this line to your _site.xconf in the root level or in the /store/_site.xconf file:
<page><property name="continueShoppingUrl">/somepage.html</property>
</page>
Hit Tracking
If you use tools such as Insight Metrics or Google Analytics you can add custom JavaScript to track how an order was delivered. The order page includes a file named
$pages.stream("/store/orders/ordermetrics.html")
That you can add your JavaScript code to.
