Thank you page
Exclude optional modules from the Qliro thank you page.
excludeResultModules()
The thank you page has a set of modules. Use this function to hide optional modules on the thank you page.
Arguments
| Parameter | Type | Description | Required |
|---|---|---|---|
| modules | Array | An array of strings specifying which modules to exclude. See list of modules in the table below. | required |
Result modules
| Name | Description |
|---|---|
| HEADER | Header saying "Thank you for your purchase". |
| TOTAL_PRICE | Total price and order summary. |
| CUSTOMER_DETAILS | Customer contact details and address used in the purchase. |
| SHIPPING_METHOD | The selected shipping method. Will only be shown if Qliro Checkout handled the shipping. |
Implementation example
q1.excludeResultModules(['HEADER', 'TOTAL_PRICE', 'CUSTOMER_DETAILS'])