Form Case From Order ID

A form case is the database entry created whenever a CMS form is submitted, storing the snapshot of the user's field entries. This function returns the case data in an eCommerce setting when you have the order ID; it can be used to display the user's data in a confirmation alongside order information.

Written By Luke Wakefield

Last updated 2 days ago

Example

Example
{% function case_details = "modules/module_357/front_end/functions/v1/case_from_order_id", order_id: this.id %}

Purpose

This function can be fed an order ID, perhaps from a URL and returns the details of the form submission which was made as the order was created. This is useful in order confirmations and order detail layouts.